Skip to content

pradeepvarma22/DAO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DAO

Any Members can create a Proposal and all other members can vote on it. each Proposal created has a deadline for voting and after all the deadline decision is made in favour of the voting outcome.


Installation

cd dao-dapp/
yarn install
yarn run dev

Contract Deployed At

ERC20 Contract Address: 0xa9E8dde0109F31504CfA37994D13f6189e5D9ad5
DAO Contract Address: 0xFe8E2e3E07224170eB9E0CEfa1da2c4C5D63d50C



  1. ERC20

    ERC20 is used as a voting token for decentralised autonomous organisations ( DAO ). We can mint tokens as shown in the pic below. where users can login through MetaMask Wallet and Mint Tokens.

  2. DAO accepts ERC20 token deposits.

    To add a proposal, users need to have a minimum of 10 VARMA ERC20 Tokens. To add any new proposals Initially, users need to deposit ERC20 tokens into the DAO Smartcontract. This will be done in two steps.

    1. Approve (ERC20)
    2. transferFrom (ERC20, DAO Contract deposit function )

  3. Add Proposals

    A user can add proposals if they have a minimum amount of 10 VARMA ERC20 Tokens.

  4. DAO

    Users can upvote and downvote. The time limit for ending a proposal is seven days.

About

Decentralized Autonomous Organization

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published