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

https://github.com/trenddapp/lottery

Decentralized Lottery by TrendDapp 💰
https://github.com/trenddapp/lottery

brownie chainlink chainlink-vrf openzeppelin-upgrades solidity upgradeable-smart-contract

Last synced: 27 days ago
JSON representation

Decentralized Lottery by TrendDapp 💰

Awesome Lists containing this project

README

          



favicon

Trenddapp




Develop dapps for friends!


Auction .
Lottery .
NFT .
Wordle



## Lottery
A decentralized lottery app running on the Ethereum network, where you can easily participate by connecting your crypto wallet and buying tickets. After the specified lottery duration, a winner is chosen with a random number generated by Chainlink.

---

Building a DAPP(Decentralized Application) on Ethereum includes two major steps:
1. Writing a smart contract and deploying it to Ethereum.
2. Interacting with the data and smart contract on Ethereum.

## Interacting with the data and smart contract on Ethereum:

No matter what programming language you are using, in order to make a request to the Ethereum network, you'll need:

|Name |Description |
|----------------------|---------------------------------------------------------------------------------------------------|
|RPC Provider |A node(server) that is connected to the Ethereum network, and listens to the incoming RPC requests.|
|Smart Contract ABI |An interface that defines all methods with arguments available in the smart contract. |
|Smart Contract Address|An address that is used to find the smart contract runner nodes in the Ethereum network. |
|User's Private Key |A private key that is used to sign/verify the write requests(transactions). |

## Conventions
Here is a list of conventions used:
- [Conventional commits](https://www.conventionalcommits.org/en/v1.0.0)

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.

## License
[MIT](https://choosealicense.com/licenses/mit/)