Create an CosmWasm Rollup
Highly Recommended - Opt for Quicklaunch
We strongly advise utilizing the Quicklaunch option for creating a new Rollup, as opposed to manually following the detailed steps. Quicklaunch streamlines the process, ensuring simplicity and efficiency. Save time and reduce complexities by opting for Quicklaunch to set up your new Rollup seamlessly.
1. Clone GitHub Repositories
Start by cloning the necessary repositories from GitHub. Use the following commands in your terminal:
2. Configuration Setup
Create a "config" directory in the sibling directory of the previously cloned GitHub repositories and create a config.json
file containing the chain's configuration details.
Use the mkdir
command to create a new directory named "config":
Navigate into the newly created 'config' directory:
Open a new config.json
file using the nano
text editor:
In the nano
editor, input the following configuration details:
Replace the values as necessary to match your specific chain configuration.
After entering the configuration details, save and exit the file by pressing CTRL + X
, then Y
, and finally Enter
.
3. Initialize a New Chain
To initiate the new chain, follow these commands:
Switch to the 'rollup-cosmwasm'
directory, which you cloned earlier. Use the command:
Run the go mod tidy
command to ensure all the Go modules are updated and tidy:
Finally, run the setup script provided in the 'rollup-cosmwasm'
directory. This script will initialize the new chain with the configuration you've set:
Last updated