Architecture
Architecture Overview
Architecture Overview
Vauban is a liquid staking platform on Starknet with a transaction preparation pattern where the backend prepares calldata but never executes transactions.
Core Design
Vauban uses a transaction preparation pattern: the backend prepares calldata but never holds private keys. All signing happens client-side in the user's wallet.
Key Design Decisions
- Transaction security: Backend never holds private keys
- Centralized delegation: VaubanManager is the single
pool_member, aggregating all users to reduce commission costs - Dual-pool system: Separate STRK and BTC delegation pools managed by the same contract
- All rewards in STRK: Regardless of staked asset, Starknet pays rewards in STRK
- 7-day unbonding: Protocol-level requirement with epoch-based batching for multiple users