Key Features
- Market creation
- Limit order placement
- Batch order execution
- Pattern-based order generation
- Order cancellation
- Fund withdrawal
- LangChain tool integration
Basic Usage
Creating a New Market
Placing a Limit Order
Placing Batch Orders
Cancelling All Orders
Withdrawing Funds
Batch Order Patterns
The integration supports generating orders using patterns:Pattern Examples
- Percentage-based Spacing:
- Fixed-price Spacing:
LangChain Integration
Solana Agent Kit provides several LangChain tools for Manifest trading:Create Market Tool
Limit Order Tool
Batch Order Tool
Example Prompts
For LangChain AI tools, here are example prompts:Market Creation
Order Placement
Market Management
Important Notes
-
Order Validation
- Sell orders must be priced above buy orders
- All orders must include quantity, side, and price
- Batch orders are validated before execution
-
Pattern Generation
- Supports both fixed and percentage-based spacing
- Can specify total or individual quantities
- Random order count if not specified (max 8)
-
Transaction Handling
- Each order operation returns a transaction signature
- Uses versioned transactions for compatibility
- Includes automatic error handling
Best Practices
-
Market Creation
-
Batch Orders
-
Order Management