This repository contains the code for the Celestia lightnode and Rollmint rollup.
In order to successfully launch, you'll have to:
- build
- launch celestia node
- launch rollup
- docker
./app.js build
The Celestia lightnode is a light client for the Celestia blockchain.
./app.sh celestia
The Rollmint rollup is a rollup for the Celestia blockchain.
./app.sh rollup
- convert dockerfiles to builder patterns. This will reduce the size of the final images.
- map folders to local folders, so we can edit the code locally and have it reflected in the container.
- The build scaffolds an entire blockchain using ignite. This is build step that takes a considerable amount of time.
- The documentation states that before we can init the rollup, we need to do the following.
- Before starting our rollup, we'll need to find and change FlagIAVLFastNode to FlagDisableIAVLFastNode:
- the celestia logs are filled with warnings. According to the devs, this is normal.
Necessary steps to get this running:
When starting up the rollup, it complains about the following
- "rpc error: code = NotFound desc = account celestia13ux04z9s7ex44kcsvnwja6644ns340xurgj5tp not found" attempt=13 module=BlockManager
In order to submit the data transactions containing the state of your rollup, you need to fund that account. Fund it by sending TIA to the address, or by requesting TIA on their discord (#mocha-faucet).
When actively running the rollup, its state will be published to the mocha testnet. You can see the data being posted under the transactions subsection.
In context of the following remark: rollkit/rollkit#667 (comment)
We did not have to apply the 3d change in the suggestion, as we are using the Mocha testnet instead of Arabica. Bear in mind that this needs to be done when using the arabica testnet.