This is an example of a simple wallet interface smart contract (SWIS contract) that enables gambling with nothing but an Ethereum wallet.
#Proof of bytecode The smart contract in commit 8d409a216cbd61b5ad9d88a02289db936ad511ad of this repository was compiled using the browser solidity compiler using Solidity compiler version v0.4.11+commit.68ef5810 without optimization. The resulting bytecode was deployed and the contract is available at address 0x0a630de26e5b41eaef08741e74da4018a6c2e14c.
#Usage
- Start a new round of a game by sending some Ether to the contract at address 0x0a630de26e5b41eaef08741e74da4018a6c2e14c.
- From now on users have 3 minutes to register by sending a transaction to that address. The transaction does not have to contain any Ether.
- After 10 minutes are over, another transaction needs to be send to the same address (can again be with zero Ether) to obtain winner and send out funds.