Skip to content

defi-org-code/wallet-profile-schema-indexer

Repository files navigation

The Index

Process TheIndex schemas over EVM index data in scale.

How to write schemas

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.

Build

npm install

Test

Print RLP contents

npm run rlp-read ~/go/src/github.com/orbs-network/the-index-go-ethereum/the-index/blocks-00001.rlp

Run test schemas

  1. 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

  2. List all available test schemas:

    npm run test-schema
    
  3. Run one of the test schemas:

    npm run test-schema blocks
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published