G8Chain Testnet
(G8C)
Popular Contracts
Create collection of unique NFTs.
Release ERC1155 tokens for a set price.
Info
oneg8.one
Chain ID
18181
Native Token
G8Coin (G8C)
RPC
https://g8chain-testnet.rpc.thirdweb.com
Block Height
0
Latency
0 ms
Faucets
oneg8.network
faucet.oneg8.network/
Explorers
G8Chain
testnet.oneg8.network
Getting Started with G8Chain Testnet
Choose a language:
Install the latest version of the SDK:
npm install @thirdweb-dev/sdk ethers@5
Initialize the SDK and contract on your project:
import { G8chainTestnet } from "@thirdweb-dev/chains";import { ThirdwebSDK } from "@thirdweb-dev/sdk";
// If used on the FRONTEND pass your 'clientId'const sdk = new ThirdwebSDK(G8chainTestnet, { clientId: "YOUR_CLIENT_ID",});// --- OR ---// If used on the BACKEND pass your 'secretKey'const sdk = new ThirdwebSDK(G8chainTestnet, { secretKey: "YOUR_SECRET_KEY",});
const contract = await sdk.getContract("0x0000000000000000000000000000000000000000");
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.