Running the Minitia
Last updated
Last updated
After the minitiad is functional, either through compiling the source code or using the provided Docker container from the previous step, we can proceed to launch the minitia.
The minitaid CLI provides a utility launch
command to simplify the initial setup sequences of minitia. It is designed to automate the process of setting up and configuring your minitia environment.
The launch command allows customization of the minitia and related configurations and parameters through a config.json
file.
This specifies the configuration of the Initial L1 that the minitia will be connecting to.
Field | Description | example |
---|---|---|
Example
Examples of the minimal and full config.json
file content can be found here
Funding System Keys
Before launching, we must fund the Bridge Executor, Output Submitter, and Batch Submitter accounts with gas tokens on Initia L1 to enable them to send transactions.
Once we have a config file ready and the accounts funded, we can proceed to the launch process.
If you did not specify the bridge executor mnemonic and address in the config.json file, the launch command will prompt you for this information during the setup process.
If the launch is successful, you should get an output similar to the one below:
Once the launch steps successfully completes, two artifact files will be generated in the directory $HOME/.minitia/artifacts
config.json: The complete config file. Any previously omitted fields have been filled with default or automatically generated values.
artifacts.json: Stores the output artifact from the launch process
Once the bootstrapping launch step is complete, we can now start running our minitia.
This process will begin running the minitia and producing blocks.
With these steps complete, your minitia is now ready for testing and development. To continue setting up the OPInit bridge and bots, enable IBC transfers, and enabling oracles, follow the subsequent instructions in this section.
Field | Description | Example |
---|---|---|
chain_id
the chain ID of the L1 to connect to
initiation-1
rpc_url
The Initia L1 RPC URL to use when sending transactions.
gas_prices
The minimum gas prices and gas denom
0.15uinit
chain_id
the chain ID of the minitia being deployed.
minitia-1
denom
the base token denom to use for the minitia
umin
moniker
the identifier to use for the sequencer/operator account
operator
output_submission_start_time
Specifies the start time for output submission
2024-05-08T12:23:15.488692+09:00
output_submission_interval
The interval, in nanoseconds, for submitting output
3600000000000
output_finalization_period
The time period, in nanoseconds, required for an output to remain before it is considered finalized and immutable
3600000000000
batch_submission_target
The chain where the batch submission output should be sent after being processed. Currently supports either Initia L1 and Celestia
l1