A wrapper typescript package that wraps the Loopso smart contracts. Intended to be used for dapps.
npm install --save loopso-sdk-isaiah
Import the necessary functions and models:
import { bridgeTokens } from 'loopso-sdk-isaiah';
Then you will need to get a quote:
const _txHash = await bridgeTokens(
contractAddressSrc,
signer,
srcChainId,
amount,
dstAddress,
dstChain
);