본문으로 건너뛰기
Skillpedia
에이전트7.0k · #13681

solana-agent-kit

하는 일

이 스킬은 AI 모델이 블록체인 작업을 수행할 수 있게 하는 Solana Agent Kit으로 AI 에이전트를 만드는 방법을 안내합니다. Solana에서 작업할 수 있는 AI 도우미를 원하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓Solana에서 토큰을 배포하거나 거래하거나 스테이킹할 수 있는 AI 에이전트를 원할 때.
  • ✓Solana 작업을 LangChain, Vercel AI SDK, 또는 MCP 서버에 연결할 때.
  • ✓오류 복구 기능이 있는 자율 Solana 에이전트가 필요할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/internet-court/internet-court-skill/blob/main/vendored/sendaifun/solana-agent-kit/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Solana Agent Kit으로 제 잔액을 확인하고 토큰을 스왑할 수 있는 AI 에이전트를 설정해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 핵심 키트와 필요한 플러그인을 설치하고, 환경 변수에서 RPC 주소와 지갑 키를 설정한 뒤, 작업을 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와 함께 작동한다고 말합니다.

일부 작업만 쓸 수 있나요?

네. 플러그인 기반이므로 필요한 플러그인만 설치할 수 있습니다.

개인 키는 어디에 두나요?

코드가 아니라 환경 변수에 두라고 스킬은 말합니다.

상세 정보

작성자의 원본 설명

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
라이선스
—
업데이트
2026. 10. 26.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