Nibiru Incentivized Testnet #2
( The task related to voting is simple, you already know how to do it )
Smart Contract Tasks
Deploy a smart contract on Nibiru.
Instantiate a smart contract on Nibiru.
Successfully broadcast an
ExecuteContract
transaction
The example uses a simple contract cw20_base.wasm ( We will create some new tokens and send them to each other ). You can learn more about cw20 tokens here.
Deploy a smart contract on Nibiru
Cloning a repo
Uploading the contract to the network ( don't forget to specify your wallet !!!! )
Then request this transaction using the tx hash to find out the code_id of the downloaded contract
Let's create a variable for convenience. The example shows the id of my contract, in your case there will be a different value.
Before creating an instance of the contract, we will prepare arguments. Replace the following values with your own data - name, symbol, address, minter !!!!!
Then perform the transaction . You can change the --label value to your own. ( don't forget to specify your wallet !!!! )
Let's set a variable with the address of your contract
Successfully broadcast an
ExecuteContract
transaction.
Let's work with the contract and send some of our cw20 tokens to a friend.
Specify the address where you want to send the tokens and their number.
Execute Tx ( don't forget to specify your wallet !!!! )
Then confirm that the balance transfer was successful. To do this, we will make a small query
Specify the address where we check the balance of cw20 tokens
Last updated