Skip to content

A simple decentralised blog with a lottery rewards system using solidity. The app was compiled using HardHat and deployed on the Ethereum chain using Alchemy.

Notifications You must be signed in to change notification settings

nairMadhav/decentralised-lottery-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decentralised Forum with integrated Lottery using Solidity and React

This project demonstrates how to deploy a Smart Contract on Ethereum using Alchemy. The smart contract was compiled using HardHat and is deployed on Rinkeby.

Hosted on Replit here

The Forum has a 10% chance of awarding the user a rETH based incentive.

The client was built on React and uses web3.js to communicate with the Ethereum object on the browser. The frontend uses Vite as a build tool to ease the development process

Run the program on localhost using

npx hardhat run scripts/run.js

Deploy your contract using Hardhat with the following command

 npx hardhat run scripts/deployer.js --network rinkeby

About

A simple decentralised blog with a lottery rewards system using solidity. The app was compiled using HardHat and deployed on the Ethereum chain using Alchemy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages