testnet
GitHub

Configuring and Minting OKRW

integration

How to configure the authorized minter and issue new tokens using the OKRW module.

1

Check Current Parameters

Before minting, verify which address is authorized to mint and what the token denomination is.
marood query okrw params
2

Mint Tokens

Use the authorized account to mint tokens to a recipient. The denomination must match the mint_denom parameter (default: aokrw).
marood tx okrw mint [recipient_address] [amount] --from [minter_account]
3

Updating the Minter (Governance)

If the minter address needs to be changed, submit a governance proposal to update the module parameters.
marood tx okrw update-params-proposal '{"minter_address": "new_address...", "mint_denom": "aokrw"}' --title "Change Minter" --description "Updating minter address" --deposit 1000000stake --from proposer
Source: maroo
ESC
Type to search