Simple Minitia Setup
Last updated
Last updated
Minita is a lightweight, open-sourced, and easy-to-use blockchain client. This document provides instructions for installing Minita on your local machine.
You can setup Minitia chain using minitiad.
You can choose to use MoveVM
or WasmVM
by using minimove
or miniwasm
respectively.
To confirm the successful installation of Minitia, use the following command:
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.
CHAIN ID
A chain ID is a unique identifier that represents a blockchain network. The format should be an alphanumeric string between 3 to 50 characters long ( ^[-a-zA-Z0-9]{3,47}-\d+$
).
If you don't have a key, use the following command to generate a new key.
You can add genesis validator with following command.
Start minitia node.
grpc://localhost:9090 for GRPC
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.
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.
This task must be completed before the node starts running.
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.
Only the currently configured gas-price can be used to pay transaction fees before modifying the gas-prices
parameter.
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.
For detail configuration and usage, check . You will get useful links as follows:
for RPC
for REST API Server (LCD)
for Swagger