{"_id":"@adetante/explorer-besu-plugin","_rev":"7-bd4756d507de92f4a3b605799cc3f1e9","time":{"1.0.0":"2020-04-28T20:49:35.463Z","created":"2020-04-28T20:50:32.692Z","1.0.1":"2020-04-28T20:50:39.783Z","modified":"2022-04-04T11:29:02.259Z","1.0.2":"2020-04-29T21:30:01.065Z","1.0.3":"2020-04-30T12:25:39.945Z","1.0.4":"2020-08-12T21:11:09.326Z"},"name":"@adetante/explorer-besu-plugin","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.1":{"name":"@adetante/explorer-besu-plugin","version":"1.0.1","publisher":"adetante","pluginName":"besu","description":"Alethio Explorer plugin that provides support for Hyperledger Besu authentication","main":"dist/index.js","scripts":{"build":"npm run clean && npm run build-js-prod","build-dev":"npm run clean && npm run build-js-dev","watch":"webpack-runner --config=./webpack.config.dev.js --watch","clean":"rimraf ./dist","build-js-prod":"webpack --config=./webpack.config.prod.js","build-js-dev":"webpack --config=./webpack.config.dev.js","prepare":"npm run build"},"author":{"name":"Antoine Detante","email":"antoine.detante@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/adetante/explorer-besu-plugin.git"},"publishConfig":{"access":"public"},"keywords":["ethereum","alethio","explorer","besu","hyperledger"],"engines":{"@alethio/cms":"^1.0.0-beta.12"},"devDependencies":{"@types/react":"^16.8.12","@types/react-dom":"^16.8.3","@types/webpack-env":"^1.13.0","fork-ts-checker-webpack-plugin":"^0.4.15","mobx":"^5.15.4","mobx-react":"^5.4.4","plugin-api":"npm:@alethio/cms-plugin-api@^1.0.0-beta.12","react":"^16.13.1","react-dom":"^16.13.1","rimraf":"^2.6.3","source-map-loader":"^0.2.3","source-map-support":"^0.4.14","styled-components":"^3.4.2","ts-loader":"^4.4.2","tslib":"^1.9.3","tslint":"^5.15.0","typescript":"^3.4.1","typescript-styled-plugin":"^0.14.0","typescript-tslint-plugin":"^0.3.1","uglifyjs-webpack-plugin":"^1.2.5","web3-eth":"^1.2.7","webpack":"^4.29.6","webpack-cli":"^3.1.2","webpack-runner":"^3.1.0"},"dependencies":{"@alethio/explorer-ui":"^1.0.0","@alethio/ui":"^1.1.1"},"gitHead":"d33a1ad0c6109d34305fddec15c9bd115acdeb48","bugs":{"url":"https://github.com/adetante/explorer-besu-plugin/issues"},"homepage":"https://github.com/adetante/explorer-besu-plugin#readme","_id":"@adetante/explorer-besu-plugin@1.0.1","_nodeVersion":"14.0.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-otyH4Y0/ly9EU78i/sQMTV8OINfOiXuBejC87e2lE98V20e1UFmOJ9S15ZjKrAofWy/S0qVVnG0eJ04r9ZAntA==","shasum":"fe126b2edefa01a55fde4d88d6208853059ff19c","tarball":"https://registry.npmjs.org/@adetante/explorer-besu-plugin/-/explorer-besu-plugin-1.0.1.tgz","fileCount":7,"unpackedSize":86128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqJcgCRA9TVsSAnZWagAAHHMP/1jJPbKevt38bAkE6Sv/\nJs4UViZ2CiHYpnPVQ4fsN+XVpgYc9w29y+DCzRQn9Twad7aqIee2o+q+KSRa\n6RfZfxujJzveZpB91fKukmPJzINzZAV2kNH6QPzyKoMp1dvhpN+BTvW5pf7x\ng8mDR4AxwKE58a+xUqjCCfN7Cy8PL97QLFDB72FwMBHmeVbLYUO9YFHsHeGj\n2k6iriORDIxUHRQPApii0v8Wp0m73dCQvTCj+vsMKJdz9Vt2+JvIzXMA7jpF\nIodPMsK2kxun4yS1wfDVwCJn4xMsuYqOl53bhhD6cmGeW/eoFKSqv9b8Um3Q\nLaBWT+iBY7UQXw/K8s59oXTarZuHmBKBzBFY7vP0MNx7/IT7hwhoohwtbXum\noOrsuCMhcc6i4XpM7XAHlWkzEDqEOHOAhJgUqnNxp7AFqWPPKVNeozOv96Qf\n5yS2/KzetIFD6ejE15Pg7yF4rp7CcK5sT75Og07jMIKdBgmDCeM7cWJ3e9pE\nQ/J2d+Pozkt88Qjg4CauhB8d2whULZLCBKRGqAPeuFYLmQpvb28lRvGjyDXV\nPa9hekPKA8FGOmeHSLREP3Z5AOO2uXqQmTWrHJVgFMYs3ztxizWFKfV3eudG\n9PSlTtQjg3Qwq4znnWi2S+OXwQdKaejs4/BNi6QUHOC+6QC1o8etq4hyzxHZ\npebb\r\n=+7nS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG/oqqXjFlth/tlAInvv6oqxUodhGCfPIR7jwlWDqVrsAiBWZkeQUjJvc0r2yOUmYwDszb2qV3aa7S7Nsy0CQFjuCA=="}]},"maintainers":[{"name":"adetante","email":"antoine.detante@gmail.com"}],"_npmUser":{"name":"adetante","email":"antoine.detante@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/explorer-besu-plugin_1.0.1_1588107032783_0.5012681972053505"},"_hasShrinkwrap":false},"1.0.2":{"name":"@adetante/explorer-besu-plugin","version":"1.0.2","publisher":"adetante","pluginName":"besu","description":"Alethio Explorer plugin that provides support for Hyperledger Besu authentication","main":"dist/index.js","scripts":{"build":"npm run clean && npm run build-js-prod","build-dev":"npm run clean && npm run build-js-dev","watch":"webpack-runner --config=./webpack.config.dev.js --watch","clean":"rimraf ./dist","build-js-prod":"webpack --config=./webpack.config.prod.js","build-js-dev":"webpack --config=./webpack.config.dev.js","prepare":"npm run build"},"author":{"name":"Antoine Detante","email":"antoine.detante@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/adetante/explorer-besu-plugin.git"},"publishConfig":{"access":"public"},"keywords":["ethereum","alethio","block explorer","besu","web3"],"engines":{"@alethio/cms":"^1.0.0-beta.12"},"devDependencies":{"@types/react":"^16.8.12","@types/react-dom":"^16.8.3","@types/webpack-env":"^1.13.0","fork-ts-checker-webpack-plugin":"^0.4.15","mobx":"^5.15.4","mobx-react":"^5.4.4","plugin-api":"npm:@alethio/cms-plugin-api@^1.0.0-beta.8","react":"^16.13.1","react-dom":"^16.13.1","rimraf":"^2.6.3","source-map-loader":"^0.2.3","source-map-support":"^0.4.14","styled-components":"^3.4.10","ts-loader":"^4.4.2","tslib":"^1.9.3","tslint":"^5.15.0","typescript":"^3.4.1","typescript-styled-plugin":"^0.14.0","typescript-tslint-plugin":"^0.3.1","uglifyjs-webpack-plugin":"^1.2.5","web3-eth":"^1.2.7","webpack":"^4.29.6","webpack-cli":"^3.1.2","webpack-runner":"^3.1.0"},"dependencies":{"@alethio/ui":"^2.0.0-beta.0"},"gitHead":"766ceb1159a5cda66b67b72d9462fe1168fa8545","bugs":{"url":"https://github.com/adetante/explorer-besu-plugin/issues"},"homepage":"https://github.com/adetante/explorer-besu-plugin#readme","_id":"@adetante/explorer-besu-plugin@1.0.2","_nodeVersion":"14.0.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-B+1i5T2IOrL+moxK4n3FCVjjKQW8GNulzJDCtu1E+FFgbJJjIbxTjQhg3oX6lSKeOd7h+UwIksK55r1BU2lb0A==","shasum":"53a6a9dc739625c76c2cf7e2bd7d28ff9e72b8a4","tarball":"https://registry.npmjs.org/@adetante/explorer-besu-plugin/-/explorer-besu-plugin-1.0.2.tgz","fileCount":7,"unpackedSize":583444,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqfHaCRA9TVsSAnZWagAAD38QAJNlYZBWz/gc7Nw0akAm\nn7MI0YYWcH1w48u8W1FrzS4h59oAQ/R6u2C7sUfBvVRqOcFMkvE4dmur7pDq\nObgp/cjrBlSRDOV4urmyOELVGfl535JJN0o+mkcwb19h4B5963rgDvD0kBrP\ntPmrDlm9YaIP5aFqIQmusfpl4M2srdWOUAK7g3C/LaE5Hw/84lXIWxBjtX7m\nisCJj4x7vQ99uaSSLzjb3qpbDTOsWl1rKYnJF7lSGMViZozqQJ/rNOqVbCS9\nd2Ow0LeHzYPsVHpE7JCbe4vCIZMIb2wiRSJWdBO8UfpYwN6hLSjtCtLzHkoB\n7oVknXdn6vvtMA0AYiHN+/pdtkPr/s/iMN9uaRXXM1Na+3Iu/TTgoVHLLxsn\niLV+klgqncLSzPz14qL18kihraDA9Ycs4qWwOtEwJ7UZ2+SkFw0drq5rl1HO\nINM+T+fQQa5Dv0sLUTuPczp7DRYs0ukIOK3tiGyccJ/su1Esmz1XFx8UH1En\ng6LtHCl9Um008+s63+7t4QLhQXtjLgkzPMotqmU+L/Y3Ykf9HGRSS/VihICE\noHeQyNXogWvAd5l90BmhhkU+Bw3o80dGPUtgiSgFhCrd2G3GkRCEXcPKFYzg\nQBg+wKlLracqdI+Hsbq2kDlLT9s7SczRlClmdK+ljbP1j960rl9EEthfoTyi\nW1Z0\r\n=rZbx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICGnOKGUYGmXRY39DiaKA3/BP0LdMPtQFaOYXpCk+dDRAiAuLMIIbriu0uBoF06vInlnozq6BAFayf+vuvXFO0t2cQ=="}]},"maintainers":[{"name":"adetante","email":"antoine.detante@gmail.com"}],"_npmUser":{"name":"adetante","email":"antoine.detante@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/explorer-besu-plugin_1.0.2_1588195800899_0.9816338507165698"},"_hasShrinkwrap":false},"1.0.3":{"name":"@adetante/explorer-besu-plugin","version":"1.0.3","publisher":"adetante","pluginName":"besu","description":"Alethio Explorer plugin that provides support for Hyperledger Besu authentication","main":"dist/index.js","scripts":{"build":"npm run clean && npm run build-js-prod","build-dev":"npm run clean && npm run build-js-dev","watch":"webpack-runner --config=./webpack.config.dev.js --watch","clean":"rimraf ./dist","build-js-prod":"webpack --config=./webpack.config.prod.js","build-js-dev":"webpack --config=./webpack.config.dev.js","prepare":"npm run build"},"author":{"name":"Antoine Detante","email":"antoine.detante@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/adetante/explorer-besu-plugin.git"},"publishConfig":{"access":"public"},"keywords":["ethereum","alethio","block explorer","besu","web3"],"engines":{"@alethio/cms":"^1.0.0-beta.12"},"devDependencies":{"@types/react":"^16.8.12","@types/react-dom":"^16.8.3","@types/webpack-env":"^1.13.0","fork-ts-checker-webpack-plugin":"^0.4.15","mobx":"^5.15.4","mobx-react":"^5.4.4","plugin-api":"npm:@alethio/cms-plugin-api@^1.0.0-beta.8","react":"^16.13.1","react-dom":"^16.13.1","rimraf":"^2.6.3","source-map-loader":"^0.2.3","source-map-support":"^0.4.14","styled-components":"^3.4.10","ts-loader":"^4.4.2","tslib":"^1.9.3","tslint":"^5.15.0","typescript":"^3.4.1","typescript-styled-plugin":"^0.14.0","typescript-tslint-plugin":"^0.3.1","uglifyjs-webpack-plugin":"^1.2.5","web3-eth":"^1.2.7","webpack":"^4.29.6","webpack-cli":"^3.1.2","webpack-runner":"^3.1.0"},"dependencies":{"@alethio/ui":"^2.0.0-beta.0"},"gitHead":"95218802cdf4d7ca3cbdc4967440af3f0333eabc","bugs":{"url":"https://github.com/adetante/explorer-besu-plugin/issues"},"homepage":"https://github.com/adetante/explorer-besu-plugin#readme","_id":"@adetante/explorer-besu-plugin@1.0.3","_nodeVersion":"14.0.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-1MXUAt4sRFTiFf36RCGzG4O6aQKrM0TOm1oWSt58TeKVix/aSDF8+DsGIRAyZkXnv2bSePQrgF/JIRbVL/D0Zg==","shasum":"7d3611158ae5f3427ec9425b2424c0b06d53fe94","tarball":"https://registry.npmjs.org/@adetante/explorer-besu-plugin/-/explorer-besu-plugin-1.0.3.tgz","fileCount":9,"unpackedSize":583602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqsPECRA9TVsSAnZWagAAJR8QAIS2BdCkMXG67mQ/ld7N\nhGiVWm0gZEFxR0fC+bVAh7/41phzrYFQFoNsAmmqn8fGHZlEjwjoHCtbW8LW\nsaGeYHWceWQMR0dWIHshNMjI/poKUPmbpfRzwMov4GKECGOSio++ooOiQUKQ\nE5KmdGI4551fvfmx7/+08FFyrG5JsxwmKpDYy+fDtG3axDiFrgZsg05PaZwg\nAsvPTwTlQQ47D92iHwiNKKKA5EeDAKjBUx7EuWVUITuAwQ7u5bj8uwAqAggI\nrL36c6uYHWYvYenEzZusIvu6XcxAMVcQ8ysSKGNq4QjuPa7feu+usNijVX7Z\nteyok7Uu9gjzIvpdFVMgj80YhctRi1yr9VmjmEjkU3TYmkcDdp/gZbmuWVkF\nGtA88BBH2d+0v9fEZ0a8qKA1lw5vG558MkHnXBuWPIjCsDWkwpIswmIYI52f\nUKeTOxcHW+9Icb6jobmrc5UuWZPioJ8XsUi3rpE4DCYLV1sgBQHChob1nwtZ\nbBSgrGcLk128PpVO8oac4RMNUaPaWus5rjkgnpUJRvHXN0I9Mjr6o3AYfG6H\nxWIDgcTKRSdmu0R3/A/sVje+nqUHF7IT9j9WOcrNeS22cBNtPvo2+NX9CCK1\nakZKGFavgHAujAkGcxt7e5IaOc+L5xy8T9+t8X7JtSqLwsLPTMcY8Pwi1iRx\n+w28\r\n=wYE+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC6GoqOiINlxhqxMGkuAncxnGXcW6GgtQWKSvPuUnYVCAiB8ATMTtuDN07q6Mm7dj9LJHEZI+Xnk/i5m6UamPkWi2A=="}]},"maintainers":[{"name":"adetante","email":"antoine.detante@gmail.com"}],"_npmUser":{"name":"adetante","email":"antoine.detante@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/explorer-besu-plugin_1.0.3_1588249539698_0.19793908312175756"},"_hasShrinkwrap":false},"1.0.4":{"name":"@adetante/explorer-besu-plugin","version":"1.0.4","publisher":"adetante","pluginName":"besu","description":"Alethio Explorer plugin that provides support for Hyperledger Besu authentication","main":"dist/index.js","scripts":{"build":"npm run clean && npm run build-js-prod","build-dev":"npm run clean && npm run build-js-dev","watch":"webpack-runner --config=./webpack.config.dev.js --watch","clean":"rimraf ./dist","build-js-prod":"webpack --config=./webpack.config.prod.js","build-js-dev":"webpack --config=./webpack.config.dev.js","prepare":"npm run build"},"author":{"name":"Antoine Detante","email":"antoine.detante@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/adetante/explorer-besu-plugin.git"},"publishConfig":{"access":"public"},"keywords":["ethereum","alethio","block explorer","besu","web3"],"engines":{"@alethio/cms":"^1.0.0-beta.12"},"devDependencies":{"@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@types/webpack-env":"^1.13.0","fork-ts-checker-webpack-plugin":"^0.4.15","mobx":"^5.15.5","mobx-react":"^5.4.4","plugin-api":"npm:@alethio/cms-plugin-api@^1.0.0-beta.8","react":"^16.13.1","react-dom":"^16.13.1","rimraf":"^2.6.3","source-map-loader":"^0.2.3","source-map-support":"^0.4.14","styled-components":"^3.4.10","ts-loader":"^4.4.2","tslib":"^1.13.0","tslint":"^5.15.0","typescript":"^3.9.7","typescript-styled-plugin":"^0.14.0","typescript-tslint-plugin":"^0.3.1","uglifyjs-webpack-plugin":"^1.2.5","web3-eth":"^1.2.11","webpack":"^4.44.1","webpack-cli":"^3.3.12","webpack-runner":"^3.1.0"},"dependencies":{"@alethio/ui":"^2.0.0-dev.17"},"gitHead":"7918d261b360c3b1eec76aad20fb7a22cd155f95","bugs":{"url":"https://github.com/adetante/explorer-besu-plugin/issues"},"homepage":"https://github.com/adetante/explorer-besu-plugin#readme","_id":"@adetante/explorer-besu-plugin@1.0.4","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-P+M0z5dg06nSPDYc2ABztBfRJBistvPtYsULjXRVlbg6RySkZ+7WvjM6Ms4E9Wqg3pfGjb4T38jqDZX5+X5heA==","shasum":"c0b7f2ec323de8ef2bc1c054b7ec39030b207c34","tarball":"https://registry.npmjs.org/@adetante/explorer-besu-plugin/-/explorer-besu-plugin-1.0.4.tgz","fileCount":9,"unpackedSize":585346,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNFrtCRA9TVsSAnZWagAAnTgP/3T9nKKNk/o35eOXbvXP\nN15JYihShm4eSf3SZQWolxepeVqVK54TliewKMkoyxhR7SJPkZyaMDhyv/Nm\nuNbIOPWSg2EBXsLD21GgPpnNUV3sLUoXUL4etDsxogZ9a7Fb3SR1vvZBUakP\n/Mzn0n/g9hubevZT0XAKDufwvgX1OPVrHo44n35+YtxausqHEUr9DEnuESGK\nzge5WUpB1TtDW/ZXnQjzJWwL2fuZy/TzcD7ztD4vaKHX4km1TbCQggC/tj+U\nu3VLm3T8cWRTCk6/wVZvcvUQ9LbHcAA0GgcK5I5pMiI/3QWN6/buCAcGxugR\n2dvqP96ZETE4O34an15l5tamgcIJIC34oLk1ESlVuXCMzrR08o+CXKe0ly14\nxXjYZ6iZilNarQM5+OnO+MlQm1+DGY49JKx8LgcT0Ai0qN5Yv1+X2ASDUkbI\nuBLWdi77W64LTrWxVTXEELqfcrcZ6MafG4nxFtjVDMN0lt0ZI4geHGHRscOT\n//ww3X6U/qFUNsD4p1hgbyaPzRaC3IByuk/k+B+9fWLRobCNvGN54UQq/YtO\nCdzV8UmU1zpxq0bQQDfj5113bAS2O2lBBPCwOTIEgXJ0b4XeiDzxvAT1T10x\nQoB0dUsJtTelPr+TXsVqi3FeYp0hPTT8KKpuqRxkMJKE4Cr9nO6fQoX37Hdd\nLlQ5\r\n=i2Px\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCN6hHpJBnDm1Flf2CwtDsC+ChDIUWTxNUgH0PhwcNZfgIhAOYkVVFv6Q4q56wNP4hauw7G6RCl5NAj+rnzF7UJDsbJ"}]},"maintainers":[{"name":"adetante","email":"antoine.detante@gmail.com"}],"_npmUser":{"name":"adetante","email":"antoine.detante@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/explorer-besu-plugin_1.0.4_1597266669156_0.3717146628459014"},"_hasShrinkwrap":false}},"maintainers":[{"name":"adetante","email":"antoine.detante@gmail.com"}],"description":"Alethio Explorer plugin that provides support for Hyperledger Besu authentication","homepage":"https://github.com/adetante/explorer-besu-plugin#readme","keywords":["ethereum","alethio","block explorer","besu","web3"],"repository":{"type":"git","url":"git+https://github.com/adetante/explorer-besu-plugin.git"},"author":{"name":"Antoine Detante","email":"antoine.detante@gmail.com"},"bugs":{"url":"https://github.com/adetante/explorer-besu-plugin/issues"},"license":"MIT","readme":"# explorer-besu-plugin\n\n![Build](https://github.com/adetante/explorer-besu-plugin/workflows/Build/badge.svg)\n\n[Alethio Explorer](https://github.com/Alethio/ethereum-lite-explorer) plugin that provides support for Hyperledger Besu authentication.\n\n[Hyperledger Besu supports authentication on JSON-RPC endpoint](https://besu.hyperledger.org/en/stable/HowTo/Interact/APIs/Authentication/) using a Bearer token in the `Authorization` header of JSON-RPC requests.\n\nThis plugin overrides the eth-lite `Web3DataSource` to handle Besu authentication and inject the authentication header.\n\nUsername and password are kept in memory to refresh the token every 4 minutes (Besu tokens expire after 5 minutes).\n\n## Installation instruction\n\nSee [Alethio Lite Explorer documentation](https://github.com/Alethio/ethereum-lite-explorer/blob/master/README.md) for the complete build procedure.\n\nThe main steps are:\n```\n# Clone ethereum-lite-explorer master branch\ngit clone git@github.com:Alethio/ethereum-lite-explorer.git\n# Build\nnpm install\nnpm run build\n# Install plugins\nnpm i -g @alethio/cms-plugin-tool\nacp install \\\n    @alethio/explorer-plugin-eth-common \\\n    @alethio/explorer-plugin-eth-lite \\\n    @alethio/explorer-plugin-3box \\\n    @adetante/explorer-besu-plugin\n# Copy/edit config.json to dist/ directory (see next section)\n```\n\n## Configuration\n\n> :warning: **As eth-lite plugin requires the authentication data adapter to be available during initialization, this plugin must be loaded BEFORE `plugin://aleth.io/eth-lite` in the plugins configuration.**\n\nIn `config.json`, add the following plugin definition:\n```\n\"plugins\": [\n    ...\n    {\n        \"uri\": \"plugin://adetante/besu?v=1.0.4,\n        \"config\": {\n            \"loginUrl\": \"https://my_besu_node/login\"\n        }\n    }\n    ...\n]\n```\n\n\n* `loginUrl` is the login endpoint.\n When using [Besu default username/password authentication](https://besu.hyperledger.org/en/stable/HowTo/Interact/APIs/Authentication/#username-and-password-authentication), this URL is the JSON-RPC HTTP url with `/login` suffix.\n If you use [Besu JWT public key authentication](https://besu.hyperledger.org/en/stable/HowTo/Interact/APIs/Authentication/#jwt-public-key-authentication), this URL can point to your own token distribution endpoint. Your login endpoint must accept `POST` requests with body `{ \"username\": \"xxx\", \"password\": \"xxx\" }` and return a JSON response with `{ \"token\": \"xxx\" }`\n\nUpdate the `plugin://aleth.io/eth-lite` configuration with the link to the new data adapter:\n```\n\"plugins\": [\n    ...,\n    {\n        \"uri\": \"plugin://aleth.io/eth-lite?v=4.2.0\",\n        \"config\": {\n            \"nodeUrl\": \"https://my_besu_node\",\n            \"authStoreUri\": \"adapter://adetante/besu/auth-store\"\n        }\n    },\n    ...\n]\n```\n\n* Add the `authStoreUri` attribute to the eth-lite configuration with the value `adapter://adetante/besu/auth-store` to link eth-lite to this plugin\n\n## Required Besu permissions\n\nThe minimum [JSON-RPC permissions](https://besu.hyperledger.org/en/stable/HowTo/Interact/APIs/Authentication/#json-rpc-permissions) required to use Alethio Explorer are:\n\n```\npermissions = [\n    \"eth:getBlockByHash\",\n    \"eth:getBlockByNumber\",\n    \"eth:getBlockTransactionCountByHash\",\n    \"eth:getBlockTransactionCountByNumber\",\n    \"eth:blockNumber\",\n    \"eth:getTransactionByHash\",\n    \"eth:getTransactionReceipt\",\n    \"eth:getBalance\",\n    \"eth:getCode\",\n    \"eth:getUncleByBlockHashAndIndex\",\n    \"eth:getUncleByBlockNumberAndIndex\",\n    \"net:peerCount\"\n]\n```\n\nTo be defined in the Besu `toml` credentials file.\n\n## Running in Docker\n\nA Docker image based on [ethereum-lite-explorer](https://hub.docker.com/r/alethio/ethereum-lite-explorer) is available on [Docker Hub](https://hub.docker.com/r/adetante/explorer-besu-plugin).\n\nJust run\n\n```\n$ docker run -e APP_NODE_URL=\"https://my_besu_node\" -p 80:80 adetante/explorer-besu-plugin:1.0.4\n```\n\nwith the environment variable `APP_NODE_URL` referring to the JSON-RPC endpoint of Besu node.\n\nThis image uses the default `config.json` file, and sets `${APP_NODE_URL}` as `nodeUrl` for `eth-lite` plugin and `${APP_NODE_URL}/login` as `loginUrl` for Besu plugin. You can override `config.json` by mounting a custom configuration file in `/usr/share/nginx/html/config.json` (see [Alethio Explorer: Running in Docker](https://github.com/Alethio/ethereum-lite-explorer#running-in-docker))\n","readmeFilename":"README.md"}