CryptoDevs DAO is a decentralized application that allows members to propose and vote on purchasing fake NFTs. Built with Next.js and integrated with Ethereum smart contracts, this project offers a simplified interface for DAO (Decentralized Autonomous Organization) operations.
- Connect your Ethereum wallet.
- Create a proposal to purchase a fake NFT.
- Vote YAY or NAY on existing proposals.
- View a list of all proposals with their details.
- Execute a proposal after the deadline.
- (Admin only) Withdraw Ether from the DAO contract.
- Node.js and npm installed.
- MetaMask or similar Ethereum wallet.
-
Clone the repository:
git clone [repository_url] cd [repository_directory]
-
Install the required npm packages:
npm install
-
Add your Ethereum contract ABI and addresses in the
constants
directory. -
Configure the frontend environment variables (if any) as per your setup.
-
Start the Next.js server:
npm run dev
-
Open a browser and navigate to
http://localhost:3000/
to access the DAO interface.
- Connect your Ethereum wallet using the "Connect Wallet" button.
- Once connected, you can create a proposal or view existing proposals.
- Proposals can be voted on until their deadline.
- After the voting deadline, if the proposal hasn't been executed, it can be executed based on the majority of the votes.
- Admins have the additional capability to withdraw Ether from the DAO contract.
- Next.js
- Ethereum Smart Contracts
- RainbowKit
- Wagmi (Ensure to provide appropriate links or references for the used tools and libraries.)