How to Turn Your CometBFT App into a Rollkit App
This guide will walk you through the process of turning your existing CometBFT app into a Rollkit app. By integrating Rollkit into your CometBFT-based blockchain, you can leverage enhanced modularity and data availability features.
This guide assumes you have a CometBFT app set up and Ignite CLI installed.
WARNING
This tutorial is currently being updated to reflect the latest changes using the rollkit ignite app. Please check back later for the updated version.
Install Rollkit
You need to install Rollkit in your CometBFT app. Open a terminal in the directory where your app is located and run the following command:
ignite app install github.com/ignite/apps/rollkit@rollkit/v0.2.1
Add Rollkit Features to Your CometBFT App
Now that Rollkit is installed, you can add Rollkit features to your existing blockchain app. Run the following command to integrate Rollkit:
ignite rollkit add
Initialize Rollkit
To prepare your app for Rollkit, you'll need to initialize it.
Run the following command to initialize Rollkit:
ignite rollkit init