Skip to content

A lightweight NPM package for developers to embed into their dApp for easy cross-chain bridging.

License

Notifications You must be signed in to change notification settings

useloopso/loopso-sdk-typescript

Repository files navigation

Loopso Bridge SDK

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

Installation:

npm install --save loopso-bridge-sdk

Usage:

Import the necessary functions and models:

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

Then you will need to get a quote:

Bridging:

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

About

A lightweight NPM package for developers to embed into their dApp for easy cross-chain bridging.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published