Skip to Content
Networks

Networks

Nibgate runs two parallel stacks on Arc. Mainnet is the production surface — real USDC, real creators. Testnet mirrors it for staging, development, and trying things with free faucet USDC. Identity syncs across stacks; money and content do not (details below).

Hosts

MainnetTestnet
Hub sitehttps://nibgate.xyzhttps://testnet.nibgate.xyz
Hub APIhttps://api.nibgate.xyzhttps://testnet-api.nibgate.xyz
Subblogshttps://{sub}.nibgate.xyzhttps://{sub}.testnet.nibgate.xyz
Subblogs APIhttps://api-subblogs.nibgate.xyzhttps://testnet-api-subblogs.nibgate.xyz
Nibshare linkshttps://nibgate.xyz/ns/{slug}https://testnet.nibgate.xyz/ns/{slug}
Docs (this site)https://docs.nibgate.xyzsame (docs are network-agnostic)

Every new Subblog is reachable on both networks from creation: <name>.nibgate.xyz and <name>.testnet.nibgate.xyz serve the same site row on their respective stacks.

What syncs across stacks

Shared identity: sites (domain, verification state, owner wallet, publisher profile, display metadata), user accounts (same wallet = same admin on both stacks — sign-in is find-or-create by wallet), and published editorial blog posts. Verify a custom domain once and both hubs agree; hosted *.nibgate.xyz subblogs stay network-pinned.

Per-stack, never synced: content catalogs, unlocks, payments, ratings, metrics, sessions. Every content/ledger row carries its hub-stamped network tag (testnet | mainnet), and receipts whose on-chain chainId attests the other stack are rejected at write time — testnet (valueless) money can never open mainnet (real-money) content.

Chains

MainnetTestnet
NameArcArc Testnet
Chain ID5042 (eip155:5042, hex 0x13B2)5042002 (eip155:5042002, hex 0x4CEF52)
RPChttps://rpc.mainnet.arc.iohttps://rpc.testnet.arc.io
Explorerhttps://explorer.arc.iohttps://testnet.arcscan.app
Gateway APIhttps://gateway-api.circle.comhttps://gateway-api-testnet.circle.com
USDC0x3600000000000000000000000000000000000000 (both networks)same
Gateway domain26 (both networks)26
Gateway wallet0x77777777Dcc4d5A8B6E418Fd04D8997ef11000eE0x0077777d7EBA4688BDeF3E311b846F25870A19B9
Gateway minter0x2222222d7164433c4C09B0b0D809a9b52C04C2050x0022222ABE238Cc2C7Bb1f21003F0a260052475B

Testnet USDC comes from Circle’s faucet  and has no value. Mainnet gas is paid in real USDC — funding gas wallets and watching balances is a real treasury operation, not a faucet claim.

Selecting a network

As an integrator (creator site): set NIBGATE_PAYMENT_NETWORK to eip155:5042 for production, eip155:5042002 for staging. Point NIBGATE_API_BASE at the matching hub API. The integration skill shows testnet values because testnet USDC is free — swap in the mainnet column above for production.

As an operator (Nibgate stacks): NIBGATE_NETWORK=mainnet|testnet on backends (default testnet — a missing var can never move real money), NEXT_PUBLIC_NIBGATE_NETWORK on frontends. Explicit per-value env vars (RPC URLs, contract addresses, origins) always override the network default. See the repo README  for the deployment topology.

For agents

The machine surfaces are per-stack: discovery.md  documents mainnet, https://testnet.nibgate.xyz/discovery.md documents testnet (endpoints, chain IDs, and Gateway hosts all follow the stack). The MCP server instructions likewise describe the network they run on.

Last updated on