Package Exports
- @goat-sdk/plugin-ionic
- @goat-sdk/plugin-ionic/dist/index.js
- @goat-sdk/plugin-ionic/dist/index.mjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@goat-sdk/plugin-ionic) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Ionic GOAT Plugin
Ionic plugin for GOAT. Allows you to create tools for interacting with the Ionic protocol.
Installation
npm install @goat-sdk/plugin-ionic
yarn add @goat-sdk/plugin-ionic
pnpm add @goat-sdk/plugin-ionic
Usage
import { ionic } from "@goat-sdk/plugin-ionic";
const tools = await getOnChainTools({
wallet: // ...
plugins: [
ionic()
]
});
Tools
- Borrow and supply assets
- Loop assets
- Swap collateral