Setting Up Dev Environment
Last updated
Last updated
You would need an environment to run contracts. You can either run your node locally or connect to an existing network.
For easy testing, the MANTRA DuKont Testnet is live. You can use DuKong to deploy and run your contracts.
To verify that the network is currently active, make sure the following URLs are working for you:
RPC Endpoints:
Faucet:
The network has one native token set up - OM (uom)
for becoming a validator and for paying fees.
The official MANTRA DuKong Chain (Testnet) Block Explorer is at:
You can use the block explorer to explore transactions, addresses, validators and contracts.
When interacting with DuKong, you can either use wasmd
which is a Go client, or the Node REPL. The Node REPL is recommended for contract operations, since JSON manipulation is not intuitive with the Shell/Go client.
Let's configure the mantrachaind
executable, point it to the DuKong network, create a wallet and ask for tokens from faucet:
First, create a file called mantrachaind-cli.env
:
Save the above and then source
it to set the environment variables.
We'll use these environment variables later.
Set up wallets with addresses for storing tokens.
It is the only way to recover your account if you ever forget your password.
truth quarter rack west trouble suffer grief path patch come mushroom more improve gallery moral recipe error abandon modify drop vague holiday upset open
You will need some OM test tokens stored in your wallet address in order to interact with the network. In order to get testnet tokens please request faucets at .