Skip to main content

Sale Pallet

The Sale pallet enables structured token sales with configurable pricing, quantities, and role-based bonuses.


Sale Mechanics

  1. Only the token creator can create sale stages
  2. Set quantity and price per stage
  3. Bank balance verified (sufficient tokens must exist)
  4. Buyers pay with any supported wrapped token (BTCU, ETHU, etc.)
  5. Tokens transfer from bank → buyer; payment from buyer → bank
  6. Bonuses distributed automatically

Bonus System

RoleCash BonusToken Bonus
Core TeamConfigurable %Configurable %
AdvisorConfigurable %Configurable %
CommunityConfigurable %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