@goat-sdk/plugin-polymarket
v0.3.1
Published
Polymarket plugin for [Goat π](https://ohmygoat.dev). Allows you to create tools for interacting with Polymarket.
Downloads
440
Readme
Goat Polymarket Plugin π - TypeScript
Polymarket plugin for Goat π. Allows you to create tools for interacting with Polymarket.
Installation
npm install @goat-sdk/plugin-polymarket
Usage
import { polymarket } from "@goat-sdk/plugin-polymarket";
const plugin = polymarket({
credentials: {
key: process.env.POLYMARKET_API_KEY as string,
secret: process.env.POLYMARKET_SECRET as string,
passphrase: process.env.POLYMARKET_PASSPHRASE as string,
},
});
Working example
See the Vercel AI example for a working example of how to use the Polymarket plugin.
Goat
Goat π
Goat π (Great Onchain Agent Toolkit) is an open-source library enabling AI agents to interact with blockchain protocols and smart contracts via their own wallets.