• Stars
    star
    162
  • Rank 232,284 (Top 5 %)
  • Language
    TypeScript
  • License
    Apache License 2.0
  • Created almost 3 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

LI.FI - Bridge & DEX aggregation: Any-to-Any Cross-Chain-Swap SDK

license npm latest package npm downloads Follow on Twitter

LI.FI - SDK

LI.FI Any-to-Any Cross-Chain-Swap SDK
Please checkout the SDK docs and our API reference for further information.

Installation

yarn add @lifi/sdk

or

npm install --save @lifi/sdk

Summary

This package allows accessing to LI.FI API which finds the best cross-chain routes on different bridges. The routes can then be executed via the SDK. Learn more about LI.FI on (https://li.fi).

Check out the Changelog to see what changed in the last releases.

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 run the following command:

yarn release

This will

  • bump the version number according to the types of the last commits (i.e. if it is a major, minor or bug fix release)
  • create a new git tag
  • update the CHANGELOG.md

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

git push && git push --tags

More Repositories

1

jumper.exchange

Jumper - Multi-Chain Bridging & Swapping (powered by LI.FI)
TypeScript
163
star
2

contracts

LI.FI Smart Contracts
Solidity
121
star
3

widget

LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.
TypeScript
110
star
4

create3-factory

LIFI Deployment of CREATE3-Factory by @ZeframLou
Solidity
69
star
5

lizard-token

LizardDAO Reward Token
Solidity
35
star
6

roadmap

30
star
7

types

Types for the LI.FI stack.
TypeScript
26
star
8

sdk-node-sample

Sample project to showcase the usage of @lifi/sdk
TypeScript
26
star
9

ask-lifi-docs

Simple CLI demo for chatting with LIFI docs
TypeScript
13
star
10

customized-token-list

TypeScript
13
star
11

lifi-contract-types

TypeScript
13
star
12

bigmi

TypeScript library and reactive primitives for Bitcoin apps.
TypeScript
7
star
13

abi-parser

abi-parser
TypeScript
5
star
14

paraswap-connext-sdk

Bridge and Swap using Connext and ParaSwap
TypeScript
4
star
15

multi-message-aggregation

Solidity
3
star
16

lifi-analytics-dashboard

TypeScript
3
star
17

solstreams

Solstreams allows Solana developers to add events in their program or transactions
TypeScript
3
star
18

MMAxERC20

Solidity
3
star
19

lifi-subgraph

Subgraphs for LI.FI Contracts
TypeScript
3
star
20

lizard-merkle-script

Merkle tree generator for LZRD claims
TypeScript
2
star
21

lifi-analytics-backend

This is the backend which does the data analysis on LI.FI
Jupyter Notebook
2
star
22

icons

1
star
23

contract-samples

Contract Examples
Solidity
1
star
24

nxtp-sdk-legacy

TypeScript
1
star
25

fuse-pool-zap

Rari Fuse Zap Contract
Solidity
1
star
26

data-types

TypeScript
1
star