Sale Pallet
The Sale pallet enables structured token sales with configurable pricing, quantities, and role-based bonuses.
Sale Mechanics
- Only the token creator can create sale stages
- Set quantity and price per stage
- Bank balance verified (sufficient tokens must exist)
- Buyers pay with any supported wrapped token (BTCU, ETHU, etc.)
- Tokens transfer from bank → buyer; payment from buyer → bank
- Bonuses distributed automatically
Bonus System
| Role | Cash Bonus | Token Bonus |
|---|---|---|
| Core Team | Configurable % | Configurable % |
| Advisor | Configurable % | Configurable % |
| Community | Configurable % | Configurable % |
All bonuses default to 0%.
Stable Sales
Automatically generated for stablecoin purchases:
- Oracle-priced for accuracy
- No bonuses
- Payment in wrapped crypto only
Security
- Signed account origin required
- Ownership verification for sale creation
- Threshold checks on price/quantity/bonus inputs
- Oracle registration for accurate pricing
→ See: Token Sale Guide