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โ
| Aspect | Details |
|---|---|
| Vault Assignment | Automatic โ least risky vault selected |
| Unique Amount | Precise amount prevents fraud/impersonation |
| Verification | Off-chain workers validate on source blockchain |
| Minting | Wrapped tokens (BTCU, ETHU, etc.) minted on verification |
| Supported Assets | 14+ 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