An open API service indexing awesome lists of open source software.

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.

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) ##