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