@firefly-dex/lib
Version:
📖 Solidity libraries that are shared across Firefly contracts
29 lines (17 loc) • 1.22 kB
Markdown
# firefly-dex-lib
[](https://github.com/Firefly/firefly-dex-lib/actions?query=workflow%3ATests)
[](https://github.com/Firefly/firefly-dex-lib/actions?query=workflow%3A%22Static+Analysis%22)
[](https://github.com/Firefly/firefly-dex-lib/actions?query=workflow%3ALint)
[](https://github.com/Firefly/firefly-dex-lib/actions?query=workflow%3A%22Fuzz+Testing%22)
[](https://unpkg.com/@firefly-dex/lib@latest/)
Solidity libraries that are shared across Firefly contracts. This package focuses on safety and execution gas efficiency.
## Install
Run `yarn` to install dependencies.
## Test
Run `yarn test` to execute the test suite.
## Usage
Install this in another project via `yarn add @firefly-dex/lib`
Then import the contracts via:
```solidity
import '@firefly-dex/lib/contracts/libraries/Babylonian.sol';
```