Moonit
XMoonitTelegram
  • Welcome
  • DOCS
    • Bot SDK
    • Bonding curves
    • Terms of Use
    • Privacy Policy
Powered by GitBook

Resources

  • Design Assets

© moon.it 2025 - All rights reserved

On this page
  • Overview
  • Installation
  • Example Code
  • Migration from @wen-moon-ser/moonshot-sdk
Export as PDF
  1. DOCS

Bot SDK

Calculate prices and execute buy/sell and mint transactions via the Moonit SDK

PreviousWelcomeNextBonding curves

Last updated 28 days ago

Join our for updates


Overview

The Moonit SDK provides the following functions :

  • Make full use of all features for our two curve options: standard and flat curves

  • Mint a Token

    • Prepare and Submit Transactions

    • Upload All Assets

    • Mint and submit multiple txs using your own

  • Retrieve Token Price & Position on Bonding Curve

  • Calculate Collateral & Token Flow (In/Out)

  • Execute Buy & Sell Transactions (both Exact In and Exact Out)


Installation


Example Code

The buy and sell instructions are also available on-chain via the Smart Contract and accessible through CPI (Cross-Program Invocation).

Migration from @wen-moon-ser/moonshot-sdk

If you are using the old moonshot-sdk there is a simple way to migrate to @moonit/sdk as the packages are compatible.

Replace the dependency @wen-moon-ser/moonshot-sdk with @moonit/sdk and update all Moonshot class imports with Moonit . Example:

developer TG channel
RPC/Jito
npm: @moonit/sdknpm
GitHub - gomoonit/moonit-bot-examples: Examples for using the official SDK https://github.com/gomoonit/moonit-sdkGitHub
Logo
Logo