Skip to content

SmarDex-Ecosystem/dex-smart-contracts

Repository files navigation

SmarDex Contracts

Tests

Description

Uniswap-like dex protocol that allow a better incentivization for liquidity providers. This repo includes an SDEX pool (rewards comes from the dex) and farming capabilities (rewards requires external income source).

Website

https://smardex.io

Documentation

See the link to the technical paper or visit the Smardex Developer docs

Getting Started

Installation

Foundry

To install Foundry, run the following commands in your terminal:

curl -L https://foundry.paradigm.xyz | bash
source ~/.bashrc
foundryup

Dependencies

To install existing dependencies, run the following commands:

forge soldeer install
npm install

Nix

If using nix, the repository provides a development shell in the form of a flake.

The devshell can be activated with the nix develop command.

To automatically activate the dev shell when opening the workspace, install direnv (available on nixpkgs) and run the following command inside this folder:

direnv allow

Compile

forge compile

Foundry Documentation

For comprehensive details on Foundry, refer to the Foundry book.

Contributors

Implemented by Stéphane Ballmer, Paul-Alexandre Tessier, Côme Pecorari, Léo Fasano, Yoan Capron, Sami Darnaud

Licensing

The primary license for Smardex is the Business Source License 1.1 (BUSL-1.1), see LICENSE. However, smart-contract files imported from other projects do respect their original license (GPL-3, GPL-2, MIT, ...)

  • All files under periphery are GPL-2
  • All files under core except core/libraries/SmardexLibrary.sol are GPL-2
  • contracts/rewards/FarmingRange.sol is licensed under MIT, fork from Alpaca Finance

About

No description, website, or topics provided.

Resources

License

Stars

10 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors

Languages