0.1.3 • Published 3 years ago

@nebra/nebra-lib v0.1.3

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
3 years ago

nebra-lib

Tests

nebra-lib is a fork of the @uniswap/lib and is still a dependency for Periphery contracts. While the nebra team is working on expanding, refer to the uniswap docs described below.

nebra-lib consists of Solidity libraries that are shared across nebra contracts. This package focuses on safety and execution gas efficiency.


Install

Packages can be installed with npm and yarn.

Npm

$npm i @nebra/nebra-lib

Yarn

$ yarn add @nebra/nebra-lib

Or you can build directly from source.

$ git pull https://github.com/nebra-finance/nebra-core.git

$ yarn

$ yarn compile

Test

Run the test suite.

$ yarn test

Usage

import '@nebra/nebra-lib/contracts/libraries/Babylonian.sol';