Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/opz/dalp-core
- Owner: opz
- Created: 2020-05-08T05:40:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-17T17:26:20.000Z (almost 2 years ago)
- Last Synced: 2024-11-11T18:39:41.799Z (2 months ago)
- Topics: decentralized-exchange, defi, erc20, ethereum, smart-contracts
- Language: JavaScript
- Homepage:
- Size: 646 KB
- Stars: 23
- Watchers: 10
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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) 💻