Title: Anyone want to test my gambling contract in ETH testnet? Post by: imlonghao on July 16, 2017, 12:53:49 PM Hi there,
I wrote a gambling contract in ETH testnet (Ropsten), it's a simple contract so I wanted to let you guys test it. This contract is currently base on ETH testnet blockchain, you can bet the last digit of the difficulty, which is the block that collect your transaction. Some information and source code can be found on: https://ropsten.etherscan.io/address/0x5bd3e24b71ce3dd188a3bf48cd874b95cc6a1155#readContract How to bet: Contract Address: 0x5bd3e24b71ce3dd188a3bf48cd874b95cc6a1155 (DON'T SEND ETH TO THIS CONTRACT)(ROPSTEN ETH ONLY) send fund less than the max bet limit with the bet data. https://i.loli.net/2017/07/16/596b5bf4e89b0.jpg (you can found it on the link above) So the max bet limit is 126515151515151515/1000000000000000000=0.12651515151ETH For example, if I wanted to bet number 6 with 0.1 ROPSTEN ETH. You can use MyEtherWallet to send your ROPSTEN ETH to contract. Make sure gas limit is 50000, or else your transaction may be out of gas. https://i.loli.net/2017/07/16/596b5cb78bd2b.jpg Code: 0x7365870b0000000000000000000000000000000000000000000000000000000000000006 You can change the last digit (0 to 9 only) of the data to place your own bet. or you can use Interact with Contract in MyEtherWallet, ABI can be found on: https://ropsten.etherscan.io/address/0x5bd3e24b71ce3dd188a3bf48cd874b95cc6a1155#code How to verify your bet For example, I bet 6 in this transaction: https://ropsten.etherscan.io/tx/0x17ce6b633a5f55abaf4964b556cf592dae01495746535948ee2c4ae1679bca1a You can see what I bet in Input Data, the last digit 6 is what I bet. Also you can know this transaction is collect by block 1310198, so in https://ropsten.etherscan.io/block/1310198 , we can find the difficulty in this page. For 1310198, this is 603,360,328 so I failed in this bet, 1 wei will be automatically send back to you. If you're lucky, 9.9 times of your bet will be send back to you automatically. 1% house edge. CLAIM YOUR ROPSTEN ETH leave your ROPSTEN address here I will send you 0.5 ROPSTEN ETH for this test. Have Fun! Title: Re: Anyone want to test my gambling contract in ETH testnet? Post by: EdwardDowning on July 18, 2017, 12:12:43 PM I think you want test in youre gambling site
but only etherum token what this mean test you can give youre etherum token Title: Re: Anyone want to test my gambling contract in ETH testnet? Post by: romanlanskoj on August 09, 2017, 11:18:39 AM hello
need some ropsten eth 0xCAFf5ea735C0bDD069B9455AaA4c777509A885c8 thanks |