3. Dockerizing your Environment

The environment that your Chainwalker runs within must be Dockerized. This allows blockchains to build in the languages and tools they are most comfortable, while the framework remains language agnostic.

If your team is not up to speed with Docker, the Flipside team is more than happy to guide you thru this part of the process. Please reach out to the Flipside team on slack!

Your environment should be containerized in the Dockerfile. After creating this container, run the following command to build and tag an image:

docker build . -t chainwalkers_{blockchain_name}:latest

Then you should be able to execute the following commands:

> docker run chainwalkers_{blockchain_name}:latest bash get_height.sh
{
"height": Integer
}
> docker run chainwalkers_{blockchain_name}:latest bash parse_blocks.sh 2913247 2913248 2913249
[
{
"hash": "d448e31d3d020f3723b6d091a06e4f42c4a636fa63ec50bbc08037c9d2c0bdd4",
"number": 2913249,
...
"transactions": [
{...},
...
]
},
...
]

After Dockerizing your environment, if the above commands run successfully, your Chainwalker is complete. Contact the Flipside team on Slack for a final review.

‚Äč