This Dapp allow decisions to be made via voting amongst those who own non-fungible tokens (NFTs) from the DAO, which grant membership.
-
First, create a new project in thirdweb. Go to thirdweb and connect your MetaMask wallet. After you connect your wallet, click on Create Project and choose the Rinkeby network. Give your project a name and a description, and hit Create. If you don’t have enough ETH to pay for gas, get some from this faucet.
-
Next, head to Alchemy, sign in, click on Create App, and provide the required details. Make sure to use the same chain as the one you used in thirdweb – in our case, it is the Ethereum chain and the Rinkeby network.
-
Add
.env
file with :
PRIVATE_KEY=<wallet_private_key>
ALCHEMY_API_URL=<alchemy_http_key>
WALLET_ADDRESS=<public_wallet_address>
- Then, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
See the collection here.