AI Integration Features:
-LangChain Integration
-Ready-to-use LangChain tools
-Autonomous agent support with React
-Memory management
-Streaming responses
-Autonomous Modes
-Interactive chat mode
-Autonomous mode
-Configurable intervals
-Error handling and recovery
-AI Tools
-DALL-E integration for NFTs
-Natural language processing
-Price feed integration
-Automated decision-making
-LangChain Integration
-Ready-to-use LangChain tools
-Autonomous agent support with React
-Memory management
-Streaming responses
-Autonomous Modes
-Interactive chat mode
-Autonomous mode
-Configurable intervals
-Error handling and recovery
-AI Tools
-DALL-E integration for NFTs
-Natural language processing
-Price feed integration
-Automated decision-making
Send Compressed Airdrop
import { sendCompressedAirdrop } from "solana-agent-kit";
import { PublicKey } from "@solana/web3.js";
const signature = await sendCompressedAirdrop(
agent,
new PublicKey("token-mint-address"),
42, // amount per recipient
[
new PublicKey("recipient-1"),
// ... more recipients
],
30_000 // priority fee
);
Create NFT Collection
import { deploy_collection } from "solana-agent-kit";
const collection = await deploy_collection(agent, {
name: "My NFT Collection",
uri: "https://arweave.net/metadata.json",
royaltyBasisPoints: 500, // 5%
creators: [
{
address: "creator-wallet-address",
percentage: 100,
},
],
});
Deploy a Token
import { deploy_token } from "solana-agent-kit";
const result = await deploy_token(
agent,
9, // decimals
1000000 // initial supply
);
