Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@goat-sdk/plugin-zilliqa

goat-sdk656MIT1.0.4TypeScript support: included

ai, agents, web3, zilliqa

readme

Zilliqa GOAT plugin

Provides various useful actions for interacting with the Zilliqa blockchain and services running on top of it.

Installation

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

Usage

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

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

Tools

  • Convert an EVM address to a Zilliqa address
  • Convert a Zilliqa address to an EVM address
  • Transfer ZIL from an EVM address to a Zilliqa address
  • Transfer ZIL from a Zilliqa address to an EVM address
  • Get the balance of a Zilliqa address