WebX DAO Voting - Membership Dapp for the community

Overview

WebX DAO Voting / Membership Dapp 🧬

This Dapp allow decisions to be made via voting amongst those who own non-fungible tokens (NFTs) from the DAO, which grant membership.

Getting Started

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

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

  3. Add .env file with :

PRIVATE_KEY=<wallet_private_key>
ALCHEMY_API_URL=<alchemy_http_key>
WALLET_ADDRESS=<public_wallet_address>
  1. Then, run the development server:
npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

OpenSea Testnet Collection

See the collection here.

Comments
  • Add transparent logo

    Add transparent logo

    Related Issue

    • Information about the related issue

    Closes: #

    Describe the changes you've made

    Type of change

    What sort of change have you made: Added a transparent logo.

    • [ ] Bug fix (non-breaking change which fixes an issue)
    • [ ] New feature (non-breaking change which adds functionality)
    • [ ] Code style update (formatting, local variables)
    • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
    • [ ] Documentation update.
    • [ ] This change requires a documentation update

    How Has This Been Tested?

    Checklist

    • [x] My code follows the guidelines of this project.
    • [x] I have performed a self-review of my own code.
    • [x] I have commented on my code, particularly wherever it was hard to understand.
    • [x] I have made corresponding changes to the documentation.
    • [x] My changes generate no new warnings.
    • [x] I have added tests that prove my fix is effective or that my feature works.
    • [x] Any dependent changes have been merged and published in downstream modules.

    Screenshots (if applicable)

    Original | Updated :--------------------: |:--------------------: original screenshot | updated screenshot |

    Code of Conduct

    opened by AbhinavMV 3
  • [OTHER] Add License

    [OTHER] Add License

    What would you like to share?

    Hey @mkubdev, I think it's good to add a license for this repo.

    Additional information

    No response

    Would you like to work on this issue?

    • [X] Yes, I want to work on this issue!

    Code of Conduct

    • [X] I agree to follow this project's Code of Conduct
    opened by vinzvinci 1
  • Dao hero

    Dao hero

    Describe the changes you've made

    Add: New homepage + Tailwind + Lottie animation

    Type of change

    What sort of change have you made:

    • [ ] Bug fix (non-breaking change which fixes an issue)
    • [x] New feature (non-breaking change which adds functionality)
    • [ ] Code style update (formatting, local variables)
    • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
    • [ ] Documentation update.
    • [ ] This change requires a documentation update

    How Has This Been Tested?

    Same as before.

    Checklist

    • [x] My code follows the guidelines of this project.
    • [x] I have performed a self-review of my own code.
    • [x] I have commented on my code, particularly wherever it was hard to understand.
    • [x] I have made corresponding changes to the documentation.
    • [x] My changes generate no new warnings.
    • [x] I have added tests that prove my fix is effective or that my feature works.
    • [x] Any dependent changes have been merged and published in downstream modules.

    Screenshots (if applicable)

    Original | Updated :--------------------: |:--------------------: image | image |

    Code of Conduct

    enhancement 
    opened by mkubdev 1
  • [OTHER] Switch from Rinkeby testnet to Mumbai testnet ?

    [OTHER] Switch from Rinkeby testnet to Mumbai testnet ?

    What would you like to share?

    The first iteration of the dao dapp is running on Rinkeby Testnet. ETH gasfee are super high, maybe we should switch to Mumbai testnet ?

    Additional information

    No response

    Would you like to work on this issue?

    • [ ] Yes, I want to work on this issue!

    Code of Conduct

    • [X] I agree to follow this project's Code of Conduct
    opened by mkubdev 6
  • [FEATURE] Update `checkIfUserHasVoted` to list all proposals voting state

    [FEATURE] Update `checkIfUserHasVoted` to list all proposals voting state

    Detailed description

    On index.js file :

      const [hasVoted, setHasVoted] = useState(false);
    
    ...
    
    const checkIfUserHasVoted = async () => {
          try {
            // Actually it only check the first proposal, we need to check all proposals
            // and dispatch states
            const hasVoted = await vote.hasVoted(proposals[0].proposalId, address);
            setHasVoted(hasVoted);
            ...
    

    We check only the first DAO proposals !

    I suggest to update this function and the setHasVoted state logic to be able to list all proposals states.

    Context

    This is a requiered feature because the dapp actually set state only for the first proposal.

    Possible implementation

    Maybe we can make something like :

      const [hasVoted, setHasVoted] = useState([]);
    
    ...
    
     proposals.forEach(proposal => {
          const hasVoted = await vote.hasVoted(proposal.proposalId, address);
          setHasVoted( ... );
    })
    

    Additional information

    No response

    Code of Conduct

    • [X] I agree to follow this project's Code of Conduct
    enhancement 
    opened by mkubdev 0
Owner
WebX DAO
We're rebranding to WebX DAO. @Web3Community will continue simple project
WebX DAO
In our last repo we learnt how to create a DAO on your own and how to use governance tokens and NFTs for voting purposes.

In our last repo we learnt how to create a DAO on your own and how to use governance tokens and NFTs for voting purposes. Now we will be stepping into the world of games with NFTs where a user has to play games with their character being an NFT which has unique powers, unique traits etc etc.

Daksh Paleria 6 Oct 1, 2022
The one DAO to rule them all. A modular DAO written in Clarity for the Stacks blockchain.

ExecutorDAO The one DAO to rule them all. ExecutorDAO is designed to be completely modular and flexible, leveraging Clarity to the fullest extent. The

Marvin 31 Oct 5, 2022
A community website built by the community for the community (Hacktoberfest 2022) :tada:

Hacktoberfest 2022 ?? : Built by the community for the community! This repository is an initiative which aims to help beginners kickstart their open-s

Your First Open Source Project 5 Oct 12, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Elven Tools Dapp - Elrond blockckchain frontend dapp demo. Primarily for NFT minting, but it can be used for other purposes.

Elven Tools Dapp Docs: elven.tools/docs/landing-page.html Demo: dapp-demo.elven.tools Sneak peek: youtu.be/ATSxD3mD4dc The Dapp is built using Nextjs

Elven Tools 24 Jan 1, 2023
Repository for DeCHO - a crowdfunding platform using Choice Coin for voting.

DeCHO Repository for DeCHO - a crowdfunding platform using Choice Coin for voting. ReactNative This project is built using ReactNative Code to run cd

Choice Coin 12 Oct 21, 2022
auto-vote-topgg automates voting for bots on top.gg using google chrome!

auto-vote-topgg auto-vote-topgg automates voting for bots on top.gg using google chrome! uses your account thats already logged into top.gg you must b

Anonymous 2 Jan 29, 2022
DAVI - Decentralised Autonomous Voting Interface

DXvote DXdao recognizes the need to adapt and build new systems that reach consensus in a scalable, decentralized and effective way. Consensus is not

DXgovernance 9 Dec 13, 2022
Hasbik is a community based social token and the new paradigm in the crypto space. With the goal to build a community around a crypto token.

Hasbik is a community based social token and the new paradigm in the crypto space. With the goal to build a community around a crypto token.

null 2 Jan 5, 2022
DAO boilerplate generator. Powered by buildspace x thirdweb.

Kingdom Create DAO boilerplate generator made by the Buildspace community. ➜ npx kingdom-create my-dao ⌛ Downloading files ... ⌛ Installing dependenc

Kingdom 6 Mar 13, 2022
This is the main repository for NFT collection dao smart contracts.

Basic Sample Hardhat Project This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, a sample s

null 3 Apr 11, 2022
This is a fully functional DAO, a Web3 project made using Solidity, Hardhat, JS, Next.js, Openzeppelin, CSS, HTML, using the Rinkerby network!

My First DAO! This is made for a DAO-Tutorial via learnweb3.io This is a DAO, a decentralised autonomous organisation, essentially a more collective a

Kell (K42) 3 Jun 20, 2022
FlexiPay is a flexible payment solution for DAO Events.

Problem Statement Ever thought about not attending the event further right when it’s ongoing? Ever felt like the money you paid for an event isn’t wor

Darshan Hande 6 Nov 24, 2022
This repo contains instructions on how to create your NFT in Solana(using Metaplex and Candy Machine) and mint it using your custom front-end Dapp

Solana-NFT minting Dapp Create your own NFT's on Solana, and mint them from your custom front-end Dapp. Tools used Metaplex -> Metaplex is the NFT sta

Udit Sankhadasariya 12 Nov 2, 2022
Minimal Typescript / NextJS dApp template bootstrapped with wagmi Ethereum react hooks library.

Welcome to the NextJS wagmi starter template ?? Looking to get up and running with a Typescript / NextJS dApp as quickly as possible? You're in the ri

Seth 78 Jan 4, 2023
A Bed and Breakfast dApp run on Ethereum. Includes a token + schedule system (Solidity) and full front-end (React + ethers.js) built with Hardhat.

Hotel ETH - Watch Demo Video Hotel ETH A (fictional) Bed-and-Breakfast run on Ethereum Come Book a Room on Kovan or Rinkeby Networks View the Demo » C

Ryan Lambert 20 Aug 20, 2022