मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट7.0k · #13681

solana-agent-kit

यह क्या करती है

यह स्किल Solana Agent Kit से AI एजेंट बनाने का मार्गदर्शन करती है, जो AI मॉडल को ब्लॉकचेन कार्रवाइयाँ करने देता है। यह उन डेवलपर्स के लिए है जो ऐसा AI सहायक चाहते हैं जो Solana पर काम करे।

कब इस्तेमाल करें

  • ✓जब आप ऐसा AI एजेंट चाहते हों जो Solana पर टोकन डिप्लॉय, ट्रेड या स्टेक कर सके।
  • ✓जब आप Solana कार्रवाइयों को LangChain, Vercel AI SDK या MCP सर्वर से जोड़ रहे हों।
  • ✓जब आप त्रुटि-सुधार वाला स्वायत्त Solana एजेंट चाहते हों।

Skill का लिंक

https://github.com/internet-court/internet-court-skill/blob/main/vendored/sendaifun/solana-agent-kit/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/internet-court/internet-court-skill/blob/main/vendored/sendaifun/solana-agent-kit/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“क्या आप Solana Agent Kit से ऐसा AI एजेंट सेट कर सकते हैं जो मेरा बैलेंस जाँचे और टोकन स्वैप करे?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट मुख्य kit और ज़रूरी plugins इंस्टॉल करता है, एनवायरनमेंट वैरिएबल से RPC URL और wallet कुंजी सेट करता है, और कार्रवाइयों को आपके AI मॉडल से जोड़ता है। यह इंटरैक्टिव या पूरी तरह स्वायत्त रूप से चल सकता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Solana Agent Kit Development Guide

Build AI agents that autonomously execute 60+ Solana blockchain operations using SendAI's open-source toolkit. Compatible with LangChain, Vercel AI SDK, and Claude via MCP.

Overview

The Solana Agent Kit enables any AI model to:

  • Deploy and manage tokens (SPL & Token-2022)
  • Create and trade NFTs via Metaplex
  • Execute DeFi operations (Jupiter, Raydium, Orca, Meteora)
  • Stake SOL, bridge tokens, register domains
  • Run in interactive or fully autonomous modes

Key Features

Feature Description
60+ Actions Token, NFT, DeFi, staking, bridging operations
Plugin Architecture Modular - use only what you need
Multi-Framework LangChain, Vercel AI SDK, MCP, Eliza
Model Agnostic Works with OpenAI, Claude, Llama, Gemini
Autonomous Mode Hands-off execution with error recovery

Quick Start

Installation

# Core package
npm install solana-agent-kit

# With plugins (recommended)
npm install solana-agent-kit \
  @solana-agent-kit/plugin-token \
  @solana-agent-kit/plugin-nft \
  @solana-agent-kit/plugin-defi \
  @solana-agent-kit/plugin-misc \
  @solana-agent-kit/plugin-blinks

Environment Setup

# .env file
OPENAI_API_KEY=your_openai_api_key
RPC_URL=https://api.mainnet-beta.solana.com  # or devnet
SOLANA_PRIVATE_KEY=your_base58_private_key

# Optional API keys for enhanced features
COINGECKO_API_KEY=your_coingecko_key
HELIUS_API_KEY=your_helius_key

Basic Agent Setup

import {
  SolanaAgentKit,
  createVercelAITools,
  KeypairWallet,
} from "solana-agent-kit";
import { Keypair } from "@solana/web3.js";
import bs58 from "bs58";

// Import plugins
import TokenPlugin from "@solana-agent-kit/plugin-token";
import NFTPlugin from "@solana-agent-kit/plugin-nft";
import DefiPlugin from "@solana-agent-kit/plugin-defi";
import MiscPlugin from "@solana-agent-kit/plugin-misc";
import BlinksPlugin from "@solana-agent-kit/plugin-blinks";

// Create wallet from private key
const privateKey = bs58.decode(process.env.SOLANA_PRIVATE_KEY!);
const keypair = Keypair.fromSecretKey(privateKey);
const wallet = new KeypairWallet(keypair);

// Initialize agent with plugins
const agent = new SolanaAgentKit(
  wallet,
  process.env.RPC_URL!,
  {
    OPENAI_API_KEY: process.env.OPENAI_API_KEY!,
  }
)
  .use(TokenPlugin)
  .use(NFTPlugin)
  .use(DefiPlugin)
  .use(MiscPlugin)
  .use(BlinksPlugin);

