mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 14:47:58 +00:00
3b377ea857
Implemented complete presale system for PEZ token distribution: Backend (Pallet): - Created pallet-presale at /home/mamostehp/Pezkuwi-SDK/pezkuwi/pallets/presale/ - Accepts wUSDT (Asset ID 2) contributions - Tracks all contributors and amounts - Distributes PEZ (Asset ID 1) after 45-day period - Conversion rate: 1 wUSDT = 100 PEZ - Includes emergency pause/unpause functionality - Runtime integration documentation provided Frontend: - Created Presale page with contribution form - Live stats: time remaining, total raised, contributors count - Real-time balance display and conversion calculator - Progress bar showing fundraising goal ($1M target) - Added route /presale and navigation under Trading menu - Connected to PolkadotContext and WalletContext Technical Details: - wUSDT: 6 decimals (Asset ID 2) - PEZ: 12 decimals (Asset ID 1) - Duration: 648,000 blocks (45 days @ 6s blocks) - Treasury: PalletId "py/prsal" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>