- Clone this repo:
git clone https://github.com/cherepasshka/qDAO.git
cd qDAO
- Install dependencies
yarn
- Run tests
yarn hardhat test
- Deploy to blockchain testnet
Firstly you need to set up environment variables:
ALCHEMY_API_KEY
SEPOLIA_PRIVATE_KEY
(preferred) orGOERLI_PRIVATE_KEY
COMMISSION
- path to file containing the commission addresses in the following format
{
"accounts": [
{
"address": "0xaf1.....8f2c6",
"address": "0x2a4.....78dc0"
....
}
]
}
and then run
yarn hardhat deploy --network sepolia