Skip to content

leif-runescribe/ipfs-hash-to-blockchain

Repository files navigation

Decentralized Voting Application using NextJS

This is a demo application to implement voting in solidity smart contract and backend API in NextJS.

Youtube Tutorial

Architecture

alt text

Installation

After you cloned the repository, you want to install the packages using

npm install

You first need to compile the contract and upload it to the blockchain network. Go to https://remix.ethereum.org/, and deploy the smart contract on your choice of blockchain. Copy and paste the abi and contract address along with rpc-url of the blockchain network in constant.js. Also get the private key from your metamask account.

Once you have done everthing above, simply run the following command to make the server running

npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published