Simple Minitia Setup

Minita is a lightweight, open-sourced, and easy-to-use blockchain client. This document provides instructions for installing Minita on your local machine.

Prerequisites

Step 1. Download Pre-built Binary

You can setup Minitia chain using minitiad.

git clone https://github.com/initia-labs/minitia.git

You can choose to use MoveVM or WasmVM by using minimove or miniwasm respectively.

cd minimove
git pull origin main
make install

To confirm the successful installation of Minitia, use the following command:

minitiad version

Step 2. Configuration

Initiate your chain

Initialize the node with a human-readable name or moniker.

You can configure a custom token denom as a fee token on a Minitia, but if a custom token is not specified, the default value umin will be used as the fee token denom.

Generate operation keys

If you don't have a key, use the following command to generate a new key.

Add genesis validator

You can add genesis validator with following command.

Update bridge executor

Bridge executor is a address which has permission to relay the op bridge packet between L1<>L2. Please refer OPinit Stack for details.

Bridge executor's address is set to the account address of the validatory key that is used to do Add genesis validator. The below command can be used to use a different account address as a bridge executor.

Add genesis account

Step 3. Start Minitia

Start minitia node.

For detail configuration and usage, check nodes. You will get useful links as follows:

(Optional) Change min-gas-prices

To prevent spam and ensure network stability, a operator need to set a min-gas-prices which the validators will accept to validate transactions in Minitia nodes.

  1. Change min-gas-prices in genesis.json

    • By default, min-gas-prices is set to 0, and can be changed on genesis.json before the node starts running.

  1. Update min-gas-prices

    • MsgUpdateParams message can be used to update min-gas-prices after the node starts running. With this message, gas fee token denom can be changed to a desired denom.

(Optional) Start the Light Client Daemon (LCD)

To enable the REST API and LCD, enable api configuration in app.toml. Also, to enable Swagger, change swagger = false to swagger = true. Note that app.toml file can be found in $HOME/.minitia/config by default.

Last updated