To get started creating a Chainwalker, Flipside will share a private Github repository with your team that contains the following boilerplate structure:
schema/|--block_schema.json|--transaction_schema.jsonparsing/...your custom parsing code...Dockerfileget_height.shparse_blocks.sh
schema/
-- this directory contains json files representing the decoded schemas specific to your chain
parsing/
-- this directory contains your custom parsing code
Flipside utilizes two bash scripts that serves as the entrypoints to your parser:
get_height.sh
- retrieves the best block height
parse_blocks.sh
- accepts an array of block heights and returns an array of fully decoded data
The Dockerfile
containerizes your environment and allows the Chainwalkers framework to remain language agnostic.