Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/opz/dalp-core

The DALP smart contracts. View the DALP frontend here: https://github.com/opz/DALP-frontend
https://github.com/opz/dalp-core

decentralized-exchange defi erc20 ethereum smart-contracts

Last synced: about 2 months ago
JSON representation

The DALP smart contracts. View the DALP frontend here: https://github.com/opz/DALP-frontend

Awesome Lists containing this project

README

        

# DALP Smart Contracts

[![Actions Status](https://github.com/opz/DALP-core/workflows/CI/badge.svg)](https://github.com/opz/DALP-core/actions)

## Install Dependencies

`npm install`

## Compile Contracts

`npx buidler compile`

## Run Tests

`npx buidler test`

## Using DALP smart contracts

To use DALP smart contracts in a project, follow these steps:

```
git clone [email protected]:opz/DALP-core.git
cd DALP-core
npm install
npx buidler compile
npm link
cd
npm link dalp-core
```

You can now import the smart contract artifacts in your project:
```
import DALPManager from "dalp-core/artifacts/DALPManager.json";
import { DALPManagerAddress } from "dalp-core/artifacts/kovan.json";

const dalpManager = new web3.eth.Contract(DALPManager.abi, DALPManagerAddress);
```

## Contributors

Thanks to the following people who have contributed to this project:

* [@michaelcohen716](https://github.com/michaelcohen716) 💻
* [@opz](https://github.com/opz) 💻