Development - To Do

βœ… Moonbound Development To-Do List

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

  1. MoonboundVault.sol with full revenue logic

  2. Weekly distribution trigger (Keeper-compatible or manual DAO)

  3. Backend volume indexer / snapshot generator

  4. NFT staking integration module (read-only)

  5. LP staker + NACHO swap and deposit integration

  6. Graduation contract logic (including Zealous LP burn)

  7. Testing suite (mock stakers, mock DEX, graduation scenarios)

  8. Frontend live feed & data push (WebSocket + UI)

  9. Public dashboards & analytics (Stats, Volumes, Leaderboards)


Let us know if you need help scaffolding smart contracts, backend volume services, or staker scripts.

Last updated