Docs

How Cosign works.

Cosign is a private USDC balance layer on Solana. You deposit once, move money privately inside Cosign, and pay out to any Solana wallet when you want. An optional post-quantum spare key guards a protected balance and lets you recover it to a new wallet.

Balances

BalanceWhere it livesWho can move it
Your walletYour Solana token accountYour wallet key
Private balanceCosign ledger, backed by the vaultYour wallet sign-in
Protected balanceCosign ledger, backed by the vaultWallet sign-in + spare key to release; spare key alone to recover

Sending

  1. Fund. A normal USDC transfer from your wallet to the vault. The server checks the transaction on-chain before crediting you.
  2. Send inside Cosign. A ledger move between two wallet addresses. No transaction, no gas, nothing public.
  3. Pay out. The vault sends USDC to any wallet. That transfer is public, but it comes from the vault, not from you.

The spare key

The spare key is an ML-DSA-65 key pair (NIST FIPS 204, the lattice-based signature scheme built to resist quantum attacks). Your browser makes a random 32-byte seed and derives the key pair from it. The seed is what you back up; it starts with SK1.

Only the public key is sent to Cosign. Every protected action is a message your spare key signs, rebuilt by the server so no field can be swapped:

cosign:v1|<action>|<wallet>|<amount>|<to>|<nonce>

The nonce goes up after each use, so an old signature can't be replayed. After a valid signature the operator co-signs a receipt (ed25519) that's stored with the event.

Recovery

If your wallet key is lost or stolen, open Recover, enter the old and new wallet addresses and your spare key. The spare key signs a recover message; the protected balance and the spare key move to the new wallet. No wallet sign-in is needed, so someone holding only your old wallet key can't block it.

Only the protected balance is covered. Keep in the private balance what you're happy to guard with your wallet key alone.

Trust model