Skip to main content

Deposits Pallet

The Deposits pallet handles cross-chain cryptocurrency deposits, verification, and wrapped token minting.


Deposit Flowโ€‹

1. User initiates deposit โ†’ selects token and amount
2. System assigns vault โ†’ least-risky available vault
3. Unique amount generated โ†’ precise amount for security
4. User sends crypto โ†’ exact amount to vault address
5. Off-chain verification โ†’ staking workers validate
6. Wrapped tokens minted โ†’ credited to user's wallet

Key Detailsโ€‹

AspectDetails
Vault AssignmentAutomatic โ€” least risky vault selected
Unique AmountPrecise amount prevents fraud/impersonation
VerificationOff-chain workers validate on source blockchain
MintingWrapped tokens (BTCU, ETHU, etc.) minted on verification
Supported Assets14+ major cryptocurrencies

Cross-Pallet Interactionsโ€‹

  • Vaults โ€” Receives the actual cryptocurrency
  • Assets โ€” Mints wrapped tokens
  • Staking Worker โ€” Verifies transactions
  • Oracle โ€” Provides price data for amount calculations

โ†’ See: Deposits Guide ยท Vaults