FairtabDocsGitHubOpen Fairtab

Fairtab technical documentation

How Fairtab works under the hood: the contracts, the addresses, the fees and the security model.

Fairtab is a non-custodial app on Arc, Circle's blockchain where USDC is the native gas token. It lets groups split bills in USDC, and it adds Send, Bulk send, Receive, Swap, Commit (yield vaults), FairID names and an AI assistant called Veltra. Fairtab never holds your keys or your funds. Everything below is also visible in the public repository.

Last updated November 20, 2026. Addresses on this page are for Arc Mainnet. Mainnet uses real funds, and onchain transactions cannot be reversed.

Network and addresses

ItemValue
NetworkArc Mainnet, chain ID 5042
RPChttps://rpc.mainnet.arc.io
Explorerexplorer.arc.io
USDC (ERC-20 interface, 6 decimals)0x3600000000000000000000000000000000000000
EURC (6 decimals)0xbEf5f6d51CB62b58e6A8f77868681825C6fe21c1
Bills contract (HouseholdBillSplitter)0xcd1dcf79d9bbf3246a21da10aecabde66fb47d08
FairID registry0x7B8574866272b19aA4cBF95033f1399f636bef3F
Commit router, USDC vaults0xAa75fD6De58DbfeF9F0AA72e5C8a03F8E0C9491D
Commit router, EURC vaults0x5B0B86786b1bcc319b6eC3d5F9244a5d54775201
Batch contract (Arc Multicall3From)0x522fAf9A91c41c443c66765030741e4AaCe147D0

On Arc, USDC is both the gas token and an ERC-20. Fairtab always reads and sends USDC through the ERC-20 interface with 6 decimals. Arc Testnet (chain ID 5042002) is also supported for testing, with its own contract addresses.

Architecture

  • Web app: React and Vite, with wagmi and viem for wallets and chain reads. It runs in the browser and talks to Arc directly.
  • Serverless functions: small endpoints on Vercel under /api. They call Circle's wallet service, Morpho's public API and the AI model provider. They keep no database and store nothing about you.
  • Contracts: three small contract sets, all independent: the bills contract, the FairID registry and the Commit routers. None of them is upgradeable.
  • Third parties: Circle (wallets, swap), Google (sign-in), Morpho and the vault curators (yield), an AI model provider (Veltra), and the Arc RPC.

Bills contract

One shared contract holds every bill. A bill has a total, a payee, a list of participants with their shares, a deadline and a cancel-vote threshold.

Lifecycle

  1. Create: createBill(totalAmount, label, payee, participants, amounts, usePercentages, deadline, recurring, recurInterval, cancelThreshold). Amounts can be fixed or percentages (basis points that sum to 10,000). Up to 20 participants.
  2. Invite and accept: everyone except the creator starts as pending and must call acceptInvite before paying. They can also rejectInvite. An invite expires after 24 hours (expireInvite).
  3. Pay: each participant calls pay(billId, amount), in one or several parts, until their share is covered.
  4. Settle: when every share is paid, the bill settles and the payee is paid. If a direct payment to the payee fails, the payee can claimPayout.
  5. Recurring bills: a settled recurring bill creates the next one after the interval. Participants must accept again.

When things go wrong

  • Cancel: participants vote with voteCancel. When the votes reach the threshold (at least 51% of eligible voters), the bill is cancelled and contributors use claimRefund.
  • Deadline: a bill that is not fully paid by its deadline lets contributors use claimExpiredRefund. A bill lasts at most 90 days.
  • Stuck payout: after a 7-day grace period contributors can vote to redirect a payout that cannot be delivered (votePayoutRedirect, quorum 51% of contributors). After 91 days reclaimStuckPayout returns the funds.

Owner powers

The contract has an owner (two-step ownership). The only owner action is recoverToken, which recovers tokens sent to the contract by mistake. The code does not allow it to take money that belongs to open bills or unclaimed payouts. There is no pause, no fee and no upgrade.

Send, Receive and Bulk send

  • Send: a plain USDC transfer from your wallet to an address or a FairID name. The name is looked up onchain at that moment. No Fairtab fee.
  • Receive: shows your address and builds a payment link with an optional amount and memo.
  • Bulk send: pays many wallets in one transaction using Arc's built-in Multicall3From contract, so every transfer is sent from your own wallet. Fairtab first simulates the transfers and skips recipients that cannot receive. It sends in batches of 50 and accepts up to 200 recipients. Bulk send needs a regular (EOA) wallet, not a smart-contract wallet. No Fairtab fee.

Swap

Swaps use Circle's swap service (App Kit) on Arc. Supported tokens on Arc today are USDC, EURC and cirBTC. Quotes are requested without a wallet prompt and refresh every 15 seconds. You pick a slippage limit (0.5%, 1% or 3%), approve the exact amount, then confirm the swap. Prices come from Circle and the liquidity providers behind it. Fairtab adds no fee.

Commit (yield vaults)

