Deploying a Standalone Rollup
Rollups can be run as a standalone rollup chain. While we strongly recommend the full setup using OPinit bots and IBC as outlined above, this setup can be useful for developers who want to quickly test the core rollup functionality and deploy contracts on top of it.
Setting up the Rollup
Before we configure the rollup, choose and enter the chain ID, moniker and denom that you’d like to use for your rollup.
CHAIN_ID
: a unique identifier for your blockchain that is used to identify the network, prevent cross-chain transaction replay attacks, identify genesis files, amongst other things.MONIKER
: a human-readable name for your node.DENOM
: the default token denomination for your chain.
Then, run the following command to initialize the rollup. This includes the operator/sequencer, rollup genesis, and configuration files.
Next, we need to create a key that’ll be used as the minitia’s operator (aka. sequencer, validator)
The above command will create a key for you and and save it to your device’s keyring. We recommend writing down the mnemonic somewhere safe as there is no way to show it again.
Once the key is ready, we proceed to modify the minitia’s genesis file in 2 ways:
- give initial gas token balances to the
operator
account. - add the
operator
account as the minitia’s sequencer
First, we give the operator
account an initial gas balance to be able to send transactions.
Repeat the command for any additional accounts that you’d like to fund. We then need to set the operator
account as the minitia’s sequencer.
Finally, we run and start the rollup:
Your rollup should now be producing blocks
Was this page helpful?