Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: Luxo42 on March 21, 2018, 07:40:31 AM



Title: [Challenge] Gamble or HackMe. Ethereum smart contract.
Post by: Luxo42 on March 21, 2018, 07:40:31 AM
Mainnet ethereum address: 0x2F58B31ecaD8F1a60375A0c9968556283e6cE41A

Start contract balance: 0.1 ETH
Betting: just send eth to contract's address
Odds: get back 1.2x of your stake 4 times out of 5
Randomness: timestamp % 5
Payouts: instantly in same transaction
Max bet: one-fifth of the contract's balance
Min bet: zero
Site: no. Use your ethereum client instead.
Source code (https://etherscan.io/address/0x2f58b31ecad8f1a60375a0c9968556283e6ce41a#code)

It's very easy to hack contract for ethereum miner. But i hope he will not do that since amount isn't too big.
I'am interested in non-miner hacking. Is it possible?

GLHF