https://github.com/nayak-nirmalya/raffle-dapp
It's a DApp where multiple user can enter a raffle with pre defined Entrance Fee. After a time interval a random user is pciked as winner and gets all Ethers of the contract.
https://github.com/nayak-nirmalya/raffle-dapp
Last synced: 7 months ago
JSON representation
It's a DApp where multiple user can enter a raffle with pre defined Entrance Fee. After a time interval a random user is pciked as winner and gets all Ethers of the contract.
- Host: GitHub
- URL: https://github.com/nayak-nirmalya/raffle-dapp
- Owner: nayak-nirmalya
- Created: 2022-06-29T06:06:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-29T06:34:31.000Z (over 3 years ago)
- Last Synced: 2025-01-22T12:12:06.319Z (9 months ago)
- Language: JavaScript
- Size: 612 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# raffle-dapp
It's a DApp where multiple user can enter a raffle with pre defined Entrance Fee. After a time interval a random user is pciked as winner and gets all Ethers of the contract.*run below command inside nextjs folder of front-end.*
```bash
npm run dev
npm run build
```*inside hardhat contract folder in raffle-dapp to simulate lottery winner.*
```bash
npx hardhat node
npx hardhat run .\scripts\mockOffchain.js --network localhost
```## Check out the Next.js front-end code [here](https://github.com/nayak-nirmalya/raffle-dapp-front-end) ##