@blazeswap/contracts
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

BlazeSwap

Actions Status Version

BlazeSwap is decentralized exchange to swap cryptocurrencies on the Flare networks (Flare/Songbird/Coston).

Highly inspired by Uniswap V2, it adds full support for FTSO provider delegation and FTSO/F-Asset rewards, generated by the liquidity locked in the pair contracts.

On Flare it'll support also the 3-years distribution of the Flare tokens.

In-depth documentation on Uniswap V2 is available at uniswap.org.

The built contract artifacts can be browsed via unpkg.com.

License

Most of the code is licensed under the GPL 3.0 or later. The code of the plugins, handling the FTSO delegation and all rewards, is licensed under the Business Source License 1.1. In short this means that the plugin code will become GPL after a specific date, and before such date it cannot be copied/used/called in production by external projects without a specific use grant.

All the interfaces of the smart contracts (both GPL and BSL) can be freely used to develop 3rd party applications that interact with the deployments of the BlazeSwap DEX.

Local Development

The following assumes the use of node@>=14.

Install Dependencies

npm i

Compile Contracts

npm run build

Run Tests

npm test

Package Sidebar

Install

npm i @blazeswap/contracts

Weekly Downloads

4

Version

1.1.0

License

(GPL-3.0-or-later AND BUSL-1.1)

Unpacked Size

249 kB

Total Files

97

Last publish

Collaborators

  • alexdupre