Post
Topic
Board Service Announcements (Altcoins)
Re: [ETH ]*New Round Based Bet Game: Bet On Hash *
by
likegames
on 08/04/2016, 11:38:37 UTC
Just in case somebody does not know how to send a data byte together with Ether:

If you are using Geth or Ethereum Wallet (wich starts Geth in the background):
after typing
Code:
geth attach
in a command line, enter:
Code:
eth.sendTransaction({from: eth.accounts[0], to:'0x7753A9D834844cFDe5C211ec3912b49f0d8B8e11', value:web3.toWei(0.1, "ether"), gas:100000, data:"0x01"})
to send "0x01" and 0.1 Ether to address 0x7753A9D834844cFDe5C211ec3912b49f0d8B8e11.

Change "0x01" to "0x81" if you want to change your bet or change value and address if you want to risk more or less (see original post).

In the GUI of Ethereum Wallet (Mist) just click SEND and after entering the address and the amount click the ADD DATA button and enter 01 or 81 in the input field below the button.