Inspiration Our teammate RuoHan spent last summer traveling Southeast Asia. Nearly everyone around him, from street food to small shops, paid with QR. As an American, he had to download multiple apps to deposit money and get verified for each, which is a small hassle for a tourist. But for someone on a business trip spending company money, this becomes a real problem. The employee ends up using cash or a personal card. It then becomes finance’s problem to figure out what was spent, in what currency, and whether it was allowed. Tools like Ramp and Brex handle spend management well inside the card networks but they aren’t built for a company whose people need to pay on rails that Visa and Mastercard don’t reach.
The more we looked into it, the bigger it got. Companies with branches in several countries deal with this constantly. Each country pays on its own rails: Pix in Brazil, PromptPay in Thailand, QRIS and BI-FAST in Indonesia, ACH in the US and each rail needs its own bank relationship. If the Bangkok branch runs low on cash and New York has too much, moving money between them takes days and loses value to FX fees.
Blockchain was meant to enable global payments, but it just became another payment rail that is fragmented (eg: try buying walmart products with crypto). Sancus unifies payments together, and with Circle's arc as our underlying engine, we can bring all payment rails together under one balance to enable new consumer experiences.
What we learned A testnet isn’t the same as mainnet. A lot of the infrastructure we’d use in production either doesn’t exist on testnet or doesn’t support the currencies we needed. So we had to decide what to build ourselves, and we built each piece so it can be swapped out later. Moving the money was the easy part. The hard part was proving every cent ended up where it should, across branches, rails and chains. Spending rules have to run on the server before any money moves. If an approval rule only lives in the UI, someone can just skip it.
How we built it Sancus is a Next.js app with TypeScript route handlers, backed by Supabase Postgres. Money sits on Circle’s Arc testnet as USDC in developer-controlled wallets. Local rails connect through sandbox adapters, with a mock provider modeled on Bridge’s API standing in for ACH. We wrote and deployed our own Solidity contracts for FX, local stablecoins and tokenized equities. Yield comes through Circle’s EarnKit, the assistant runs on OpenAI tool calling with ElevenLabs for voice, and outside agents pay us per request over x402 through Circle’s Gateway nanopayments. The full list of tools is below.
Challenges we faced Every local rail had a different sandbox, and some weren’t publicly available at all, so we had to bring them under one model and clearly label anything simulated. Testnet had gaps too, since StableFX doesn’t support the currencies we needed and USDC faucets are rate-limited. Hence, we built our own FX contract and test stablecoins on Arc, set up so the real versions can replace them on mainnet. The hardest part was keeping money correct as it moves. One payment can pass through several rails and an onchain leg, and any step can fail, so we built each transfer to save its progress step by step and recorded everything in a ledger that has to balance, so money is never lost or counted twice.
Built With
- android
- arc
- circle
- circle-gateway
- circle-nanopayments
- circle-wallets
- claude-api
- kotlin
- next.js
- nfc
- node.js
- postgresql
- react
- solidity
- supabase
- tailwind-css
- typescript
- usdc
- viem
- x402