From 20700cfc504028fb32e48377bfb61b131a29a654 Mon Sep 17 00:00:00 2001 From: pthmas <9058370+pthmas@users.noreply.github.com> Date: Fri, 18 Jul 2025 10:57:05 +0200 Subject: [PATCH 1/5] remove number from titles --- guides/create-genesis.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/guides/create-genesis.md b/guides/create-genesis.md index c1d2dd7db..46a0df16a 100644 --- a/guides/create-genesis.md +++ b/guides/create-genesis.md @@ -2,7 +2,7 @@ This guide will walk you through the process of setting up a genesis for your chain. Follow the steps below to initialize your chain, add a genesis account, and start the chain. -## 0. Pre-requisities +## Pre-requisities For this guide you need to have a chain directory where you have created and built your chain. @@ -25,7 +25,7 @@ TOKEN_AMOUNT="10000000000000000000000000stake" STAKING_AMOUNT="1000000000stake" ``` -## 2. Rebuild your chain +## Rebuild your chain Ensure that `.gm` folder is present at `/Users/you/.gm` (if not, follow a [Guide](/guides/gm-world.md) to set it up) and run the following command to (re)generate an entrypoint binary out of the code: @@ -41,7 +41,7 @@ ignite rollkit init This (re)creates an `gmd` binary that will be used for the rest of the tutorials to run all the operations on the chain. -## 3. Resetting existing genesis/chain data +## Resetting existing genesis/chain data Reset any existing chain data: @@ -56,7 +56,7 @@ rm -rf $HOME/.$CHAIN_ID/config/gentx rm $HOME/.$CHAIN_ID/config/genesis.json ``` -## 4. Initializing the validator +## Initializing the validator Initialize the validator with the chain ID you set: @@ -64,7 +64,7 @@ Initialize the validator with the chain ID you set: gmd init $VALIDATOR_NAME --chain-id $CHAIN_ID ``` -## 5. Adding a key to keyring backend +## Adding a key to keyring backend Add a key to the keyring-backend: @@ -72,7 +72,7 @@ Add a key to the keyring-backend: gmd keys add $KEY_NAME --keyring-backend test ``` -## 6. Adding a genesis account +## Adding a genesis account Add a genesis account with the specified token amount: @@ -80,7 +80,7 @@ Add a genesis account with the specified token amount: gmd genesis add-genesis-account $KEY_NAME $TOKEN_AMOUNT --keyring-backend test ``` -## 7. Setting the staking amount in the genesis transaction +## Setting the staking amount in the genesis transaction Set the staking amount in the genesis transaction: @@ -88,7 +88,7 @@ Set the staking amount in the genesis transaction: gmd genesis gentx $KEY_NAME $STAKING_AMOUNT --chain-id $CHAIN_ID --keyring-backend test ``` -## 8. Collecting genesis transactions +## Collecting genesis transactions Collect the genesis transactions: @@ -96,7 +96,7 @@ Collect the genesis transactions: gmd genesis collect-gentxs ``` -## 9. Configuring the genesis file +## Configuring the genesis file Copy the centralized sequencer address into `genesis.json`: @@ -106,7 +106,7 @@ PUB_KEY=$(jq -r '.pub_key' ~/.$CHAIN_ID/config/priv_validator_key.json) jq --argjson pubKey "$PUB_KEY" '.consensus["validators"]=[{"address": "'$ADDRESS'", "pub_key": $pubKey, "power": "1000", "name": "Rollkit Sequencer"}]' ~/.$CHAIN_ID/config/genesis.json > temp.json && mv temp.json ~/.$CHAIN_ID/config/genesis.json ``` -## 10. Starting the chain +## Starting the chain Finally, start the chain with your start command. From 2642346524c5ccdc710b384afa24e4a65a88a20f Mon Sep 17 00:00:00 2001 From: pthmas <9058370+pthmas@users.noreply.github.com> Date: Fri, 18 Jul 2025 10:57:33 +0200 Subject: [PATCH 2/5] move warning to top of the page --- guides/cometbft-to-rollkit.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/guides/cometbft-to-rollkit.md b/guides/cometbft-to-rollkit.md index 5cc9f6f58..a91a3bf24 100644 --- a/guides/cometbft-to-rollkit.md +++ b/guides/cometbft-to-rollkit.md @@ -10,6 +10,11 @@ import constants from '../.vitepress/constants/constants.js' This guide assumes you have a CometBFT app set up and [Ignite CLI](https://docs.ignite.com) installed. +:::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. +::: + ## Install Rollkit {#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: @@ -36,10 +41,6 @@ Run the following command to initialize Rollkit: 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. -:::