Process TheIndex schemas over EVM index data in scale.
A schema is a simple JavaScript file that is executed by TheIndex engine.
See several examples for schemas here.
The API available to you is documented here.
npm install
npm run rlp-read ~/go/src/github.com/orbs-network/the-index-go-ethereum/the-index/blocks-00001.rlp
-
Populate
src/schema-indexer/test/data
with test data:scp -i ssh.pem "[email protected]:/data/the-index/*" src/schema-indexer/test/data
Here is a small amount of test data from Ethereum mainnet (up until block 4,000,000 approx) - zip
-
List all available test schemas:
npm run test-schema
-
Run one of the test schemas:
npm run test-schema blocks