Aptos logo

Aptos Testnet

RPC Endpoints

Chain ID: 2 · APT

Other Aptos networks:Mainnet
How to add Aptos to MetaMask or other wallets

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.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://fullnode.testnet.aptoslabs.com/v1
2APTExplorer
Checking
https://aptos-testnet.drpc.org
2APTExplorer

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); // 2n

Aptos 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.
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.