moonerDocs

Integrating terminals and bots

What a trading terminal, bot or indexer needs to handle Mooner coins correctly.

Mooner's rules live in its contracts, so they apply to every transaction, whatever sends it. A terminal that ignores them does not bypass them: its users just get surprised. This page is the checklist to avoid that.

See Contracts on HyperEVM for every call and event.

  • Recognize a coin. Every coin is born in a CoinCreated event from Mooner's launchpad; curves(token) holds its state.
  • Quote with the contract. quoteBuy(token, wallet, budget) returns what a buy gives right now, the trading fee, the 5% tax past the wallet's max and any refund included; maxWalletOf(token) is the max in tokens. Show the tax when there is one.
  • Send buys from the wallet itself. Buys from a contract are refused, only the creator buys in the launch block, and a wallet can't sell a coin in the block it bought it.
  • After graduation (migrated), the coin trades in its Project X pool (V3Graduator.poolFor(token)), a normal 1% pool with no max and no tax. Its liquidity is locked: nobody can drain it.

Get in touch

Building an integration? Reach out to the team on Telegram: we will help you test it on testnet.