Squidlor
Loading docs

Taking longer than usual. Check your connection, or reload the page.

Arc

Chain facts for Arc, Circle's L1 with USDC as the gas token. Mainnet and testnet parameters, how to connect a wallet, what Squidlor runs on each, and which one the public API serves.

Arc is Circle's Layer 1 and the chain where Squidlor runs its full stack: oracle, relays, prediction market, public API, SDK and agent tools. Arc mainnet is live, and it is the chain the public API, the SDK and the agent tools serve. The oracle also runs on Arbitrum One and Base. Arc Testnet runs the same seven pairs for anyone integrating before they go to production.

Important

The public API serves mainnet only. https://api.squidlor.com/aggregator/v1/arc/... returns chain 5042, and asking it for 5042002 returns chain not supported. Testnet integrators read the contracts directly over RPC; see building against testnet.

Chain facts

These hold on both networks:

FactValue
Gas tokenUSDC. The native balance a wallet shows (and msg.value, eth_getBalance) is an 18-decimal view; the same balance is readable as a 6-decimal ERC-20 at 0x3600000000000000000000000000000000000000.
Base feeFlat floor of 20 gwei. A transaction whose maxFeePerGas is under 20 gwei is dropped silently rather than rejected.
BlocksAbout 0.5 seconds apart. Timestamps are non-decreasing and can repeat across consecutive blocks.
FinalityInstant on inclusion. There is no reorg window to wait out.

And these differ:

Arc MainnetArc Testnet
Chain ID5042 (0x13B2)5042002 (0x4CEF52)
Network nameArcArc Testnet
RPChttps://rpc.mainnet.arc.iohttps://rpc.testnet.arc.io
Explorerhttps://explorer.arc.iohttps://explorer.testnet.arc.io
Gas USDCReal. Fund the wallet.Free from https://faucet.circle.com
Public APIYes, slug arc or 5042Not served
Addressesdeployed addressesResolve from the registry, below
Shell
curl https://api.squidlor.com/aggregator/v1/arc/feeds

Adding Arc to a wallet

The wallet parameters are the row values above. For Arc mainnet:

JSON
{
  "chainId": "0x13B2",
  "chainName": "Arc",
  "rpcUrls": ["https://rpc.mainnet.arc.io"],
  "nativeCurrency": { "name": "USDC", "symbol": "USDC", "decimals": 18 },
  "blockExplorerUrls": ["https://explorer.arc.io"]
}

For Arc Testnet:

JSON
{
  "chainId": "0x4CEF52",
  "chainName": "Arc Testnet",
  "rpcUrls": ["https://rpc.testnet.arc.io"],
  "nativeCurrency": { "name": "USDC", "symbol": "USDC", "decimals": 18 },
  "blockExplorerUrls": ["https://explorer.testnet.arc.io"]
}

decimals stays 18. The native currency is USDC, but the wallet-visible balance is the 18-decimal native view, so formatEther on a balance and /1e18 gas math are both correct. Reading the 6-decimal ERC-20 view for anything that credits a balance truncates.

Squidlor's own frontends read every one of these fields from their build environment, so nothing in a consumer contract changes between the two networks. Only the addresses do.

Gas, in dollars

Because the gas token is USDC, every gas figure on Arc is already a dollar figure. At the 20 gwei floor:

ActionGasCost
Full Squidlor deploy: oracle, seven aggregators, registry, prediction marketabout 46.8Mabout 0.94 USDC
One relay push carrying every feedabout 350kabout 0.007 USDC
One prediction-market round, created and resolvedabout 0.07 USDC

Gas is not a budget line on Arc. Funding the deployer and the relay wallet is.

Warning

Pin the gas price at or above the floor. Configurations carried over from cheaper chains pin 0.05 to 0.15 gwei, which is 100x under Arc's floor: the transaction never lands and never errors. Use 25 gwei, or let your client use EIP-1559 estimation.

What Squidlor runs on Arc

Oracle. One SquidlorAdapterV2 with seven SquidPriceFeed proxies and seven SquidlorOracleAggregator instances, all 8-decimal MEDIAN, one per pair: BTC/USD, ETH/USD, SOL/USD, NVDA/USD, TSLA/USD, AAPL/USD, GOOGL/USD. AggregatorRegistry registers all seven. Every address is on deployed addresses, generated from the deployment manifest so it cannot drift. The adapter also carries the KARMA/USD partner feed.

Sources per aggregator. Nobody has published Arc feed addresses for any push oracle yet, so each aggregator starts with one on-chain source, Squidlor's own feed, at minHealthySources = 1. Cross-checking against other venues still happens, but off-chain: the relay medians several exchanges before it signs, so the value stored on Arc is a median anchored by one contract rather than an on-chain median of two oracle networks. When Chainlink or RedStone publish Arc feeds, a second source is one addSource call on the live aggregator and minHealthySources goes to 2. The trust model states what this means for a consumer.

