首先安装依赖: npm install helius-sdk @solana/web3.js 创建工具实例: const tools = new HeliusTools('YOUR_API_KEY');