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 💰
- Host: GitHub
- URL: https://github.com/trenddapp/lottery
- Owner: trenddapp
- License: mit
- Created: 2021-12-25T14:48:19.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-09T16:20:59.000Z (almost 3 years ago)
- Last Synced: 2023-03-03T20:13:28.469Z (over 2 years ago)
- Topics: brownie, chainlink, chainlink-vrf, openzeppelin-upgrades, solidity, upgradeable-smart-contract
- Language: Solidity
- Homepage: https://trenddapp.com/dapps/lottery
- Size: 394 KB
- Stars: 23
- Watchers: 10
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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/)