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
| Balance | Where it lives | Who can move it |
|---|---|---|
| Your wallet | Your Solana token account | Your wallet key |
| Private balance | Cosign ledger, backed by the vault | Your wallet sign-in |
| Protected balance | Cosign ledger, backed by the vault | Wallet sign-in + spare key to release; spare key alone to recover |
Sending
- Fund. A normal USDC transfer from your wallet to the vault. The server checks the transaction on-chain before crediting you.
- Send inside Cosign. A ledger move between two wallet addresses. No transaction, no gas, nothing public.
- 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
- Deposited USDC sits in a vault wallet run by the operator; the ledger records who owns what.
- Private sends are private from the public chain, not from the operator.
- Cosign runs on Solana. Your deposits and payouts rely on Solana's own security.
- Losing your spare key means protected funds can't be released. There is no reset.