thorswap / SwapKit

SwapKit SDK - Integrate blockchains easily. Docs - https://docs.thorswap.finance/swapkit-docs
https://swapkit.dev
Apache License 2.0
53 stars 28 forks source link
avalanche-c-chain binance binance-smart-chain bitcoin bitcoin-cash blockchain cosmos dogecoin ethereum evm hdwallet ledger litecoin metamask swapkit-sdk thorchain utxo web3 xdefi

SwapKit

Integrate Blockchains easily

Usage

Documentation

Packages

This repo contains packages around SwapKit sdk and its integrations with different blockchains.

Contributing

Pre-requisites

1.

curl -fsSL https://bun.sh/install | bash

2.

Copy .env.example to .env and fill it with data

Installation

bun bootstrap

Branches

Testing

To run tests use bun test command.

Pull requests

Release and publish

Packages are automatically published to npm when new PR is merged to main & develop branches. To automate and handle process we use changesets and github action workflows.

Before running bun changeset you have to pull main & develop

To release new version of package you need to create PR with changes and add changeset file to your commit.

bun changeset

After PR is merged to develop branch with changeset file, github action will create new PR with updated versions of packages and changelogs.