Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 4.13 KB

README.md

File metadata and controls

80 lines (56 loc) · 4.13 KB

Component Protocol version 1

Component Protocol is an automated market maker for assets of the same numeraire. It is ideal for stablecoin to stablecoin trades, and other assets like BTC on ETH and staking derivatives.

Contracts

Component Protocol is currently deployed to mainnet at the following addresses

Security

Shell Protocol v1 (from which this repo has been forked) has been audited by Consensys Diligence and ABDK Consulting. Audit reports will be available soon.

Documentation

Documentation for Component will be available soon.

Development

Prerequisites

Install Nix: https://nixos.org/download.html

Install dapp.tools (provides dapp, seth, hevm executables):

nix-env -iA dapp -f https://github.com/dapphub/dapptools/archive/afbb707102baa77eac6ad70873fcd3c59a2ff53c.tar.gz

(older releases, including 0.31.1, have library deployment bugs)

Install dependencies:

# in the repo root dir:
dapp update

Install compiler:

nix-env -f https://github.com/dapphub/dapptools/archive/master.tar.gz -iA solc-static-versions.solc_0_5_15

Build

dapp --use solc:0.5.15 build

*build is non-incremental

Local test

Use local_testing branch. Local tests require compiler upgrade, this change is yet to be merged into master.