Aptos Testnet
RPC EndpointsChain ID: 2 · APT
Other Aptos networks:Mainnet
Aptos Testnet uses APT as its native currency. Chain ID: 2 (2). Below are 2 public RPC endpoints you can use to connect wallets, dApps, and developer tools to Aptos Testnet.
Connect to Aptos Testnet with ethers.js
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider("https://fullnode.testnet.aptoslabs.com/v1");
const network = await provider.getNetwork();
console.log(network.chainId); // 2nAptos Testnet — common questions
What is the RPC URL for Aptos Testnet?
There are 2 public RPC endpoints for Aptos Testnet, including https://fullnode.testnet.aptoslabs.com/v1. See the full list in the table above.
What is the Chain ID for Aptos Testnet?
The Chain ID for Aptos Testnet is 2 (2 in hexadecimal).
What is the native currency of Aptos Testnet?
The native currency of Aptos Testnet is APT.
How do I add Aptos Testnet to MetaMask?
Use the "Add to Wallet" button on this page to add Aptos Testnet to MetaMask automatically, or follow our step-by-step guide for Aptos.