Relay. Two processes on separate signer keys. The crypto relay pushes BTC, ETH, SOL and VIRTUAL on a 2% deviation or a 55-minute heartbeat; the equity relay pushes NVDA, TSLA, AAPL and GOOGL on the same trigger during the US regular session, 09:30 to 16:00 ET, medianing four market-data APIs. A third process pushes KARMA/USD. The crypto and equity relays read the venue median the realtime price stream publishes every second.

Staleness windows. Each aggregator drops its Squidlor leg once the last push is older than 3,600 seconds for BTC, ETH and SOL and 7,200 seconds for the equities.

Settlement round. The prediction-market resolver settles on the last round in the 30 minutes before a market closes. The 55-minute heartbeat does not always land one there, so in the 25 minutes before every open market's close, and before every 00:00 UTC, the relay pushes any feed whose newest round is older than that window. Every market finds a round to settle on.

Prediction market. MarketFactory, ConditionalTokens, the FPMM factory, SquidlorPriceResolver, sqUSD, the subsidy vault and the netting relay are all on Arc. See prediction markets.

KARMA/USD

KARMA/USD is the price of Karma by Virtuals, a token on Robinhood Chain, published on Arc so KARMA prediction markets can settle here. It is a feed on the adapter, not an aggregator pair: there is no AggregatorV3Interface address for it.

FactValue
Feed IDbytes32("KARMA") = 0x4b41524d41000000000000000000000000000000000000000000000000000000
Adapter0x0e674eeaaDB0213DE29C72aeFfD3d85E592024Bb
Decimals8
UpdatesPaused since 13 November 2026: no new KARMA markets, and the feed stops updating once the last open KARMA market has settled.
Live sinceOctober 2026

The value is the same one published on Robinhood Chain: a 30-minute time-weighted average of KARMA's Uniswap v2 pair, converted to USD and checked against DexScreener. Robinhood Chain describes the pricing. The adapter also carries KARMA.B47F4702, KARMA's market cap in USD, for markets created on it before KARMA moved to a price feed.

Shell
FEED=0x4b41524d41000000000000000000000000000000000000000000000000000000
ADAPTER=0x0e674eeaaDB0213DE29C72aeFfD3d85E592024Bb
RPC=https://rpc.mainnet.arc.io

ROUND=$(cast call $ADAPTER "latestRoundForFeed(bytes32)(uint80)" $FEED --rpc-url $RPC)
cast call $ADAPTER "getPrice(bytes32,uint80)(uint256)" $FEED $ROUND --rpc-url $RPC   # USD, 8 decimals

Explorer and verification

Arc's explorer is Blockscout. Contract pages at https://explorer.arc.io/address/<address> show verified source for every Squidlor contract, and a transaction is at /tx/<hash>. The testnet explorer is the same software at https://explorer.testnet.arc.io. Squidlor's own surfaces build every explorer link from the chain's configured explorer URL, so no link is hardcoded to one network.

Building against testnet

Both networks run the same seven pairs, the same contracts and the same relays. Two differences decide how you integrate.

The public API is mainnet only. Every documented endpoint, every SDK call and every agent tool answers for chain 5042. There is no testnet equivalent, and no testnet slug: /v1/5042002/feeds returns chain not supported. On testnet you read the contracts yourself over https://rpc.testnet.arc.io, with the same ABI the contract quickstart uses.

Testnet addresses are not published on this site. Deployed addresses is generated from the mainnet manifest. Testnet addresses differ, and the registry is the way to get them without hardcoding anything:

Shell
# Arc Testnet registry
cast call 0x610cC0E643dF3DC452929cfD0A4ADCdDB406B587 \
  "getAggregatorByName(string)(address)" "BTC/USD" \
  --rpc-url https://rpc.testnet.arc.io
# 0xE6727b1eE47e3056A29ECeDc82EDDd1161Ca6c21

The same call against the mainnet registry at 0x3c8552764DC0f8719cC6cedab81C4659E18D9574 over https://rpc.mainnet.arc.io returns the mainnet aggregator. Writing your consumer against the registry rather than a hardcoded address is what makes promoting it from testnet to mainnet a config change.

Testnet USDC comes from https://faucet.circle.com. Testnet state is not carried to mainnet, and a testnet address is never reused on mainnet.

Reading Arc from your own infrastructure

  • https://rpc.mainnet.arc.io and https://rpc.testnet.arc.io are the public RPCs. Mirrors exist on dRPC, QuickNode and Alchemy (with a key). Squidlor's relay runs an ordered failover pool rather than trusting one endpoint.
  • Assert eth_chainId before trusting any address. Squidlor has run the same contract address on more than one chain, so an address alone does not tell you which network answered.
  • PREVRANDAO returns 0 on Arc, there are no blob (type-3) transactions, and the beacon-root contract is absent. None of Squidlor's contracts depend on any of those.
  • A native transfer to address(0) reverts unless zero-value, and value sent to a precompile reverts.
  • Multicall3 is at 0xcA11bde05977b3631167028862bE2a173976CA11, the same address as on other EVM chains, and the deterministic CREATE2 factory at 0x4e59b44847b379578588920cA78FbF26c0B4956C is deployed.