@goat-sdk/plugin-velodrome
TypeScript icon, indicating that this package has built-in type declarations

0.1.10 • Public • Published

Velodrome GOAT Plugin

Swap tokens on Velodrome.

Installation

npm install @goat-sdk/plugin-velodrome
yarn add @goat-sdk/plugin-velodrome
pnpm add @goat-sdk/plugin-velodrome

Usage

import { velodrome } from "@goat-sdk/plugin-velodrome";

const tools = await getOnChainTools({
    wallet: // ...
    plugins: [velodrome()],
});

Advanced Usage with ERC20 Plugin

For improved integration to work seamlessly with the ERC20 plugin, you can configure your tools as follows:

import { MODE, erc20 } from "@goat-sdk/plugin-erc20";
import { modeGovernance } from "@goat-sdk/plugin-mode-governance";

const tools = await getOnChainTools({
    wallet: // ...
    plugins: [
        erc20({ tokens: [MODE] }),
        modeGovernance()
    ]
});

Tools

  • Add liquidity
  • Swap tokens


Readme

Keywords

Package Sidebar

Install

npm i @goat-sdk/plugin-velodrome

Homepage

ohmygoat.dev

Weekly Downloads

4

Version

0.1.10

License

MIT

Unpacked Size

122 kB

Total Files

42

Last publish

Collaborators

  • aigustin
  • mpaella