yam-finance / Yam-DAO-Set

Smart contracts for the Yam DAO Set

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🍠 Yam DAO Set 🍠

Development

Building

This repo uses truffle and dapptest for testing. Most of the updated tests were done using dapptest, while deployment will be handled by truffle. Some tests weren't transfered over from v1, particularly around governance.

Then, to build the contracts for deployment run:

$ truffle compile

To run tests, install Nix and dapptools:

$ curl -L https://nixos.org/nix/install > nix.sh
$ nix-env -iA dapp hevm -f https://github.com/dapphub/dapptools/tarball/master -v

Running tests:

$ export ETH_RPC_URL=http://localhost:8545 # mainnet node
$ ./scripts/dapp-test.sh

About

Smart contracts for the Yam DAO Set

License:Other


Languages

Language:Solidity 84.0%Language:JavaScript 8.4%Language:Shell 5.8%Language:Python 1.8%Language:Rust 0.0%