MoveVM
Creating Move Coin
This tutorial guides you through the process of creating and minting your own coin using the 0x1::managed_coin
module on the Initia blockchain. It includes initializing your coin, obtaining metadata, minting coins, and checking the balances.
Step 1: Initialize Your Coin
To initialize your coin, you must call the 0x1::managed_coin::initialize
function.
Step 2: Mint Coin
To mint coins, you will use the 0x1::managed_coin::mint
function.
Before minting, you need to obtain the metadata for your coin, which can be done through the 0x1::coin::metadata
view function or by using sha3_256(creator+symbol+0xFE)
.
Obtaining Metadata
Minting Coins
After minting, you can check the balances to verify the minting process.
Was this page helpful?