moonfunsdk
بواسطة moonnfunofficial
Image & Video Generationموجز
Professional Python SDK for creating and trading Meme tokens on Binance Smart Chain with AI-powered image generation.
الوصف
ما الذي تفعله هذه المهارة
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.
متى تستخدمها
- 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
مثال على سير العمل
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>
المتطلبات
- PRIVATE_KEY environment variable (BSC wallet private key with 0x prefix)
- BNB balance of at least 0.011 on BSC mainnet
التثبيت
clawhub install moonnfunofficial/moonfunsdkشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.