Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fvictorio/ganache-explorer-poc
A proof of concept of a frontend-only block explorer for ganache
https://github.com/fvictorio/ganache-explorer-poc
blockchain ethereum ganache ganache-cli react
Last synced: 21 days ago
JSON representation
A proof of concept of a frontend-only block explorer for ganache
- Host: GitHub
- URL: https://github.com/fvictorio/ganache-explorer-poc
- Owner: fvictorio
- Created: 2020-01-26T04:15:56.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-27T14:09:56.000Z (almost 5 years ago)
- Last Synced: 2024-10-07T23:21:33.335Z (about 1 month ago)
- Topics: blockchain, ethereum, ganache, ganache-cli, react
- Language: TypeScript
- Homepage:
- Size: 329 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A proof of concept of a frontend-only block explorer for ganache.
## Demo
See live demo at https://ganache-explorer-poc.fvictorio.now.sh/
## Usage
Go to the configuration tab and set the RPC URL of your local instance (`http://localhost:8545` is used by default).
### Known ABIs
You can also add known ABIs. When a transaction is inspected, all events that belong to a known ABI will be properly parsed.
### Known addresses
There's a sort of "address book" where you can associate names to addresses. These names show up in the "From" and "To" fields of the transaction. (It would be nice to also show them in the parsed events data).
## Integration with MetaMask
Add a custom network in MetaMask and use `https://ganache-explorer-poc.fvictorio.now.sh/#` as the explorer (the trailing `#` is important!). That way you can open transactions in the explorer directly from MetaMask.
**For this to work, you need to use an RPC URL different from `http://localhost:8545`**, because that URL comes by default with MetaMask and cannot be edited. You can start ganache in another port by doing `ganache-cli -p 8555`.