copas

Docs

How Copas works

Copas is bonded copy trading on Monad. Leaders put an AUSD bond and an onchain mandate behind their trading; followers copy their Perpl positions through a vault they own; a breach slashes the bond to the followers. Everything below runs on Monad testnet (chain 10143).

The mechanism

  1. 1. Leader bonds

    A leader creates a LeaderBook, deposits AUSD into its own Perpl account, posts an AUSD bond and declares a mandate: max drawdown per epoch, max leverage, max notional, allowed markets, performance fee. Mandate changes only take effect from the next epoch.

  2. 2. Follower copies

    A follower signs in with a Mera passkey, creates a FollowerVault they own (it holds its own Perpl account) and follows with their own caps: ratio, max leverage, max notional, price band, stop-loss. Anyone may call sync(), but it can only move the vault toward ratio × the leader's live Perpl position, inside those caps.

  3. 3. Checkpoints

    Each checkpoint reads the leader's equity straight from Perpl state in the same block (no oracle) and updates the unit price and high-water mark. Fees are taken only above each follower's own high-water mark.

  4. 4. Breach

    If drawdown passes the mandate, the same checkpoint flags the breach, slashes the bond and fee escrow into a pot, and follower vaults unwind. Each follower claims its real loss from the pot, paid to its own wallet. No vote, no admin key.

  5. 5. Consent

    If a leader loosens its mandate, vaults stop copying until their owner accepts the new terms; the fee is always the lower of the live and the accepted fee.

Try it

  1. Create a passkey account from the account menu (needs a passkey manager with PRF: Windows Hello, iCloud Keychain, Google Password Manager, 1Password).
  2. Account menu → Get testnet MON + AUSD.
  3. Open a leader, follow it (first vault deposit is exactly 100 AUSD, Perpl's account minimum), then watch the copy in My vault.
  4. Or trade on your phone at /trade.

Design rules

  • The backend never holds follower funds; withdrawals only go to the vault owner.
  • Copy-only: sync() has no discretion beyond ratio × leader position inside your caps.
  • No oracle in money logic: equity, drawdown, breach and settlement come from Perpl views in the same block.
  • AI explains, rules execute: Kimi K3 writes the risk analysis (signed), contracts decide.
  • Honest risk: max protection = bond / follower capital is always shown.

Pages

/Bonded leaderboard
/leader/<book>Mandate, bond, drawdown, positions, AI risk analysis (Kimi K3, signed), Nansen alignment, checkpoints and breaches
/follow/<book>Follow ticket with your own caps
/meYour vaults, copied positions, claims, mandate consent, Dynamic guard
/tradeMobile trading app: passkey account, AUSD, Perpl orders gated by your own mandate
/market/<book>Kuru DOWN market for a leader (bet on or hedge a breach)
/proofRecompute a breach from Perpl state; Privy policy DENY log
/analyticsPerpl risk dashboard (Envio): liquidations, funding, OI, cohorts, oracle cross-check
/seasonsLeaders ranked by what followers took home
/become-leaderPost a bond and a mandate (imports a Hyperliquid track record)
/underwriteAdd AUSD to a leader's protection pool
/savedLive Perpl losses vs what a Copas bond would have returned

Built with

PerplContracts hold Perpl accounts and trade via execOrder; keeper copies longs and shorts; REST data for analytics
KuruPer-leader DOWN tokens (a CDS on a trader) listed on Kuru order books, quoted by our market maker
MeraPasskey is the whole account layer; a second PRF key encrypts leader notes for followers only
Agora (AUSD)Collateral everywhere; supply, peg and reserves cross-checked live on /trade
PrivyKeeper server wallet with ALLOW/DENY policy and gas sponsorship
DynamicMPC operator wallets behind a Copas allowlist, email wallets, unfollow-only delegated guard
EnvioHyperIndex over every Perpl event + Copas contracts; HyperSync for Kuru fills
Chainlink CRERisk-guardian workflow that can checkpoint risky leaders
Aurora IntentsAny-chain deposit to USDC on Monad
NansenLeader discovery and smart-money alignment, paid per call with x402
KimiSigned AI risk analyst: AI explains, the contract enforces
AlchemyPrimary Monad RPC + Notify webhook to Telegram alerts
MetaMaskmm copas Agent Wallet plugin with mandatory risk limits

For developers and agents