The DALP smart contracts. View the DALP frontend here: https://github.com/opz/DALP-frontend
Last updated Nov 3, 2024
23
Stars
10
Forks
1
Issues
0
Stars/day
Attention Score
16
Language breakdown
No language data available.
▸ Files
click to expand
README
DALP Smart Contracts
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 git@github.com:opz/DALP-core.git
cd DALP-core
npm install
npx buidler compile
npm link
cd <project_directory>
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 💻
- @opz 💻
🔗 More in this category