🎉🎉🎉🎉
-
Clone the lite-explorer repo, and run the following commands in your terminal, one by one :
$ git clone https://github.com/Alethio/ethereum-lite-explorer.git $ cd ethereum-lite-explorer $ npm install $ cp config.default.json config.dev.json
-
Remove the version query strings
?v=#.#.#
from the "plugins" URIs inconfig.dev.json
. -
Build the lite-explorer:
npm run build
-
Now, in another terminal tab, while inside ethereum-lite-explorer install
cms-plugin-tool
and the plugins by running:npm i -g @alethio/[email protected] acp install --dev \ @alethio/explorer-plugin-eth-common \ @alethio/explorer-plugin-eth-lite \ @alethio/explorer-plugin-3box acp install --dev smitrajput/pay-no-load
-
Now, inside the file
config.dev.json
in the lite-explorer repo, add the module and page definations for loading the module :Add the plugin and your Alethio API Key (Can be obtained here):
"plugins": { "plugin://aleth.io/eth-common": { }, "plugin://aleth.io/payts": { "alethio_api_key": "your_API_key" } },
Add the page definition :
{ "def": "page://aleth.io/payts/profile-page", "children": { "content": [{ "def": "module://aleth.io/payts/profile" }] } }
Add a clickable on the home page by inserting the line
{ "def": "module://aleth.io/payts/home-link" },
in:{ "def": "page://aleth.io/dashboard", "children": { "content": [ { "def": "module://aleth.io/search" }, { "def": "module://aleth.io/payts/home-link" }, { "def": "context://aleth.io/dashboard/latestBlockRange",
-
Enter
npm run start
in the terminal while inside theethereum-lite-explorer
directory. The page with URLhttp://localhost:3000/
will open automatically, showing the lite-explorer home page. Click onClick here
below the search bar, to access the pay-no-load plugin.
4. decoded payloads (parameters/arguments) of transactions [most IMPORTANT feature; hence the repo name ;-)]
Made with ❤️ by Smit Rajput • Akash • Tezan Sahu ```