| name | nadfun |
| description | Create and trade tokens on nad.fun (Monad). Launch tokens on bonding curves, buy/sell tokens, check market data, and analyze opportunities. Uses viem for direct smart contract interaction on Monad's EVM chain. |
| metadata | {"openclaw":{"emoji":"🔮","homepage":"https://nad.fun","requires":{"bins":["curl","jq","node"]}}} |
nad.fun
Create and trade tokens on nad.fun's bonding curve on Monad.
No authentication needed for trading. All operations use direct smart contract calls via viem. Trading is done by calling the Lens contract for quotes, then executing through the Router contract.
Scripts
All scripts are at /home/openclaw/.openclaw/skills/nadfun/scripts/
Token Creation
nadfun-create.sh [name] [symbol] [description] [image_path] [initial_buy_mon]
nadfun-create.sh
Trading
nadfun-buy.sh <token_address> <mon_amount> [slippage_pct]
nadfun-sell.sh <token_address> <amount|100%> [slippage_pct]
Market Data
nadfun-coin.sh <token_address>
nadfun-balances.sh <wallet_address>
Analysis
nadfun-analyze.js <token_address>
nadfun-analyze.js scan [limit]
Combined State (Recommended for Heartbeats)
nadfun-state.sh
Trade Tracking (P/L Management)
nadfun-track.js record <buy|sell> <token_address> <mon_amount>
nadfun-track.js check <token_address>
nadfun-track.js status
nadfun-track.js daily
How Trading Works
- Quote: Call Lens contract
getAmountOut() to get expected output and the correct router address
- Buy: Send MON to the Router's
buy() function with slippage protection
- Sell: Approve Router, then call
sell() with slippage protection (or use sellPermit() for single-tx)
- Token Creation: Upload image + metadata to nad.fun API, mine salt, then call BondingCurveRouter
create()
Bonding Curve
- Tokens start on a bonding curve — price increases as more tokens are bought
- When target reserves are reached, token graduates to Uniswap V3 DEX on Monad
- The Lens contract automatically routes to the correct contract (bonding curve or DEX)
- Check graduation progress with
getProgress() (0-10000 = 0-100%)
Fees
- Protocol fee: ~1% per trade (built into contract)
- Gas fees: Very low on Monad (~0.0001 MON per transaction)
- Token creation: Deploy fee (fetched from contract
feeConfig())
Network
| Field | Value |
|---|
| Chain | Monad Mainnet (Chain ID 143) |
| Native Token | MON (18 decimals) |
| Lens | 0x7e78A8DE94f21804F7a17F4E8BF9EC2c872187ea |
| Bonding Curve Router | 0x6F6B8F1a20703309951a5127c45B49b1CD981A22 |
| DEX Router | 0x0B79d71AE99528D1dB24A4148b5f4F865cc2b137 |
NOTE: Scripts are available on PATH. You can run them by short name (e.g. nadfun-state.sh).