Main class for interacting with Solana blockchain Provides a unified interface for token operations, NFT management, trading and more
SolanaAgentKit
Using openai_api_key directly in constructor is deprecated. Please use the new constructor with Config object instead:
const agent = new SolanaAgentKit(privateKey, rpcUrl, { OPENAI_API_KEY: 'your-key'}); Copy
const agent = new SolanaAgentKit(privateKey, rpcUrl, { OPENAI_API_KEY: 'your-key'});
Configuration object
Solana RPC connection
Wallet keypair for signing transactions
Public key of the wallet
Optional
Main class for interacting with Solana blockchain Provides a unified interface for token operations, NFT management, trading and more
SolanaAgentKit