Blinks Plugin
Quick, fun interactions on Ping using Solana blinks
Blinks Plugin
The @ping-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 Ping Agent Kit:
Copy
npm install ping-agent-kit @ping-agent-kit/plugin-blinks
Integration
Add the Blinks plugin to your agent:
Copy
import { PingAgentKit } from "ping-agent-kit";
import BlinksPlugin from "@ping-agent-kit/plugin-blinks";
const agent = new PingAgentKit(
wallet,
"YOUR_RPC_URL",
{
OPENAI_API_KEY: "YOUR_OPENAI_API_KEY",
}
).use(BlinksPlugin);
Last updated