@goat-sdk/plugin-erc721
v0.1.11
Published
ERC721 plugin for Goat. Allows you to create tools for transferring and getting the balance of ERC721 tokens.
Readme
Goat ERC721 Plugin 🐐 - TypeScript
ERC721 plugin for Goat. Allows you to create tools for transferring and getting the balance of ERC721 tokens.
Installation
npm install @goat-sdk/plugin-erc721
Usage
import { erc721, BAYC } from "@goat-sdk/plugin-erc721";
const plugin = erc721({
tokens: [BAYC],
});
Adding custom tokens
import { erc721, BAYC } from "@goat-sdk/plugin-erc721";
const plugin = erc721({
tokens: [
BAYC,
{
symbol: "PUNK",
name: "CryptoPunks",
chains: {
"1": {
contractAddress: "0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB",
},
},
},
],
});
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.