@elliottech/lighter-v2-periphery

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
├── Router.sol
├── interfaces
│   ├── IRouter.sol
│   ├── ISwapMultiRequest.sol
│   └── external
│       └── IWETH9.sol
└── libraries
    ├── PeripheryErrors.sol
    ├── Quoter.sol
    └── SafeTransfer.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)
  • contracts/interfaces/IWETH9.sol and contracts/libraries/SafeTransfer.sol are licensed under SPDX-License-Identifier: MIT

Package Sidebar

Install

npm i @elliottech/lighter-v2-periphery

Homepage

lighter.xyz

Weekly Downloads

1

Version

1.0.1

License

BUSL-1.1

Unpacked Size

179 kB

Total Files

16

Last publish

Collaborators

  • alexlighter
  • cakir-enes
  • hasanbal
  • muratekici