TreasuryForge

Glass‑box USDC treasury automation for Arc, Circle Gateway, and Sui.

TreasuryForge

Created At

HackMoney 2026

Project Description

TreasuryForge is a glass‑box USDC treasury system built for risk‑off markets. It solves a personal problem I face personally right now. Because of the market conditions I am holding stables, yields are moving fast and are very volatile due to the price fluctuations - hence the best bets are stablecoins and yield pools. I don’t have the time or confidence to constantly rotate across chains and venues. The vault is intentionally simple for users: deposit on Arc Testnet, choose a policy, and let the agent do the rest. Users can pick RWA yield (powered by Stork yield signals and USYC on Arc) or DeFi yield strategies.

The key to the simplicity is Circle’s infrastructure. Arc Testnet gives us a unified USDC balance, and Circle Gateway lets the agent route liquidity across chains without rebuilding bridge complexity. We can move USDC to the best‑yielding venues when it’s worth it. And thanks to Circle’s CCTP routes, we’re not limited to EVM only—Sui and DeepBook become first‑class options. The agent can move funds to Sui, deploy into DeepBook liquidity, and return capital when yields change. Users don’t need a separate non‑EVM wallet; the agent handles it.

Everything is observable: the agent monitors yields, executes borrows/deposits/repays, and streams every decision to a live ops console. The UI shows positions, transaction hashes, and a decision feed, so users can track exactly what the agent did and why.

How it's Made

TreasuryForge is stitched together from three layers: an Arc vault, a TypeScript agent, and a live ops UI.

  • The vault is a Solidity contract (Foundry) that handles USDC deposits, user policies, agent‑only borrows/repays, and withdrawal requests on Arc testnet.
  • The agent is a Node/TypeScript service with a plugin system: arc‑rebalance pulls Stork signals and routes into USYC; gateway‑yield uses Circle Gateway to move USDC across Arc/Base/Eth/Avalanche and compares yields (DefiLlama + Aave fallback); sui‑yield computes DeepBook spread‑based yield signals and can bridge to Sui for liquidity deployment.
  • Wormhole CCTP is used to move USDC to Sui, and the agent can mint/manage a custodial Sui key so users don’t need a separate wallet.
  • The frontend is React + Vite + Tailwind, reading live logs and state from a lightweight HTTP API the agent exposes, including positions and tx links.
  • For demo reliability, we added mock fallbacks when allowlisting or external routes are unavailable.

Some tx links that are useful

Bridging from Base to Sui: https://wormholescan.io/#/tx/0x163ec1e8284b08bde3cabc6dd2c62b5535c91cb76f642fd1408cc4d3f7c496fd?network=Mainnet

Vault withdraw

https://sepolia.basescan.org/tx/0x7808992e5bb41d48b66f35bb72c37c37a8a0c75aadcd85fcce31248b17b2bb2b

Gateway Deposit Base

https://sepolia.basescan.org/tx/0x9db62eb0dd1b796f3ff5f4227ab7a7bb7751eaf385e06a7127252e81d25e6dcc

Gateway Mint (Base)

https://sepolia.basescan.org/tx/0xfefa611541df4b8c36c650540e6b022464c51c2cfd4f882c7bd1e9b9b26b0f1f

Gateway Mint (arc)

https://testnet.arcscan.app/tx/0x4ecc6fc4fd90583872811783b24f7ad612cedd00c994d3ce559f36ac321b29e8

background image mobile

Join the mailing list

Get the latest news and updates