Blinks Plugin

The @solana-agent-kit/plugin-blinks plugin enables your agent to interact with Solana blinks, providing quick and fun ways to engage with the Solana ecosystem.

Installation

Install the plugin alongside the core Solana Agent Kit:

npm install solana-agent-kit @solana-agent-kit/plugin-blinks

Integration

Add the Blinks plugin to your agent:

import { SolanaAgentKit } from "solana-agent-kit";
import BlinksPlugin from "@solana-agent-kit/plugin-blinks";

const agent = new SolanaAgentKit(
  wallet,
  "YOUR_RPC_URL",
  {
    OPENAI_API_KEY: "YOUR_OPENAI_API_KEY",
  }
).use(BlinksPlugin);

Available Tools

Tool NameDescription
sendArcadeGamesIntegrate with arcade games on the Solana blockchain