himess.dev
All projects
Live2026

Roil

Privacy treasury on Canton Network

Stack

  • Daml
  • Canton
  • Next.js
  • TypeScript
  • Passkeys

Highlights

  • ·10 Daml contracts, 79 on-ledger tests, CI green
  • ·Passkey / Google / Email custom wallet, no MetaMask
  • ·Treasury swap AMM with oracle pricing and 0.5% spread
  • ·Whitelist, DCA, rewards, portfolio, governance
  • ·Public and private repos split to protect the UI

Problem

Canton Network has no MetaMask, no Uniswap, and no shared public liquidity. Every app ships its own wallet and its own exchange. For a privacy-first treasury that is a feature, but it means building the whole stack.

Approach

Ten Daml contracts cover the primitives: portfolio, DCA, reward tracking, transfer preapproval, treasury, whitelist, and governance. The frontend ships a custom wallet with Passkey, Google, and Email as entry points so onboarding stays web-native. A small oracle-priced AMM with a tight spread supplies liquidity for the beta.

Outcome

Feature-complete and deployed at roil.app. Validator application prepared for the Canton Foundation. Team is in DEX partnership talks.