Commit lets you put idle USDC or EURC into lending vaults built on Morpho Vault V2 (ERC-4626). Each vault is run by a third-party curator. Fairtab only provides the screen and the fee router. Yield is variable and not guaranteed, and withdrawals depend on how much the vault holds in cash at that moment.

VaultCuratorTokenAddress
Gauntlet USDC BalancedGauntletUSDC0x10AF7238C6355Aa8dDB5eD60E2e9b55a72827B51
Bitwise Premium RWA USDCBitwiseUSDC0x7610094B846657dCF166D59e42973db52c7015F9
Steakhouse Prime USDCSteakhouse FinancialUSDC0xbeef0016cb2Fd5C352ea7CA08a9f54739DFa7298
Galaxy USDCGalaxy CurationUSDC0x8E357432CC12ff425c36432F312968aEb16112AF
Gauntlet USDC PrimeGauntletUSDC0xdECcd53BE5453215821184824B519E04C7e00bC7
Keyrock Prime USDCKeyrockUSDC0x5bEfAb92a5A3D60F578Cb51EEb4e4FD50a1e3123
Steakhouse Prime EURCSteakhouse FinancialEURC0xbeef00be37BdE921BAE06fad223125BAB16c41D1
Gauntlet EURC PrimeGauntletEURC0x05863F54B05e96092069eF30c9Ca6060336e50B9
Galaxy EURCGalaxy CurationEURC0x389abDf4355e0cF4f19298179991705a98f21c18

How a commit works

  1. You approve the exact amount for the router that matches the token.
  2. You call commit(vault, assets, minShares) on the router. In one transaction it sends the fee (0.23%) to the fee wallet and deposits the rest into the vault with the vault shares minted straight to you.
  3. X.
  4. You withdraw directly from the vault with your own wallet. Withdrawing is free.

The routers have no owner, no setters and cannot be upgraded. The fee, the fee wallet and the list of vaults are fixed when they are deployed. The app limits a deposit to 0.10 to 1,000 units of the token. This is an app-level limit, not a contract rule.

FairID

FairID is a small registry contract that links a short name to a wallet, so people can pay tunde instead of a long address.

  • Rules: 3 to 20 characters from a-z, 0-9 and underscore. First come, first served. One name per wallet.
  • Claim: costs a one-time 1 USDC, paid directly from you to the fee wallet. The registry holds no funds.
  • Release: you can give a name up. For 30 days afterwards only the previous owner can claim it again.
  • Transfer: moving a name takes two steps: the owner calls proposeTransfer, then the new wallet calls acceptTransfer. Nobody can push a name onto another wallet.
  • Lookup: resolve(name) returns the wallet and nameOf(wallet) returns the name.

Veltra assistant

Veltra is Fairtab's AI assistant. It answers questions and prepares a bill draft, a send, a bulk send or a swap, or opens a screen. It never signs, approves or sends anything. You review and confirm every transaction on the normal screen.

  • It uses a third-party AI model through a Fairtab server function. The text you type is sent there, so never type keys, PINs or recovery phrases.
  • Code, not the model, checks every result: an address or FairID name is accepted only if you typed it, amounts must be valid, split amounts are calculated by code, and anything else is dropped.
  • It is rate limited and can be wrong. Always read the review screen.

Wallets and sessions

  • Google sign-in: creates a Circle user-controlled wallet. It uses multi-party computation and is protected by your own PIN. Wallets are regular (EOA) accounts, and Fairtab never sees your key or PIN.
  • External wallets: MetaMask, OKX, WalletConnect and others connect through standard wallet connections.
  • Sessions: Circle's login token lasts about 60 minutes. Fairtab keeps it in the browser for up to 55 minutes, then you sign in again and get the same wallet.
  • What the browser stores: your session, theme, unfinished drafts, and the bills you have already seen. There is no Fairtab database.

Fees

ActionFairtab fee
Create, pay and settle billsNone
Send, Bulk send, ReceiveNone
SwapNone from Fairtab. Circle's swap service quotes its own fee.
Commit0.23% of the amount, once, at commit time. Withdrawing is free.
Claim a FairID1 USDC, once, non-refundable

Every transaction also pays a small network fee in USDC.

Security and audits

  • Non-custodial: Fairtab never holds your keys or funds.
  • Contract design: the bills contract, FairID and the routers are not upgradeable. FairID and the routers have no owner and cannot change their fees or lists.
  • Testing: the contracts are covered by 233 automated tests, including fuzz and invariant tests, plus static analysis and structured reviews. They have not had an independent third-party audit. Treat them accordingly and only use amounts you can afford to lose.
  • Known limits of the bills contract: if a participant rejects or an invite expires after others have paid, a bill can stay open until its deadline or a cancel vote. Details are in the public repository.
  • Website: secrets are never committed. The site sends security headers that block framing and content sniffing.
  • Report a problem: email contact@fairtab.online with the steps to reproduce. Please do not post vulnerabilities publicly before we can fix them.

Source and legal

This page describes how Fairtab works and is not financial, legal or tax advice.