Update README to include contract summary usage
This commit is contained in:
parent
623381b2c3
commit
72b656fc15
14
README.md
14
README.md
@ -72,6 +72,20 @@ The default location for Ethereum is:
|
|||||||
2. In a separate terminal start listener (ipcDir location)
|
2. In a separate terminal start listener (ipcDir location)
|
||||||
- `godo populateBlocks -- --environment=<some-environment> --starting-number=<starting-block-number>`
|
- `godo populateBlocks -- --environment=<some-environment> --starting-number=<starting-block-number>`
|
||||||
|
|
||||||
|
## Retrieve Contract Attributes
|
||||||
|
|
||||||
|
1. Add contract ABI to contracts / environment directory:
|
||||||
|
```
|
||||||
|
vulcanizedb/
|
||||||
|
contracts/
|
||||||
|
public/
|
||||||
|
<contract-address>.json
|
||||||
|
private/
|
||||||
|
```
|
||||||
|
The name of the JSON file should correspond the contract's address.
|
||||||
|
2. Start watching the contract `godo watchContract -- --environment=<some-environment> --contract-hash=<contract-address>`
|
||||||
|
3. Request summary data `godo showContractSummary -- --environment=<some-environment> --contract-hash=<contract-address>`
|
||||||
|
|
||||||
### Configuring Additional Environments
|
### Configuring Additional Environments
|
||||||
|
|
||||||
You can create configuration files for additional environments.
|
You can create configuration files for additional environments.
|
||||||
|
Loading…
Reference in New Issue
Block a user