Accounts in the Supra CLI are blockchain identities used to interact with the Supra network. They allow users to perform actions such as creating new accounts, funding them with tokens, checking balances, and transferring assets. These accounts serve as the foundation for managing transactions and participating in blockchain activities.
For the latest RPC URL, please refer to the page.
CLI Commands for Accounts
Here's how to use the Supra CLI commands to work with accounts:
Not all CLI commands are listed here. Use the --help option to see the full list.
Fund Your Profiles
Fund an account with SUPRA tokens from a faucet URL:
supra move account fund-with-faucet [OPTIONS] --url [URL_RPC]
supra move account transfer [OPTIONS] --account <ACCOUNT> --amount <AMOUNT> --url [URL_RPC]
Additional Options:
[OPTIONS]
--account <ACCOUNT>: Address of account to send $SUPRA
--url <URL_RPC>: URL to a full node on the network
--amount <AMOUNT> : Amount of Quants (10^-8 SUPRA) to transfer
This will be used to override associated settings such as the REST URL, the Faucet URL, and the private key arguments.
Example:
supra move account transfer --account 0xec07bc3d5c30f85fb8a4c799aba5e2f185e420a2b223f4c1fc2a2a8eeef8192d --amount 1000 --url https://rpc-testnet.supra.com