https://github.com/smitrajput/pay-no-load
A plugin for the Alethio Ethereum lite-explorer
https://github.com/smitrajput/pay-no-load
Last synced: 19 days ago
JSON representation
A plugin for the Alethio Ethereum lite-explorer
- Host: GitHub
- URL: https://github.com/smitrajput/pay-no-load
- Owner: smitrajput
- Created: 2019-07-10T09:40:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T07:39:15.000Z (over 2 years ago)
- Last Synced: 2025-04-13T20:13:00.467Z (19 days ago)
- Language: TypeScript
- Homepage:
- Size: 11.3 MB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pay-no-load
A plugin for the Alethio Ethereum lite-explorer
---
:tada::tada::tada::tada:
![]()
## Setting up the lite-explorer and the plugin
1. Clone the lite-explorer repo, and run the following commands in your terminal, one by one :
```javascript
$ git clone https://github.com/Alethio/ethereum-lite-explorer.git
$ cd ethereum-lite-explorer
$ npm install
$ cp config.default.json config.dev.json
```2. Remove the version query strings `?v=#.#.#` from the "plugins" URIs in `config.dev.json`.
3. Build the lite-explorer:
`npm run build`4. 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
```7. 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](https://developers.aleth.io/)):
```json
"plugins": {
"plugin://aleth.io/eth-common": {
},
"plugin://aleth.io/payts": {
"alethio_api_key": "your_API_key"
}
},
```Add the page definition :
```json
{
"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:
```json
{
"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",
```8. Enter `npm run start` in the terminal while inside the `ethereum-lite-explorer` directory. The page with URL `http://localhost:3000/` will open automatically, showing the lite-explorer home page. Click on `Click here` below the search bar, to access the pay-no-load plugin.
## Features
---
### Displays:
#### 1. token contract metadata (i.e. total supply, symbol, decimals, etc.)
#### 2. all token balances for a given wallet address
#### 3. latest transactions from/to a contract address
#### 4. _decoded payloads (parameters/arguments) of transactions_ [most IMPORTANT feature; hence the repo name ;-)]
Made with ❤️ by Smit Rajput • Akash • Tezan Sahu
```