npm.io
0.0.7 • Published 2 years ago

loopso-sdk-isaiah

Licence
MIT
Version
0.0.7
Deps
5
Size
960 kB
Vulns
0
Weekly
0

Loopso Bridge SDK

A wrapper typescript package that wraps the Loopso smart contracts. Intended to be used for dapps.

Installation:

npm install --save loopso-sdk-isaiah

Usage:

Import the necessary functions and models:

import { bridgeTokens } from 'loopso-sdk-isaiah';

Then you will need to get a quote:

Bridging:
const _txHash = await bridgeTokens(
	contractAddressSrc,
	signer,
	srcChainId,
	amount,
	dstAddress,
	dstChain
);