LiFi Any-to-Any Cross-Chain-Swap SDK
yarn add @lifinance/sdk
or
npm install --save @lifinance/sdk
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).
Install dependencies:
yarn
Test your code with Jest framework:
yarn test
Build production (distribution) files in your dist folder:
yarn build
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