Aptos Account Commands

  1. Funding an Account with the Faucet:

    aptos account fund-with-faucet --account default

    This command requests test tokens from the Aptos faucet to fund the default account. The faucet provides tokens for testing purposes on the testnet or devnet. This step is essential for interacting with the blockchain, as it ensures the account has sufficient balance to perform transactions.

  2. Lookup Account Address:

    aptos account lookup-address

    This command retrieves the address of the default account. The address is necessary for identifying the account on the blockchain and for performing transactions. Ensure your default account is properly configured to obtain its address.

  3. List All Accounts:

    aptos account list

    This command lists all accounts managed by the Aptos CLI on your local setup. It helps you view and manage multiple accounts, which is useful when working with different accounts for testing or development purposes.

Last updated