Allows you to create tools for interacting with the bank module on cosmos chains.
npm install @goat-sdk/plugin-cosmosbank
yarn add @goat-sdk/plugin-cosmosbank
pnpm add @goat-sdk/plugin-cosmosbank
import { cosmosbank } from "@goat-sdk/plugin-cosmosbank";
const tools = await getOnChainTools({
wallet: // ...
plugins: [
cosmosbank()
]
});
See the LangChain example for a working example of how to use the CosmosBank plugin.