Fantom Testnet
(FTM)
Chain ID
4002
Native Token
Fantom (FTM)
RPC
https://4002.rpc.thirdweb.com
Block Height
0
Latency
0 ms
Faucets
fantom.network
faucet.fantom.network/
Explorers
ftmscan
testnet.ftmscan.com
Popular Contracts
Create collection of unique NFTs.
Release ERC1155 tokens for a set price.
Getting Started with Fantom Testnet
Choose a language:
Install the latest version of the SDK:
npm i thirdweb
Initialize the SDK and contract on your project:
import { createThirdwebClient, getContract } from "thirdweb";import { fantom-testnet } from "thirdweb/chains";
// create the client with your clientId, or secretKey if in a server environmentconst client = createThirdwebClient({ clientId: "YOUR_CLIENT_ID" });
// connect to your contractconst contract = getContract({ client, chain: fantom-testnet, address: "0x..."});
You will need to pass a client ID/secret key to use thirdweb's infrastructure services. If you don't have any API keys yet you can create one for free from the dashboard settings.