Bitcoin Forum
June 20, 2024, 07:40:52 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Anyone want to test my gambling contract in ETH testnet?  (Read 323 times)
imlonghao (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
July 16, 2017, 12:53:49 PM
 #1

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!
EdwardDowning
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
July 18, 2017, 12:12:43 PM
 #2

I think you want test in youre gambling site
but only etherum token

what this mean test you can give youre etherum token
romanlanskoj
Sr. Member
****
Offline Offline

Activity: 340
Merit: 254


CREATE YOUR OWN CRYPTO-CURRENCY WITH ETHEREUM 150$


View Profile WWW
August 09, 2017, 11:18:39 AM
 #3

hello
need some ropsten eth

0xCAFf5ea735C0bDD069B9455AaA4c777509A885c8

thanks

https://bitcointalk.org/index.php?topic=1956996
I can create the cryptocurrency Ethereum-token for you, with any initial supply,  batch transfers, enable the owner to print new tokens,  custom currency rates (can make the token's value be backed by ether  by creating a fund that automatically sells and buys them at market value) and other features.
Full support and privacy

Only you will be able to issue it and only you will have all the copyrights!

Price is only 0.33 ETH in June 2017 (I ask you also gift me a small % of issued coins).

viber +375298563585
telegram +375298563585
gmail romanlanskoj@gmail.com

The information I need:
1) the address where your new currencies will be created and then the amount;
2) the name for your token and amount of decimals for display purposes;
3) if you need the token's value be backed by smart contract (automatically sells and buys) - write me this prices please;
4) if you want the amount of coins in circulation to change please tell it (the possibility to issue or remove your tokens from circulation);
5) also please send at least 0.05-0.1 ETH to 0x4BCc85fa097ad0f5618cb9bb5bc0AFfbAEC359B5 (or 0.33 ETH if you totally wanna prepay).

Your ETH Token will be seen like here: https://ethplorer.io/address/0x6d57fe045dcced8b289db59f66cd4354b6483d63
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!