New Kuggamax!
~ Kingwel
The new Kuggamax is a decentralized publishing platform.
Kuggamax is described by two smart contracts:
Kuggamax.sol
- Responsible for managing membership & voting rights, proposal submissions, voting, and processing proposals based on the outcomes of the votes.GuildBank.sol
- Responsible for managing Guild assets.
Kuggamax is using an external ERC20 token, KMC.
To intall this project run npm install
.
To tests the contracts run npm run test
.
To compute their code coverage run npm run coverage
.
This project includes Hardhat tasks for deploying and using Kuggamax.
Follow this instructions to deploy a new DAO:
- Edit
hardhat.config.js
, setting the values forINFURA_API_KEY
andMAINNET_PRIVATE_KEY
. - Edit
deployment-params.js
, setting your desired deployment parameters. - Run
npx hardhat kuggamax-deploy --network mainnet
- Edit
hardhat.config.js
, setting the address of the Kuggamax innetworks.mainnet.deployedContracts.kuggamax
.
This project has tasks to work with Kuggamax contracts. To use them, you should first follow this instructions:
- Edit
hardhat.config.js
, setting the values forINFURA_API_KEY
andMAINNET_PRIVATE_KEY
. - Make sure you have the right address in
hardhat.config.js
'snetworks.mainnet.deployedContracts.kuggamax
field.
npx hardhat kuggamax-deploy
npx hardhat deposit --amount 0.1
npx hardhat create-lab --description no1
npx hardhat create-item --lab 1
npx hardhat mint --item 1
npx hardhat add-member --member
npx hardhat remove-member --member
npx hardhat withdraw --amount 100
npx hardhat debug