This document outlines all remaining development tasks to bring Moonbound to full production. Moonbound is a high-throughput, first-class launchpad and bonding curve platform for Kaspa's EVM Layer 2. Given its expected usage by tens of thousands of users and hundreds of tokens, the final implementation must be robust, scalable, and provide an exceptional user experience.
β Core Systems Required for Launch
β‘οΈ Goals for Implementation (ASAP)
These items are critical for scaling Moonbound and ensuring seamless live user experiences:
π WebSocket Live Feeds
Real-time display of token buys/sells on frontend
Push updates for prices, volume, and token status
Enables responsive dashboards, live activity feeds, and instant UI refreshes
π― Enhanced UX Event Feedback (see UI/UX Improvements)
Audio/visual feedback on buys (βka-chingβ, βJust Mooned πβ)
Price flash and badge animations
Temporary float-to-top tokens after large buys
π Historical Data Tracking
Token charts (price over time, volume by hour/day)
Volume trends to inform traders and track project performance
π Public Stats Dashboard
Top projects by volume this week
Revenue leaderboard
Staker rankings and pool share transparency
π§ Remaining Development Items
π Moonbound Vault Smart Contract
Purpose: Centralized contract for collecting KAS revenue and distributing weekly payments to protocol stakeholders.
Functionality:
Accept deposits from bonding curve trading and graduation fees
Deduct 10 KAS per week (gas reserve)
Distribute remaining balance weekly to 4 recipient categories
Function Example:
πΈ Revenue Share Breakdown
1. 70% β Kaspa Alliance for Transparency
Hardcoded wallet address
Direct wKAS transfer from vault
2. 10% β Volume-Weighted Launched Projects
Rules:
Only tokens with trading volume in the current 7-day cycle are eligible
Rewards sent to the token creator/deployer address
Needs:
Backend indexer or subgraph to track volume per token
Weekly structured volume snapshot passed into the vault or helper
Example:
3. 10% β Nacho Kats NFT Stakers
Integration Steps:
Get total stakers: stakersList.length
For each staker, fetch getUserTotalPower(address)
Retrieve global: totalPowerStaked
Calculate share: userPower / totalPowerStaked
Reference: See NFT Staker Integration Docs
Tip: Create an offchain script to compile the full staker/power snapshot each week and submit via multisig or automation.
4. 10% β Nacho Infinity Pool Stakers
Special Flow:
Swap wKAS β NACHO via DEX (e.g., InfinitySwap)
Approve + deposit NACHO to Infinity Pool smart contract
Solidity Steps:
Preconditions:
Validate router and token addresses
Gas usage must stay within 10 KAS buffer
Fallback logic if swap fails or slippage is too high
π§ͺ Token Graduation Logic
π Trigger Conditions
All curve tokens sold (s == S)
No wallet holds more than 10% of total supply
π οΈ Actions
Use reserved 25% supply + equivalent wKAS to create LP
Launch trading on Zealous DEX
Burn LP tokens to lock liquidity
Disable bonding curve interaction
Mark token as βGraduatedβ in registry
π§ͺ QA / Testing Requirements
π Security & Gas Strategy
Always reserve 10 KAS before any distribution
Add onlyKeeper or DAO-controlled function trigger
Prevent reentrancy or gas drain via staking or swap integrations
Ensure LP tokens are burned and not retained
π¦ Final Dev Deliverables
MoonboundVault.sol with full revenue logic
Weekly distribution trigger (Keeper-compatible or manual DAO)