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

0.0.7 • Public • Published

DeBridge GOAT Plugin

DeBridge plugin for Goat. Allows you to create tools for bridging tokens across different chains using the DeBridge Liquidity Network (DLN).

Installation

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

Setup

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

// Using default DeBridge API URL
const plugin = debridge();

// Or with custom API URL
const plugin = debridge({
    baseUrl: process.env.DEBRIDGE_BASE_URL
});

Tools

  1. Create Bridge Order
  2. Get Bridge Quote
  3. Execute Bridge Transaction


Package Sidebar

Install

npm i @goat-sdk/plugin-debridge

Weekly Downloads

9

Version

0.0.7

License

MIT

Unpacked Size

88.6 kB

Total Files

24

Last publish

Collaborators

  • aigustin
  • mpaella