// Create tools for AI framework
const tools = createVercelAITools(agent, agent.actions);

Plugins & Actions

Token Plugin (@solana-agent-kit/plugin-token)

Action Description
deployToken Deploy new SPL token or Token-2022
transfer Transfer SOL or SPL tokens
getBalance Check token balances
stake Stake SOL via Jupiter/Solayer
bridge Bridge tokens via Wormhole
rugCheck Analyze token safety
// Deploy a new token
const result = await agent.methods.deployToken({
  name: "My Token",
  symbol: "MTK",
  decimals: 9,
  initialSupply: 1000000,
});

// Transfer tokens
await agent.methods.transfer({
  to: "recipient_address",
  amount: 100,
  mint: "token_mint_address", // optional, defaults to SOL
});

// Check balance
const balance = await agent.methods.getBalance({
  tokenAddress: "token_mint_address", // optional
});

NFT Plugin (@solana-agent-kit/plugin-nft)

Action Description
createCollection Create NFT collection via Metaplex
mintNFT Mint NFT to collection
listNFT List NFT on marketplaces
updateMetadata Update NFT metadata
// Create collection
const collection = await agent.methods.createCollection({
  name: "My Collection",
  symbol: "MYCOL",
  uri: "https://arweave.net/metadata.json",
});

// Mint NFT to collection
const nft = await agent.methods.mintNFT({
  collectionMint: collection.collectionAddress,
  name: "NFT #1",
  uri: "https://arweave.net/nft1.json",
});

DeFi Plugin (@solana-agent-kit/plugin-defi)

Action Description
trade Swap tokens via Jupiter
createRaydiumPool Create Raydium AMM pool
createOrcaPool Create Orca Whirlpool
createMeteoraPool Create Meteora DLMM pool
limitOrder Place limit order via Manifest
lend Lend assets via Lulo
perpetualTrade Trade perps via Adrena/Drift

अक्सर पूछे जाने वाले सवाल

यह कौन-से AI मॉडल के साथ काम करता है?

स्किल कहती है कि यह OpenAI, Claude, Llama और Gemini के साथ काम करता है।

क्या मैं केवल कुछ कार्रवाइयाँ इस्तेमाल कर सकता हूँ?

हाँ। kit plugin-आधारित है, इसलिए आप केवल ज़रूरी plugins इंस्टॉल कर सकते हैं।

निजी कुंजी कहाँ रखें?

स्किल कहती है कि उसे एनवायरनमेंट वैरिएबल में रखें, कोड में नहीं।

जानकारी

लेखक का मूल विवरण

Comprehensive guide for building AI agents that interact with Solana blockchain using SendAI's Solana Agent Kit. Covers 60+ actions, LangChain/Vercel AI integration, MCP server setup, and autonomous agent patterns.

repo: internet-court/internet-court-skill

लोकप्रियता

GitHub स्टार
7.0k
रैंकिंग में स्थान
#13681
लाइसेंस
—
अपडेट की गई
26/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

internet-court

7.0k

यह आपके एजेंट को AI एजेंट या पेड सेवा से सुरक्षित तरीके से भुगतान और लेन-देन की शुरुआती दिशा देती है, और सही विशेष गाइड बताती है।

AI और एजेंटएजेंट

genlayer-erc7710-connector

7.0k

यह आपके एजेंट को AI समीक्षा के नतीजे को अनुमति प्रणाली से जोड़ने देती है, ताकि खराब समीक्षा एजेंट की अनुमतियाँ सीमित कर सके।

AI और एजेंटएजेंट

genlayer-intelligent-contracts

7.0k

यह आपके एजेंट को AI जज के नियम, सबूत और नतीजे तय करने में मदद करती है, जो जाँचता है कि दूसरा एजेंट अपने अधिकार के दायरे में रहा या नहीं।

AI और एजेंटएजेंट

x402-erc7710

7.0k

यह आपके एजेंट को हर अनुरोध पर वेब सेवा का भुगतान करने और तय सीमा के भीतर लगातार खर्च करने की व्यवस्था में मदद करती है।

AI और एजेंटएजेंट

मिलती-जुलती skills