ℹ Introduction to the Aptos Testnet Faucet
The Aptos Faucet allows users to requestAPT tokens on Devnetfor testing purposes.
Note:Minting is only available on Devnet—Testnet users must use themint pageand there isno faucet on Mainnet.
How to Use the Faucet
In Wallets
Most Aptos wallets (e.g. Petra, Pontem) offer a built-inDevnet faucet button.
In the Aptos CLI
Use the following command (amount is in Octas — 1 APT = 100,000,000 Octas):
plain text
aptos account fund-with-faucet --account <your_account_address> --amount 100000000In the TypeScript SDK
plain text
import { Aptos, AptosConfig, Network } from "@aptos-labs/ts-sdk";
const aptos = new Aptos(new AptosConfig({ network: Network.Devnet }));
aptos.fundAccount({ accountAddress: "<your_account_address>", amount: 100000000 });In the Go SDK
plain text
import "github.com/aptos-labs/aptos-go-sdk"
func main() {
client, err := aptos.NewClient(aptos.LocalnetConfig)
if err != nil {
panic(err)
}
client.Fund("<your_account_address>", 100000000)
}Using cURL or Other Languages
plain text
curl -X POST 'https://faucet.devnet.aptoslabs.com/mint?amount=100000000&address=<your_account_address>'This command mints 1 APT (100,000,000 Octas) to the specified address.