Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wolivera/voting-dapp
A blockchain based multi-contract Voting Dapp
https://github.com/wolivera/voting-dapp
Last synced: about 1 month ago
JSON representation
A blockchain based multi-contract Voting Dapp
- Host: GitHub
- URL: https://github.com/wolivera/voting-dapp
- Owner: wolivera
- Created: 2022-06-24T13:22:31.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-04T19:20:57.000Z (almost 2 years ago)
- Last Synced: 2024-05-19T06:17:26.147Z (about 2 months ago)
- Language: TypeScript
- Size: 457 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-zircon - Voting Dapp Example
README
![]()
ZVoting is a Voting dApp that demonstrates a pure blockchain based Voting descentralized system. This app supports multiple ballots at the same time through the usage of a parent MainVoting contract and a particular Voting contract that keeps track of individual Votings and its options. A React UI is also present in this repo to interact with such Smart Contracts through Metamask.
## Build locally
All dependencies are contained within a single repo. Contracts are compiled and managed with Hardhat.
```shell
$ yarn install
```
Then open up a new window to start the blockchain```shell
$ npx hardhat node
```
Deploy the contract
```shell
$ npx hardhat run scripts/deploy.js --network localhost
```Start the dApp
```shell
$ yarn run dev
```## Demo
![]()
![]()