Deploying a Standalone Minitia
Overview
Minitias 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 Minitias functionality and deploy contracts on top of it.
Setting up the minitia
Before we configure the minitia, choose and enter the chain ID that you'd like to use for your minitia.
This is a unique identifier for your blockchain that is used to identify the network, prevent cross-chain transaction replay attacks, idenfiy genesis files, amongst other things.
Then, run the following command to initialize the Minitia. This includes the operator/sequencer, Minitia 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
Create additional accounts and customize the balance amounts as desired
Finally, we now start and run the minitia:
Endpoints
Along with the minitia, the following endpoints are also available
RPC:
http://localhost:26657
REST API:
http://localhost:1317
Last updated