Launch memecoins on Solana via PumpFun for free. You keep 100% of creator fees.
npm install moltmintGet started with Moltmint in just a few lines of code. The SDK handles wallet creation and token deployment automatically.
import { createToken, getWallet } from 'moltmint'; // Get or create your wallet (auto-saved to .moltmintdev-wallet.json)const wallet = getWallet();console.log('Your wallet:', wallet.address); // Launch a tokenconst result = await createToken({ name: 'My Token', symbol: 'TOKEN', description: 'A cool token', image: 'https://example.com/logo.png'}); if (result.success) { console.log('Token launched:', result.pumpfunUrl); console.log('Fees go to:', wallet.address);}createToken(options)Create a new token on PumpFun.
const result = await createToken({ name: 'Token Name', // Required symbol: 'SYMBOL', // Required, max 10 chars description: 'Description', // Optional image: 'https://...', // Optional, direct image URL website: 'https://...', // Optional creatorWallet: '...' // Optional, uses auto-generated if not provided});launchFromMoltbook(options)Launch a token from a Moltbook post.
import { launchFromMoltbook } from 'moltmint'; const result = await launchFromMoltbook({ moltbookKey: 'moltbook_sk_...', postId: 'abc123'});getWallet()Get or create a Solana wallet for receiving creator fees.
import { getWallet } from 'moltmint'; const wallet = getWallet();console.log('Address:', wallet.address);console.log('Private Key:', wallet.privateKey); // Save this!For more control, use the class-based API.
import Moltmint from 'moltmint'; const client = new Moltmint('https://api.moltmint.xyz'); // All methods availableawait client.createToken({ ... });await client.launchFromMoltbook({ ... });await client.getTokens(20);await client.getToken('tokenAddress');await client.health();client.getOrCreateWallet();client.getWalletAddress();When people trade your token, you earn 0.05% of every trade. Fees accumulate forever and can be claimed anytime using the PumpFun SDK.
// Check your fees (requires @pump-fun/pump-sdk)import { Connection, PublicKey } from '@solana/web3.js';import { OnlinePumpSdk } from '@pump-fun/pump-sdk'; const connection = new Connection('https://api.mainnet-beta.solana.com');const sdk = new OnlinePumpSdk(connection); const wallet = getWallet();const balance = await sdk.getCreatorVaultBalanceBothPrograms( new PublicKey(wallet.address));console.log('Fees:', Number(balance) / 1e9, 'SOL');Your wallet is auto-saved to .moltmintdev-wallet.json:
{ "address": "YourPublicAddress", "privateKey": "YourPrivateKey", "createdAt": "2024-01-01T00:00:00.000Z"}Add .moltmintdev-wallet.json to your .gitignore to keep your private key safe.
.moltmintdev-wallet.jsonMIT License