Usage
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
tokenName | string | Yes | Name of the token (max 32 chars) |
tokenTicker | string | Yes | Token symbol (2-10 chars) |
description | string | Yes | Token description |
imageUrl | string | Yes | URL of token image |
options.twitter | string | No | Twitter handle |
options.telegram | string | No | Telegram group link |
options.website | string | No | Website URL |
options.initialLiquiditySOL | number | No | Initial liquidity (min 0.0001) |
options.slippageBps | number | No | Slippage tolerance (default: 5) |
options.priorityFee | number | No | Priority fee (default: 0.00005) |
Example Prompts
Natural Language Prompts
LangChain Tool Prompts
Example Implementation
Response Format
Implementation Details
- Uploads metadata to IPFS
- Creates token mint account
- Initializes liquidity pool
- Configures trading parameters
- Handles token metadata
- Manages social links
Error Handling
Best Practices
-
Token Setup
- Use clear, unique names
- Prepare high-quality images
- Write compelling descriptions
- Verify social links
-
Liquidity Management
- Set appropriate initial liquidity
- Consider trading volume
- Monitor pool health
- Plan liquidity strategy
-
Transaction Handling
- Use appropriate priority fees
- Set realistic slippage
- Monitor transaction status
- Handle timeouts properly
-
Metadata Management
- Use permanent image storage
- Format descriptions properly
- Include all social links
- Verify metadata accuracy
Common Issues
-
Image Upload
- Invalid image format
- File too large
- Temporary URLs
- Missing content type
-
Transaction Failures
- Insufficient SOL
- Network congestion
- Invalid parameters
- RPC timeouts
-
Metadata Issues
- Invalid social links
- Description too long
- Missing required fields
- Format errors
Related Functions
getBalance
: Check SOL balancefetchMetadata
: Get token metadatatrade
: Swap tokensgetTokenData
: Get token information