Documentation Index
Fetch the complete documentation index at: https://docs.stablenet.network/llms.txt
Use this file to discover all available pages before exploring further.
Set up your wallet and configure your RPC environment for StableNet Testnet in under 5 minutes.
StableNet is currently in testnet. Network details may change before mainnet launch.
Network details
| Value |
|---|
| Chain ID | 8283 |
| RPC endpoint | https://api.test.stablenet.network |
| Explorer | explorer.stablenet.network |
| Faucet | faucet.stablenet.network |
| Native gas token | WKRC (KRW-pegged, 18 decimals) |
| Minimum gas tip | 27,600 Gwei |
Run this in your browser console to add StableNet Testnet to MetaMask automatically:
await window.ethereum.request({
method: "wallet_addEthereumChain",
params: [{
chainId: "0x205B",
chainName: "StableNet Testnet",
nativeCurrency: { name: "WKRC", symbol: "WKRC", decimals: 18 },
rpcUrls: ["https://api.test.stablenet.network"],
blockExplorerUrls: ["https://explorer.stablenet.network"],
}],
});
Or add manually: MetaMask → Settings → Networks → Add network manually and enter the values from the table above.
Get testnet WKRC
Visit faucet.stablenet.network, enter your wallet address, and receive testnet WKRC. The faucet sends enough to cover many transactions.
Verify your connection
Confirm the RPC endpoint is live:
curl -X POST https://api.test.stablenet.network \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
{"jsonrpc":"2.0","id":1,"result":"0x132d3"}
A hex block number in the result field means you’re connected. Then confirm your WKRC balance on the Explorer.
Add the RPC URL to your project environment:
# .env
STABLENET_RPC_URL="https://api.test.stablenet.network"
STABLENET_CHAIN_ID=8283
Never commit your .env file to version control. Add .env to .gitignore.
ethers.js
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider(
"https://api.test.stablenet.network"
);
const blockNumber = await provider.getBlockNumber();
viem
import { createPublicClient, http } from "viem";
import { defineChain } from "viem";
const stablenet = defineChain({
id: 8283,
name: "StableNet Testnet",
nativeCurrency: { name: "WKRC", symbol: "WKRC", decimals: 18 },
rpcUrls: { default: { http: ["https://api.test.stablenet.network"] } },
blockExplorers: {
default: { name: "Explorer", url: "https://explorer.stablenet.network" },
},
});
const client = createPublicClient({ chain: stablenet, transport: http() });
Foundry
# foundry.toml
[profile.default]
eth_rpc_url = "https://api.test.stablenet.network"
Next steps
Send Your First Transaction
Send WKRC and interact with the network.
Deploy a Contract
Deploy a Solidity contract using Foundry.