Ionic SDK
The Ionic SDK is a chain-agnostic toolkit to interact with the Ionic Protocol, enabling developers to seamlessly integrate isolated pools into their own applications
Quickstart
npm i --save @ionicprotocol/sdk ethers npm install -D tslib @types/nodeimport { ethers } from "ethers";
import { IonicSdk } from '@ionicprotocol/sdk';
const chainId = 56; // for BSC mainnet
const provider = new ethers.providers.JsonRpcProvider('<YOUR-ENDPOINT-HERE>')
const ionic = new IonicSdk(provider, chainId);Last updated