Crosschain Architecture
The Problem
Most privacy protocols deploy a separate pool on each chain.
This fragments the anonymity set:
- fewer users per pool
- weaker privacy guarantees
- worse UX across chains
The Solution
Shinobi Cash maintains one canonical privacy pool on a single chain, while allowing users to deposit from and withdraw to many chains.
Result:
One pool. Every chain. Stronger anonymity.
Key Concepts
| Term | Meaning |
|---|---|
| Pool chain | The chain where the privacy pool lives |
| Origin chain | Any chain users deposit from or withdraw to |
| Intent | A request to move funds across chains |
| Solver | An off-chain actor that fulfills intents for a fee |
| Escrow | Funds locked until the intent is completed or expires |
How Solvers Work
Solvers are permissionless off-chain actors.
They:
- Monitor chains for new intents
- Execute the requested action on the destination chain
- Prove execution via an oracle
- Receive escrowed funds as payment
A solver may choose not to act, but cannot steal funds.
Crosschain Deposits (High Level)
- User deposits funds on an origin chain
- Funds are escrowed and an intent is created
- A solver fulfills the intent on the pool chain
- A deposit commitment is added to the privacy pool
- Solver proves completion and receives escrowed funds
Deposits are only accepted if the intent corresponds to a real escrowed deposit.
Crosschain Withdrawals (High Level)
- User generates a zero-knowledge proof on the pool chain
- A withdrawal intent is created and funds are escrowed
- A solver executes the withdrawal on the destination chain
- User receives funds
- Solver proves completion and receives escrowed funds
Withdrawals are privacy-preserving and unlinkable to deposits.
Refunds and Failure Handling
If an intent is not filled before expiry:
| Flow | What Happens |
|---|---|
| Deposit | Funds are returned directly to the depositor |
| Withdrawal | A refund commitment is created in the pool |
This ensures funds are never lost, even if no solver participates.
What This Design Guarantees
- One shared anonymity set across chains
- No reliance on trusted relayers
- No loss of funds due to solver failure
- Privacy preserved across chains
Learn More
- Shinobi x OIF — Settlement mechanics
- Compliance — ASP-based compliance
- Privacy Pools — Cryptographic foundations