moonfunsdk
by moonnfunofficial
Image & Video GenerationBrief
Professional Python SDK for creating and trading Meme tokens on Binance Smart Chain with AI-powered image generation.
Description
What This Skill Does
Python SDK for creating and trading meme tokens on Binance Smart Chain. Handles AI image generation, token deployment, and on-chain buy/sell transactions through a single interface. Requires a BSC wallet with at least 0.011 BNB to use.
Combines AI image generation, platform metadata upload, and blockchain deployment into a single Python call instead of requiring separate tools for each step.
When to Use It
- Deploying a meme token from a text prompt in one function call
- Automating BSC token creation with AI-generated artwork
- Buying or selling BSC meme tokens programmatically
- Querying BNB and token balances from a script
- Building bots that launch tokens on the MoonnFun launchpad
Example Workflow
User asks: create a meme token for 'a happy cat celebrating'
- 1
Initialize MoonfunSDK with PRIVATE_KEY from environment
- 2
Call sdk.create_meme(prompt='A happy cat celebrating')
- 3
SDK generates AI image and auto-creates title and symbol
- 4
SDK deploys token contract to BSC mainnet
- 5
SDK returns token_address, tx_hash, and image_url
Token deployed at contract address with hosted image, viewable at https://moonn.fun/detail?address=<token_address>
Requirements
- PRIVATE_KEY environment variable (BSC wallet private key with 0x prefix)
- BNB balance of at least 0.011 on BSC mainnet
Installation
clawhub install moonnfunofficial/moonfunsdkRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.