ethereum-games icon indicating copy to clipboard operation
ethereum-games copied to clipboard

The official code repo for the book Building Games with Ethereum Smart Contracts

Results 7 ethereum-games issues
Sort by recently updated
recently updated
newest added

Can you find it? The first user who can point to a transaction that exploits the flaw will receive a 0.1 ether reward. Attack away :)

I think there are 2 smaller problems with this contract: 1. it seems you allow 38 different numbers, but a roulette only has 37 numbers: https://github.com/k26dr/ethereum-games/blob/3128272012f7dc6678332533aa97bad29411ba62/contracts/Gambling.sol#L114 2. you don't have...

I think there is problem with that RNGLottery contract. If I am an attacker, I can have 3 addresses and buy 3 different lottery tickets. During the reveal phase I...

This issue only happens if there are periods when the powerball contract is not actively used, and if any period like that exists, then I could draw all the account...

Hey man, very nice project! I am learning solidity and trying to implement some knowledge in a personal project. Your powerball code is amazing and it is kind like something...

If you'd like to create your own prize puzzle, deploy it to the mainnet then paste a link to the Etherscan page here. The link to the first prize puzzle...