fund-with-faucet

Fund an Account with Tokens from a Faucet

This will create an account if it doesn't exist with the faucet. This is mostly useful for local development and devnet.

Usage

movement aptos account fund-with-faucet [OPTIONS] --account <ACCOUNT>

Options

  • --account Address to fund. If the account wasn't previously created, it will be created when being funded.

  • --amount <AMOUNT> Number of Octas to fund the account from the faucet. The amount added to the account may be limited by the faucet, and may be less than the amount requested. [default: 100000000]

  • --faucet-url <FAUCET_URL> URL for the faucet endpoint e.g. https://faucet.devnet.aptoslabs.com

  • --url <URL> URL to a fullnode on the network. Defaults to the URL in the default profile

  • --connection-timeout-secs <CONNECTION_TIMEOUT_SECS> Connection timeout in seconds, used for the REST endpoint of the fullnode. [default: 30]

  • --profile <PROFILE> Profile to use from the CLI config. This will be used to override associated settings such as the REST URL, the Faucet URL, and the private key arguments. Defaults to "default"

Last updated