@goat-sdk/plugin-uniswap
v0.2.1
Published
Uniswap plugin for [Goat ๐](https://ohmygoat.dev). Allows you to create tools for interacting with Uniswap.
Downloads
277
Readme
Goat Uniswap Plugin ๐ - TypeScript
Uniswap plugin for Goat ๐. Allows you to create tools for interacting with Uniswap.
Installation
npm install @goat-sdk/plugin-uniswap
Usage
import { uniswap } from "@goat-sdk/plugin-uniswap";
const plugin = uniswap({
baseUrl: process.env.UNISWAP_BASE_URL as string,
apiKey: process.env.UNISWAP_API_KEY as string,
});
Working example
See the Vercel AI example for a working example of how to use the Uniswap 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.