milestone based funded decentralized grants program
features:
- Smart contract automated fund claim process
- Proper ownership access control
- Supports multiple milestones
- Claiming flow is a proposal and proof of work can be submitted as a smart contract
- Easy to use UI for deployer and members to setup DAO
- Write and deploy within the app
- Clarity syntax highlight
link: https://youtu.be/aDuB2fzSNM8
![Screenshot 2023-12-14 at 5 34 15 AM](https://private-user-images.githubusercontent.com/55238388/290360537-649be4be-768b-4299-b96e-bacbc1307def.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NDUwNzMsIm5iZiI6MTcyNTc0NDc3MywicGF0aCI6Ii81NTIzODM4OC8yOTAzNjA1MzctNjQ5YmU0YmUtNzY4Yi00Mjk5LWI5NmUtYmFjYmMxMzA3ZGVmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA3VDIxMzI1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcyMGY3ZDVjMWZlNGRlNDVmODMxZDM5MjVkZDA1ZWQ2ODM3NTg2OWU5ZWM2YjE4Mzc3ZGE1ZGQ4YjA3NDA1ZGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.nUB5vh__ZFsiz2zLTfLf9qXw29lcQKNJR5febe88F3s)
To get the application running, follow these steps:
- Clone the repository:
git clone [[email protected]:Aman-zishan/sDAO.git](https://github.com/Aman-zishan/sDAO.git)
- Navigate into the directory:
cd sDAO
- Install the dependencies:
yarn install
- Start the development server:
yarn dev
Before getting into testing the application you need to spin up the devnet. This applications uses devnet to interact with the smart contract. To spin up the devnet, follow these steps:
In a new terminal session run the command:
clarinet integrate
- Once the devnet is up and running, import wallets to different browser accounts
- Import deployer wallet, go to
settings/Devnet.toml
and copy the mnemonic of the deployer account - Similarly import the mnemonic of any other wallet to be the member of DAO make sure the account you import has membership token balance
![Screenshot 2023-12-14 at 5 34 26 AM](https://private-user-images.githubusercontent.com/55238388/290362155-94346b94-2aec-4dad-9dee-66012ce0f24e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NDUwNzMsIm5iZiI6MTcyNTc0NDc3MywicGF0aCI6Ii81NTIzODM4OC8yOTAzNjIxNTUtOTQzNDZiOTQtMmFlYy00ZGFkLTlkZWUtNjYwMTJjZTBmMjRlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA3VDIxMzI1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY4MGVjZjc0NzFlNjJjNmQxMGQyZTIzOTY3ODY3YWFmOTA1Yjk0Y2I4ZTRkYjBjYWZjNzk1ZDA4MGVmZDAyMTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.fD66Bl8h-dK47SFY--7_rjIwDHBgq32SUK50pleH658)
-
Connect the deployer wallet to the application
-
Go to
Bootstrap DAO
page and click on each step to bootstrap sDAO one by one (user should be deployer for this action) -
Once the bootstrap is completed you can deploy and propose grant via
new grant proposal
page -
After proposing new grant find the grant under
your proposals
, vote and conclude. You can also connect via another wallet and vote for the grant -
click on
conclude
to conclude and execute the proposal -
once succcesfull go ahead and repeat the process for claiming the milestone, make sure to change the
contract
in boilerplate.grant-proposal
to your newly deployed grant contract -
vote and conclude just like grant proposal
-
You should be able to see the stx transfer event from the contract wallet to the provided recipient