Add statistics to the ethereum and cmt demo sites
juntao opened this issue · 2 comments
juntao commented
The demo sites should say how many ABIs and how many contracts are indexed so far.
tpmccallum commented
tpmccallum commented
This is now part of the es-ss.js
These values can be accessed via a single command (with the API taking care of the index location/name as well as the authentication/access control).
Just returns a single integer to the es-ss.js call
https://github.com/second-state/es-ss.js#get-abi-count
https://github.com/second-state/es-ss.js#get-all-count
https://github.com/second-state/es-ss.js#get-contract-count
These can now bee seen on both CMT TestNet [1] and ETH MainNet [2]
[1] https://cmt-testnet.search.secondstate.io/
[2] https://ethereum.search.secondstate.io/ethIndex.html