Skip to content

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.

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:

bash
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:

bash
ignite rollkit add

Initialize Rollkit

To prepare your app for Rollkit, you'll need to initialize it.

Run the following command to initialize Rollkit:

bash
ignite rollkit init

WARNING

This tutorial is being currently update to reflect the latest changes using the rollkit ignite app. Please check back later for the updated version.

Released under the APACHE-2.0 License