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
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
-
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