BitShares Forum
Other => Graveyard => LottoShares => Topic started by: muse-umum on May 23, 2014, 02:28:55 pm
-
+5% +5%
How does the user input the six numbers ?
-
The QT GUI has a panel where the numbers can be selected and ticket played, however the transaction is very straightforward to create so I'd hope to see other interfaces emerge for it too.
A ticket is simply a transaction of a specific format.
It must have 8 outputs.
The first six contain the numbers played, in satoshi, the seventh contains the stake.
The address for the first 7 inputs must be the same - LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn
The eight must be a change address. The prize is sent to the change address.
example
LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn 1
LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn 2
LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn 3
LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn 4
LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn 5
LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn 6
LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn 1000
LeYn5jtB4xuZGCBzzaSsszZEUvJNPkvHFR 500
Be careful not to play a ticket without a change transaction - it is not a valid ticket.
Note: Updated 16/07/2014 with latest information
-
Please give example how to send the transaction directly... this GUI, selecting one number at a time is annoying.
-
okay, post above updated with up to date information.
-
Thanks!
Excuse my possibly stupid question, buy I send the above transaction with which command :
sendrawtransaction ?
-
how often are prizes awarded? once a day?
-
how often are prizes awarded? once a day?
about every 3 min. (theoretically)
-
The QT GUI has a panel where the numbers can be selected and ticket played, however the transaction is very straightforward to create so I'd hope to see other interfaces emerge for it too.
A ticket is simply a transaction of a specific format.
It must have 8 outputs.
The first six contain the numbers played, in satoshi, the seventh contains the stake.
The address for the first 7 inputs must be the same - LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn
The eight must be a change address. The prize is sent to the change address.
example
LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn 1
LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn 2
LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn 3
LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn 4
LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn 5
LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn 6
LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn 1000
LeYn5jtB4xuZGCBzzaSsszZEUvJNPkvHFR 500
Be careful not to play a ticket without a change transaction - it is not a valid ticket.
Note: Updated 16/07/2014 with latest information
'sendmany' gives me:
Invalid parameter, duplicated address: LTSLTSLTSLTSLTSLTSLTSLTSLTSLUWUscn (code -8)
Any solutions?
-
Okay - I checked in a fix.
Note with this method, there is a small risk. If sendmany finds inputs exactly equal to the outputs, there won't be a change output, and the ticket won't be valid. The GUI includes a check for this, but with sendmany you're on your own with that.