@elliottech/lighter-v2-core

1.0.1 • Public • Published

Lighter Exchange V2

Lighter is fully decentralized order book exchange protocol designed for permission-less, zero slippage and MEV-protected trades.

Contract Structure

contracts
├── Factory.sol
├── OrderBook.sol
├── interfaces
│   ├── IFactory.sol
│   ├── ILighterV2FlashCallback.sol
│   ├── ILighterV2TransferCallback.sol
│   ├── IOrderBook.sol
│   └── external
│       └── IERC20Minimal.sol
└── libraries
    ├── Errors.sol
    ├── LinkedList.sol
    └── OrderBookDeployerLib.sol

Installing the dependencies

npm install

Compiling the contracts

npm compile

Running the tests

npm test

License

  • The primary license for Lighter V2 is the Business Source License 1.1 (BUSL-1.1)
  • All external interface files in contracts/interfaces/ are licensed under SPDX-License-Identifier: MIT

Package Sidebar

Install

npm i @elliottech/lighter-v2-core

Homepage

lighter.xyz

Weekly Downloads

1

Version

1.0.1

License

BUSL-1.1

Unpacked Size

340 kB

Total Files

21

Last publish

Collaborators

  • alexlighter
  • cakir-enes
  • hasanbal
  • muratekici