Overview
NEXUS vaults are Taproot addresses that enable trustless deposits and withdrawals between L1 and L2.Vault Structure
Each vault is a P2TR (Pay-to-Taproot) address with two spending paths:Protocol Path
The protocol maintains L1 vault balances to always match L2 balances, ensuring 1:1 backing at all times.Escape Path
Users can recover funds after a timelock (default: 2016 blocks ≈ 2 weeks). This ensures users always have a way to exit.Deposit Flow
- User derives vault address from their pubkey + protocol key
- User sends BTC/ZEC/DOGE to vault address
- NEXUS detects deposit on L1
- User receives vSAT (virtual satoshis) on L2
Withdrawal Flow
- User requests withdrawal on L2
- NEXUS queues withdrawal
- Protocol signs L1 transaction
- User receives funds on L1
Deriving Vault Address
Security
- Escape hatch: Users can always exit after timelock
- No custodial risk: Protocol cannot steal funds
- Transparent: All vault operations are on-chain