Git Product home page Git Product logo

core's Introduction

Clober

Docs codecov CI status Discord Twitter

Core Contract of Clober DEX

Table of Contents

Deployments

Deployments By EVM Chain

MarketFactory MarketRouter OrderCanceler
Ethereum 0x93A43391978BFC0bc708d5f55b0Abe7A9ede1B91 0x6d928455050b3b71490fe3B73DD84daD094299c4 0x99228D1823baFa822dAB2B2f0a02922082f25E9E
Polygon 0x93A43391978BFC0bc708d5f55b0Abe7A9ede1B91 0x6d928455050b3b71490fe3B73DD84daD094299c4 0x99228D1823baFa822dAB2B2f0a02922082f25E9E
Arbitrum 0x93A43391978BFC0bc708d5f55b0Abe7A9ede1B91 0x6d928455050b3b71490fe3B73DD84daD094299c4 0x99228D1823baFa822dAB2B2f0a02922082f25E9E

Install

To install dependencies and compile contracts:

Prerequisites

Installing From Source

git clone https://github.com/clober-dex/core && cd core
npm install

Usage

Unit tests

npm run test:unit:forge

Integration tests

npm run test:limit:forge  # Run Limit Order Integration Tests
npm run test:market:forge # Run Market Order Integration Tests
npm run test:claim:forge  # Run Claim Order Integration Tests
npm run test:cancel:forge # Run Cancel Order Integration Tests

Coverage

To run coverage profile:

npm run coverage:local
open coverage/index.html

Linting

To run lint checks:

npm run prettier:ts
npm run lint:sol

To run lint fixes:

npm run prettier:fix:ts
npm run lint:fix:sol

Audits

Audited by Spearbit from January to February 2023. All security risks are fixed. Full report is available here.

Licensing

core's People

Contributors

detectivekim avatar graykode avatar jhchoy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.