Skip to content

admsgr/OpenSwap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Opera

Innovative DEX with concentrated liquidity and customizable plugins.

Tests status Echidna status Tests status Tests status

Echidna status Echidna status Echidna status Echidna status

Docs

The documentation page is located at: https://docs.openswap.fi/

Versions

Please note that different DEX-partners of our protocol may use different versions of the protocol. This repo contains the latest version: Opera Insider.

A page describing the versions used by partners can be found in the documentation: partners page

Previous versions of the protocol have been moved to separate repositories:

Opera V1.9

Opera V1

Packages

Core: https://www.npmjs.com/package/@openswap/opera-insider-core

Periphery: https://www.npmjs.com/package/@openswap/opera-insider-periphery

Farming: https://www.npmjs.com/package/@openswap/opera-insider-farming

Basic plugin: https://www.npmjs.com/package/@openswap/opera-insider-base-plugin

Build

Requires npm >= 8.0.0

To install dependencies, you need to run the command in the root directory:

$ npm run bootstrap

This will download and install dependencies for all modules and set up husky hooks.

To compile a specific module, you need to run the following command in the module folder:

$ npm run compile

Tests

Tests for a specific module are run by the following command in the module folder:

$ npm run test

Tests coverage

To get a test coverage for specific module, you need to run the following command in the module folder:

$ npm run coverage

Deploy

Firstly you need to create .env file in the root directory of project as in env.example.

To deploy all modules in specific network:

$ node scripts/deployAll.js <network>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published