Networks
Robinhood Chain testnet and mainnet, the local devnet, RPC endpoints, explorers, and USDG, the dollar MirAi is paid in.
MirAi runs on Robinhood Chain only: an Ethereum layer 2 built on Arbitrum Orbit. Gas is paid in ETH. Every payment is in USDG.
Chains#
| Testnet | Mainnet | Local devnet | |
|---|---|---|---|
| Name | Robinhood Chain Testnet | Robinhood Chain | Anvil |
| Chain ID | 46630 | 4663 | 31337 |
| RPC | https://rpc.testnet.chain.robinhood.com | https://rpc.mainnet.chain.robinhood.com | http://127.0.0.1:8545 |
| Explorer | https://explorer.testnet.chain.robinhood.com | https://explorer.chain.robinhood.com | none |
| Gas token | ETH | ETH | ETH |
| USDG | MockUSDG (test token) | 0x5fc5360d0400a0fd4f2af552add042d716f1d168 | MockUSDG (test token) |
| SDK / CLI name | robinhood-testnet | robinhood | local |
| x402 network | eip155:46630 | eip155:4663 | eip155:31337 |
| MirAi deployed | Not yet | No | Yes, simulated activity |
To add a chain to your wallet: network name, RPC URL, chain ID and ETH as the currency symbol, from the table above.
USDG#
USDG is the Global Dollar, a dollar stablecoin issued by Paxos and the native dollar of Robinhood Chain.
- 6 decimals: 1 USDG =
1000000raw units. - Supports
permit(EIP-2612) andtransferWithAuthorization(EIP-3009), which is how paid calls work. - EIP-712 domain: name
Global Dollar, version1. The gateway reads it from the token (eip712Domain()) and returns it in each 402 underextra. - The issuer can freeze addresses. A frozen payer cannot pay; a frozen treasury cannot receive or pay out.
There is no USDC on Robinhood Chain: MirAi uses USDG everywhere.
Test USDG#
The testnet has no official USDG, so MirAi deploys MockUSDG: same decimals, same EIP-712 domain, permit and EIP-3009, plus an open faucet(amount) capped at 10,000 USDG per call.
- In the app: account menu → Get 1,000 test USDG.
- CLI:
abi faucet --amount 1000. - SDK:
await abi.faucet(1000).
ETH for gas#
Transactions (launching, trading, staking, voting) need ETH. Paid calls do not: the API's relayer pays the gas of each settlement. On testnet, get ETH from the Robinhood Chain testnet faucet. On the local devnet, Anvil's test accounts start with ETH.
Which network the app uses#
The site is built for one chain at a time (NEXT_PUBLIC_CHAIN_ID, testnet by default) and reads from the API set in NEXT_PUBLIC_ABI_API. If your wallet is on another chain, the app asks you to switch.
