Note: Thanks to your contributions, cycle I of our TestNet Phase 3 journey has officially wrapped up! Now we're one step closer to onboarding the world to Bitcoin. Stay tuned for the next steps!
Following command could be helpful to your interaction with Nubit DA Alpha Testnet.
Address
Get Account Address
Get your Account Address by entering the following command in terminal.
Parameters
None
Command
$HOME/nubit-node/bin/nubit state account-address --node.store $HOME/.nubit-light-nubit-alphatestnet-1
Returns
{"result":""}
Check Address Balance
Get the balance of your account by entering the following command in terminal.
Parameters
None
Command
$HOME/nubit-node/bin/nubit state balance --node.store $HOME/.nubit-light-nubit-alphatestnet-1
Returns
{"result":{"denom":"unub""amount":"" }}
Transaction
Initiate a Transaction
Send a given amount of unub from node wallet to the account address provided.
Parameters
address: Account address receiving Unub, starting in nubit....
amount -[Integer]: Amount of Unub transfered.
fee-[Integer]: Gas Price.
gasLimit -[Integer]: Gas Limit of this transaction.
Command
$HOME/nubit-node/bin/nubit state transfer [address] [amount] [fee] [gasLimit] --node.store $HOME/.nubit-light-nubit-alphatestnet-1