Quick Start
Get started with Pooxy in minutes. Follow these steps to create and deploy your first AI agent:
1. Connect Your Wallet
Install a Solana wallet (Phantom or Solflare recommended) and connect it to Pooxy:
import { useWallet } from '@solana/wallet-adapter-react';
const wallet = useWallet();
await wallet.connect();
2. Create an Agent
Initialize a new agent with your desired configuration:
const agent = new PooxyAgent({
strategy: 'DCA',
riskLevel: 'moderate',
targetAsset: 'SOL',
budget: 1000,
});
Installation
Install Pooxy using npm:
npm install @pooxy/core @pooxy/agents
Requirements
- Node.js 16 or higher
- Solana wallet with SOL balance
- Modern web browser
Configuration
Configure your agent with the following options:
Basic Configuration
{
"network": "mainnet-beta",
"rpcEndpoint": "https://api.mainnet-beta.solana.com",
"commitment": "confirmed",
"autoConnect": true
}
Advanced Settings
maxSlippage
: Maximum allowed slippage (default: 0.5%)gasLimit
: Maximum gas to spend per transactionretryAttempts
: Number of retry attempts for failed transactions