All Projects β†’ CrazybutSolid β†’ ethereum-lottery

CrazybutSolid / ethereum-lottery

Licence: other
Ethereum smart contract lottery: 5 people send 0.2 ether, contract sends 0.8 ethers to one of the senders at random and 0.2 ethers to givedirectly

Programming Languages

javascript
184084 projects - #8 most used programming language
ruby
36898 projects - #4 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to ethereum-lottery

taiwanlottery
πŸ‡ΉπŸ‡Όε°η£ζ¨‚ι€ηˆ¬θŸ²πŸ›(ε°η£ε„ι‘žεž‹ζ¨‚ι€ηˆ¬θŸ²)πŸ˜„
Stars: ✭ 18 (-18.18%)
Mutual labels:  lottery
Android-Wallet-Token-ERC20
Android Wallet (Token ERC20)
Stars: ✭ 30 (+36.36%)
Mutual labels:  ethereum-contract
contracts
Contracts for FundRequest (platform, token, crowdsale)
Stars: ✭ 56 (+154.55%)
Mutual labels:  ethereum-contract
angle-core
Smart contracts for the Core Module and the governance of the Angle Protocol
Stars: ✭ 56 (+154.55%)
Mutual labels:  ethereum-contract
etherbrite
πŸ—“ Clone eventbrite on Ethereum, built in Solidity, TruffleJS, Web3js and React/Redux.
Stars: ✭ 19 (-13.64%)
Mutual labels:  ethereum-contract
OpenComplaintNetwork
OCN is a public redressal system and open police complaint filing system on Blockchain.
Stars: ✭ 20 (-9.09%)
Mutual labels:  ethereum-contract
ehr-blockchain
Electronic Health Record (EHR) and Electronic Medical Record (EMR) systems. However, they still face some issues regarding the security of medical records, user ownership of data, data integrity etc. The solution to these issues could be the use of a novel technology, i.e., Blockchain. This technology offers to provide a secure, temper-proof pl…
Stars: ✭ 41 (+86.36%)
Mutual labels:  ethereum-contract
GameOfLife
The world's most expensive version of Conway's Game of Life - running on the Ethereum Blockchain
Stars: ✭ 72 (+227.27%)
Mutual labels:  ethereum-contract
niftygate
Drop-in Access Control via NFT Ownership
Stars: ✭ 61 (+177.27%)
Mutual labels:  ethereum-contract
multisol
CLI application for verifying Solidity contracts on Etherscan
Stars: ✭ 94 (+327.27%)
Mutual labels:  ethereum-contract
ProveIt
Implements proof of historical data possession on the Ethereum blockchain
Stars: ✭ 37 (+68.18%)
Mutual labels:  ethereum-contract
tx-manager
Solidity contract to make multiple calls in one Ethereum transaction. Used by Maker keepers.
Stars: ✭ 66 (+200%)
Mutual labels:  ethereum-contract
dharma-token
Implementation and testing for core Dharma Token (dToken) contracts, including Dharma Dai and Dharma USD Coin.
Stars: ✭ 35 (+59.09%)
Mutual labels:  ethereum-contract
lottery
πŸ€ Lottery CLI BRAZIL
Stars: ✭ 29 (+31.82%)
Mutual labels:  lottery
almost-components uniapp
uni-app δ½Ώη”¨ηš„ε€šη«―η»„δ»Άι›†εˆοΌŒζ”―ζŒAPP、H5、小程序
Stars: ✭ 37 (+68.18%)
Mutual labels:  lottery
solidity-itMapsLib
Iterable maps library for Ethereum Solidity
Stars: ✭ 19 (-13.64%)
Mutual labels:  ethereum-contract
eSportsETH
A decentralized eSports betting platform
Stars: ✭ 20 (-9.09%)
Mutual labels:  ethereum-contract
Ethplorer
Viewer of Ethereum tokens and transactions based on ERC20 standard.
Stars: ✭ 722 (+3181.82%)
Mutual labels:  ethereum-contract
truffle-react
βš›οΈ A boilerplate Truffle Box project with Create React App for rapid Ethereum Dapp development
Stars: ✭ 45 (+104.55%)
Mutual labels:  ethereum-contract
advanced-solidity-lottery-application
This is an advanced lottery example smart contract on solidity Ethereum. It has CRUD examples required to create an application on solidity Ethereum.
Stars: ✭ 49 (+122.73%)
Mutual labels:  lottery

README

Ethereum Lottery (Ropsten)

How to play:

  1. Send 0.2 ether (exact) to address 0x20b8c246DCaF8Dd2c739A49c02D0dDfC752C1c07 1a) If you send more or less than 0.2 ether, the contract will reject the transaction
  2. After 5 people have sent 0.2 ether, the contract chooses one address at random and sends 0.8 ethers to it + 0.2 ethers to Give Directly's address
  3. The lottery restarts

I'm a terrible developer! Doing this for fun and to understand ethereum. Any suggestions to the code are highly encouraged and recommended.

Smart contract code is in the /contracts directory

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].