Design preview · sample numbers, not live data
arficoin.com
Quickstart › Connect to Arfi network

Connect to Arfi network

Add the Arfi network to MetaMask, confirm you are talking to the right chain, and send your first JSON-RPC request. Takes about five minutes.

Quickstart · Beginner Last reviewed for Arfi Local (draft) (Sprint 0) Edit on GitHub
Public draft is live — Chain ID still DRAFTA public draft RPC is live at rpc.arficoin.com with draft Chain ID 884801. Arfi Mainnet is not deployed. Do not trust anyone selling “mainnet” ARFI. Final Chain ID will be locked by founders before a public testnet announcement.

Before you start #

Network parameters #

These are the values your wallet or tooling needs. The Chain ID is part of every signed transaction (EIP-155), so a wallet on the wrong Chain ID cannot accidentally send a transaction to Arfi.

FieldValueCopy
Network nameArfi Local (draft)
RPC URLhttps://rpc.arficoin.com
WebSocket URLwss://rpc.arficoin.com/ws
Chain ID884801 · hex 0xd8041
Currency symbolAARFI
Decimals18
Block explorerhttps://scan.arficoin.com
Faucethttps://faucet.arficoin.com
ConsensusClique Proof of Authority · 3 validators
Block time3 seconds (target)
StatusLive draft · Chain ID provisional
Chain ID 884801 is provisionalIt was chosen for local development only and will change before the public testnet. Read it from config/networks.json rather than hard-coding it in apps.

Add Arfi to MetaMask #

The fastest way is the Add Network button on arficoin.com, which asks MetaMask to add the network for you. To add it by hand:

  1. Open the network menuIn MetaMask, click the network selector at the top left, then choose Add a custom network (older versions: Add network → Add a network manually).
  2. Enter the network detailsFill in the fields exactly as below. MetaMask checks the Chain ID against the RPC, so the node must be running.
    Add a custom network
    Network name
    Arfi Local (draft)
    Default RPC URL
    https://rpc.arficoin.com
    Chain ID
    884801
    Currency symbol
    ARFI
    Block explorer URL (optional)
    https://scan.arficoin.com
    Illustration of the MetaMask form — field labels may differ slightly by version.
  3. Save and switchClick Save, then select Arfi Local (draft) in the network list. Your balance is shown in ARFI.
  4. Get test ARFIClaim draft ARFI from the web faucet at faucet.arficoin.com (one drip per address / 24h).

Add the network from a dapp #

Dapps can request the same thing with wallet_addEthereumChain (EIP-3085). The chainId must be a hex string.

add-network.js
await window.ethereum.request({
  method: "wallet_addEthereumChain",
  params: [{
    chainId: "0xd8041",            // 884801
    chainName: "Arfi Local (draft)",
    nativeCurrency: { name: "ARFI", symbol: "ARFI", decimals: 18 },
    rpcUrls: ["https://rpc.arficoin.com"],
    blockExplorerUrls: ["https://scan.arficoin.com"],
  }],
});

Verify the connection #

Ask the node for the latest block number with eth_blockNumber. On a healthy network the number increases by about one every 3 seconds.

curl -s -X POST https://rpc.arficoin.com \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
Example response — your block number will differ
{"jsonrpc":"2.0","id":1,"result":"0x1f4a"}

The result is hexadecimal: 0x1f4a is block 8010. To confirm you are on Arfi and not another EVM network, call eth_chainId the same way — it must return "0xd8041".

Why web3.py needs the PoA middlewareClique stores the validator signature in each block’s extraData field, which is longer than the 32 bytes Ethereum mainnet allows. Without ExtraDataToPOAMiddleware, web3.py raises an error when it reads full blocks. ethers.js and viem do not need this.

Troubleshooting #

“The RPC URL returned a different chain ID”

MetaMask may be pointing at an old custom RPC. Remove the network and re-add using the values on this page (rpc.arficoin.com / Chain ID 884801).

“Could not fetch chain ID” or the request hangs

The public draft RPC may be briefly offline, or a firewall/DNS issue is blocking rpc.arficoin.com. Check status.arficoin.com.

Block number does not increase

Clique needs more than half of the validators online to keep producing blocks. With 3 validators, at least 2 must be running.

Arfi will never ask for your seed phraseAdding a network only needs the public values on this page. No guide, support agent or dapp needs your secret recovery phrase or private key.