Skip to content

lifinance/sdk

Repository files navigation

Li.Finance - SDK

LiFi Any-to-Any Cross-Chain-Swap SDK

Installation

yarn add @lifinance/sdk

or

npm install --save @lifinance/sdk

Summary

This package allow to access to LiFi API which finds the best cross-chain routs on different bridges. The routes can then executed via the SDK. Learn more about LiFi on (https://li.finance).

Extend the SDK

Install dependencies:

yarn

Test

Test your code with Jest framework:

yarn test

Build

Build production (distribution) files in your dist folder:

yarn build

Publish

In order to update the package, commit all new changes first. Then follow this command to increas the version

yarn version

Next you need to push both, the code and the new version tag:

git push
git push --tags