5.4k★by chillbruhhh
moltmoon-sdk – OpenClaw Skill
moltmoon-sdk is an OpenClaw Skills integration for coding workflows. Complete OpenClaw-ready operating skill for @moltmoon/sdk. Use when an agent needs to install, configure, and operate the MoltMoon SDK or CLI end-to-end on Base mainnet, including launch dry-runs, metadata/image validation, live token launches, quote checks, buys, sells, troubleshooting, and safe production runbooks.
Skill Snapshot
| name | moltmoon-sdk |
| description | Complete OpenClaw-ready operating skill for @moltmoon/sdk. Use when an agent needs to install, configure, and operate the MoltMoon SDK or CLI end-to-end on Base mainnet, including launch dry-runs, metadata/image validation, live token launches, quote checks, buys, sells, troubleshooting, and safe production runbooks. OpenClaw Skills integration. |
| owner | chillbruhhh |
| repository | chillbruhhh/moltmoon-agentcrypto-sdk |
| language | Markdown |
| license | MIT |
| topics | |
| security | L1 |
| install | openclaw add @chillbruhhh/moltmoon-agentcrypto-sdk |
| last updated | Feb 7, 2026 |
Maintainer

name: moltmoon-sdk description: Complete OpenClaw-ready operating skill for @moltmoon/sdk. Use when an agent needs to install, configure, and operate the MoltMoon SDK or CLI end-to-end on Base mainnet, including launch dry-runs, metadata/image validation, live token launches, quote checks, buys, sells, troubleshooting, and safe production runbooks.
MoltMoon SDK Skill (OpenClaw)
Use this skill to operate the MoltMoon SDK/CLI as a complete agent workflow on Base mainnet.
Install
Use one of these paths:
npm install @moltmoon/sdk
or run without install:
npx -y @moltmoon/sdk moltlaunch --help
Runtime Configuration
Set environment variables before any write action:
MOLTMOON_API_URL=https://api.moltmoon.xyz
MOLTMOON_NETWORK=base
MOLTMOON_PRIVATE_KEY=0x... # 32-byte hex key with 0x prefix
Notes:
MOLTMOON_NETWORKsupportsbaseonly.MOLTMOON_PRIVATE_KEY(orPRIVATE_KEY) is required for launch/buy/sell.
Supported CLI Commands
Global options:
--api-url <url>--network base--private-key <0x...>
Commands:
launchLaunch token (with metadata/image/socials, includes approval + create flow)tokensList tokensbuyApprove USDC + buy in one flowsellApprove token + sell in one flowquote-buyFetch buy quote onlyquote-sellFetch sell quote only
Canonical CLI Runbooks
1) Dry-run launch first (no chain tx)
npx -y @moltmoon/sdk mltl launch \
--name "Agent Token" \
--symbol "AGT" \
--description "Agent launch token on MoltMoon" \
--website "https://example.com" \
--twitter "https://x.com/example" \
--discord "https://discord.gg/example" \
--image "./logo.png" \
--seed 20 \
--dry-run \
--json
2) Live launch
npx -y @moltmoon/sdk mltl launch \
--name "Agent Token" \
--symbol "AGT" \
--description "Agent launch token on MoltMoon" \
--seed 20 \
--json
3) Trade flow
npx -y @moltmoon/sdk mltl quote-buy --market 0xMARKET --usdc 1 --json
npx -y @moltmoon/sdk mltl buy --market 0xMARKET --usdc 1 --slippage 500 --json
npx -y @moltmoon/sdk mltl quote-sell --market 0xMARKET --tokens 100 --json
npx -y @moltmoon/sdk mltl sell --market 0xMARKET --token 0xTOKEN --amount 100 --slippage 500 --json
SDK API Surface
Initialize:
import { MoltmoonSDK } from '@moltmoon/sdk';
const sdk = new MoltmoonSDK({
baseUrl: process.env.MOLTMOON_API_URL || 'https://api.moltmoon.xyz',
network: 'base',
privateKey: process.env.MOLTMOON_PRIVATE_KEY as `0x${string}`,
});
Read methods:
getTokens()getMarket(marketAddress)getQuoteBuy(marketAddress, usdcIn)getQuoteSell(marketAddress, tokensIn)
Launch methods:
prepareLaunchToken(params)-> metadata URI + intents onlylaunchToken(params)-> executes approve + create
Trade methods:
buy(marketAddress, usdcIn, slippageBps?)sell(marketAddress, tokensIn, tokenAddress, slippageBps?)
Utility methods:
calculateProgress(marketDetails)calculateMarketCap(marketDetails)
Launch Metadata + Image Rules
Enforce these before launch:
- Image must be PNG or JPEG
- Max size 500KB (
<=100KBrecommended) - Dimensions must be square, min
512x512, max2048x2048 - Social links must be valid URLs
- Seed for normal launch must be at least
20USDC
Failure Diagnosis
Missing private key- Set
MOLTMOON_PRIVATE_KEYor pass--private-key.
- Set
Unsupported network- Use
baseonly.
- Use
transfer amount exceeds allowance- Re-run buy/sell/launch flow so approvals execute.
transfer amount exceeds balance- Fund signer with Base ETH (gas) and USDC/token balance.
ERR_NAME_NOT_RESOLVEDor fetch errors- Check
MOLTMOON_API_URLDNS and API uptime.
- Check
- image validation errors
- Fix file type/size/dimensions to rules above.
Operator Policy
- Run dry-run before every first live launch for a new token payload.
- Confirm signer address and chain before write calls.
- Keep secrets in
.env; never commit keys. - Record tx hashes after launch/buy/sell for audit trail.
No README available.
Permissions & Security
Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.
Requirements
- OpenClaw CLI installed and configured.
- Language: Markdown
- License: MIT
- Topics:
Configuration
Set environment variables before any write action: ```env MOLTMOON_API_URL=https://api.moltmoon.xyz MOLTMOON_NETWORK=base MOLTMOON_PRIVATE_KEY=0x... # 32-byte hex key with 0x prefix ``` Notes: - `MOLTMOON_NETWORK` supports `base` only. - `MOLTMOON_PRIVATE_KEY` (or `PRIVATE_KEY`) is required for launch/buy/sell.
FAQ
How do I install moltmoon-sdk?
Run openclaw add @chillbruhhh/moltmoon-agentcrypto-sdk in your terminal. This installs moltmoon-sdk into your OpenClaw Skills catalog.
Does this skill run locally or in the cloud?
OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.
Where can I verify the source code?
The source repository is available at https://github.com/openclaw/skills/tree/main/skills/chillbruhhh/moltmoon-agentcrypto-sdk. Review commits and README documentation before installing.
