Bitcoin Forum
April 25, 2024, 02:34:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: LiteDice  (Read 3119 times)
mskwik (OP)
Full Member
***
Offline Offline

Activity: 125
Merit: 100


View Profile
July 15, 2012, 11:22:41 PM
 #1

I've been working on redesigning some of the backend bitcoin payment stuff that I have been using and in the process made it fairly simple to have it support alt-coins with the same basic design/networking.  My end goal was to make it much simpler to put basic (and not so basic) ***coin projects together without having to do security from the bottom up for each project.  Not really sure when/if those bits will ever be directly released but in the meantime I threw together a simple proof-of-concept to try things out.

http://greenishblue.info/litedice

The display/explanations may be a little rough around the edges but it is fully functional.  As always don't gamble with any coins you can't afford to lose and if you run into any issues let me know the tx hash and I'll track it down.

1714055682
Hero Member
*
Offline Offline

Posts: 1714055682

View Profile Personal Message (Offline)

Ignore
1714055682
Reply with quote  #2

1714055682
Report to moderator
1714055682
Hero Member
*
Offline Offline

Posts: 1714055682

View Profile Personal Message (Offline)

Ignore
1714055682
Reply with quote  #2

1714055682
Report to moderator
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
ElectricMucus
Legendary
*
Offline Offline

Activity: 1666
Merit: 1057


Marketing manager - GO MP


View Profile WWW
July 16, 2012, 12:36:45 AM
 #2

Nice  Cool

Though the house edge is a little too high for my taste. Satoshidice has 1.9% why is this 3%?
AndrewBUD
Hero Member
*****
Offline Offline

Activity: 1078
Merit: 502



View Profile WWW
July 16, 2012, 12:46:34 AM
 #3

1dice was 3% for a while..... just  recently changed back to 1.9% ...



▄▄▄███████▄▄▄
▄▄█████▀▀''`▀▀█████▄▄
▄███P'            `YY██▄
▄██P'                  `Y██▄
███'                      `███
███'                         ███
▄██'   ▄█████▄▄  ,▄▄▄▄▄▄▄▄▄▄p   ███
▄██▀  ,████▀P▀███.`██████████P   ▀██▄
███[ ,████ __. ███.   ,▄████▀    ███
███[ ]████████████[  ▄████▀       ███
███[ `████   ,oo2 ▄████▀'       ,███
▀██▄  `████▄▄█████d███████████   ▄██▀
▀██.   `▀▀▀▀▀▀"  Y▀▀▀▀▀▀▀▀▀▀▀  ,██▀
███.                        ,███
▀██▄                      ▄██▀
▀███▄_                 ,███▀
▀███▄▄_          _▄▄███▀
▀▀████▄▄ooo▄▄█████▀
▀▀███████▀▀'

365

TM

EZ365 is a digital ecosystem that combines
the best aspects of online gaming, cryptocurrency
trading
and blockchain education. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

..WHITEPAPER..    ..INVESTOR PITCH..

.Telegram     Twitter   Facebook

                       .'M████▀▀██  ██
                      W█Ws'V██  ██▄▄███▀▀█
                     i█████m.~M████▀▀██  ███
                     d███████Ws'V██  ██████
                     ****M██████m.~███f~~__mW█
          ██▀▀▀████████=  Y██▀▀██W ,gm███████
      g█████▄▄▄██   █A~`_WW Y█  ██!,████████
   g▀▀▀███   ████▀▀`_m████i!████P W███  ██
 _███▄▄▄██▀▀▀███Af`_m███   █W ███A ]███  ██
__ ~~~▀▀▀▀▄▄▄█*f_m██████   ██i!██!i███████
Y█████▄▄▄▄__. i██▀▀▀██████████ █!,██████
 8█  █▀▀█████.!██   ██████████i! █████
 '█  █  █   █W M█▄▄▄██████   ██ !██
  !███▄▄█   ██i'██████████   ██
   Y███████████.]██████████████
   █   ███████b ███   ██████
   Y   █   █▀▀█i!██   ████
    V███   █  █W Y█████
      ~~▀███▄▄▄█['███
            ~~*██

Play

            │
    │      ███
    │      ███
    │      ███
    │   │  ███
   ███  │  ███
   ███ ███ ███
 │  ███ ███ ███
███ ███ ███ ███
███ ███  │   │
███ ███  │   │
 │   │
 │

Trade

           __▄▄████▄▄
     __▄▄███████████████▄▄▄
 _▄▄█████████▀▀~`,▄████████████▄▄▄
 ~▀▀████▀▀~`,_▄▄███████████████▀▀▀
   d█~  =▀███████████████▀▀
   ]█! m▄▄ '~▀▀▀████▀▀~~ ,_▄▄
  ,W█. *████▄▄__ '  __▄▄█████
  !██P  █████████████████████
   W█. - ██████████████████▀
  i██[   ~ ▀▀█████████▀▀▀
 g███!
Y███

Learn
[/tabl
mskwik (OP)
Full Member
***
Offline Offline

Activity: 125
Merit: 100


View Profile
July 16, 2012, 01:16:48 AM
 #4

I figured it was safest to start with the edge on the high side and adjust lower later if possible.  The actual house edge (as opposed to the average displayed) depends on the bet size due to the minimum amount returned for a loss (which has to be somewhat higher than the 1dice ones due to the current fee rules on the litecoin network) so basically I wanted to make sure the expected return stays positive even with a lot of small bets.

mskwik (OP)
Full Member
***
Offline Offline

Activity: 125
Merit: 100


View Profile
July 16, 2012, 10:41:01 PM
 #5

Sorry if the return txs were a little slow there for a bit, seems my local litecoind decided to ban me for trying to relay too many transactions through it at once, at least that problem shouldn't happen again  Smiley

smoothie
Legendary
*
Offline Offline

Activity: 2492
Merit: 1473


LEALANA Bitcoin Grim Reaper


View Profile
July 17, 2012, 12:44:30 AM
 #6



Don;'t you know?.......SCAM! lol j/k

███████████████████████████████████████

            ,╓p@@███████@╗╖,           
        ,p████████████████████N,       
      d█████████████████████████b     
    d██████████████████████████████æ   
  ,████²█████████████████████████████, 
 ,█████  ╙████████████████████╨  █████y
 ██████    `████████████████`    ██████
║██████       Ñ███████████`      ███████
███████         ╩██████Ñ         ███████
███████    ▐▄     ²██╩     a▌    ███████
╢██████    ▐▓█▄          ▄█▓▌    ███████
 ██████    ▐▓▓▓▓▌,     ▄█▓▓▓▌    ██████─
           ▐▓▓▓▓▓▓█,,▄▓▓▓▓▓▓▌          
           ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌          
    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓─  
     ²▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╩    
        ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀       
           ²▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀`          
                   ²²²                 
███████████████████████████████████████

. ★☆ WWW.LEALANA.COM        My PGP fingerprint is A764D833.                  History of Monero development Visualization ★☆ .
LEALANA BITCOIN GRIM REAPER SILVER COINS.
 
mskwik (OP)
Full Member
***
Offline Offline

Activity: 125
Merit: 100


View Profile
July 17, 2012, 02:30:47 PM
 #7


Hmm, it looks like I have 3 payments now in the outgoing queue that are stuck at 0 confirmations but it has sent other payments in the meantime just fine, must be something about those it doesn't like.  I'm working on it, will (hopefully) get it sent shortly.

mskwik (OP)
Full Member
***
Offline Offline

Activity: 125
Merit: 100


View Profile
July 17, 2012, 04:18:24 PM
 #8

http://abe.liteco.in/tx/5e8888caffda681b90f02bf93544375bf2ed22c3765e2035038630924c2febd6

And there it goes.  Guess I gotta go through and check my locking, looks like it was trying to double-spend one of those inputs with another tx created at the same time.

bncbnc
Hero Member
*****
Offline Offline

Activity: 840
Merit: 500



View Profile
July 18, 2012, 02:48:51 PM
 #9

http://abe.liteco.in/tx/5e8888caffda681b90f02bf93544375bf2ed22c3765e2035038630924c2febd6

And there it goes.  Guess I gotta go through and check my locking, looks like it was trying to double-spend one of those inputs with another tx created at the same time.

Beautiful. I was addicted to SatoshiDice (And lost like 40btc), I feel like having access to this one may be bad for me (But good for you I guess Smiley)

▄▄▄▄
▐████▌
▀██▀
▐▌
▄██▄
▄▄▄▄ ▐████▌ ▄▄▄▄
▐████▌ ▀▀▀▀ ▐████▌
████  ▄▄▄▄  ████
▐████▌
▄▄▄▄        ▄▄▄▄  ▀██▀  ▄▄▄▄        ▄▄▄▄
▐████▌      ▐████▌  ▐▌  ▐████▌      ▐████▌
▀██▀  ▄▄▄▄  ▀██▀  ▄██▄  ▀██▀  ▄▄▄▄  ▀██▀
▐▌  ▐████▌  ▐▌  ▐████▌  ▐▌  ▐████▌  ▐▌
▄██▄  ▀██▀  ▄██▄  ▀██▀  ▄██▄  ▀██▀  ▄██▄
▐████▌  ▐▌  ▐████▌  ▐▌  ▐████▌  ▐▌  ▐████▌
▀▀▀▀  ▄██▄  ▀▀▀▀  ▄██▄  ▀▀▀▀  ▄██▄  ▀▀▀▀
▐████▌      ▐████▌      ▐████▌
▀▀▀▀  ████  ▀▀▀▀  ████  ▀▀▀▀
▐████▌      ▐████▌
▀▀▀▀        ▀▀▀▀
ivy|..FACILITATING SECURE, TRANSPARENT...........
..
BUSINESS PAYMENTS ON A GLOBAL SCALE....

..─────────  ❱❱  WHITEPAPER  ❰❰  ─────────..
|
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
|.JOIN US NOW!.|
mystery2048
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
July 19, 2012, 06:30:29 AM
 #10

Oh, nice project you have there... Smiley

Important: https://bitcointalk.org/index.php?topic=92424.0;all

Donations: 1HWMQv2VYviAgpy6NWNvVg9JhKm4zcMGS5
Tittiez
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500



View Profile
August 01, 2012, 02:28:32 AM
 #11

I love this
tacotime
Legendary
*
Offline Offline

Activity: 1484
Merit: 1005



View Profile
August 01, 2012, 02:37:07 AM
Last edit: August 01, 2012, 02:51:56 AM by tacotime
 #12

you might wanna make it wait for 6 confirmations before you send out the return for rewards, it seems pretty dangerous to have it wait for 0 confirmations to send it.

edit: I see you changed that right after I mentioned it, haha.

Code:
XMR: 44GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns
AMD FTW
Sr. Member
****
Offline Offline

Activity: 317
Merit: 250


GET IN - Smart Ticket Protocol - Live in market!


View Profile
August 01, 2012, 05:45:09 AM
Last edit: August 01, 2012, 06:01:30 AM by AMD FTW
 #13

OH yeah, just played the 512 game and lossed but played the max bet on game 1000 and won 416 LTC Smiley

Now Just waiting on my Deposit Smiley




Uploaded with ImageShack.us[/Share]

GUTS | GET-Protocol ICO
smart-ticket protocol for events | live product with market traction!
BTC ANN | WEBSITE | BLOG | SANDBOX | WHITEPAPER | BOUNTY
AMD FTW
Sr. Member
****
Offline Offline

Activity: 317
Merit: 250


GET IN - Smart Ticket Protocol - Live in market!


View Profile
August 01, 2012, 07:10:41 AM
 #14

Hmm

I got my first transaction (the loss) of .01 LTC back, within minutes after sending. Haven't receiving my big winnings yet. Going to get some sleep now, hopefully when I wake up they'll be in my account

GUTS | GET-Protocol ICO
smart-ticket protocol for events | live product with market traction!
BTC ANN | WEBSITE | BLOG | SANDBOX | WHITEPAPER | BOUNTY
DutchBrat
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
August 01, 2012, 11:17:34 AM
 #15

Uhmmm.... this is a nice house-edge:

2012-08-01 11:11:49   f2d09d1c3fcc6595...   Under 48000   16827   WIN   0.20000000 LTC   0.16216000 LTC

Shouldn't that be 0.2616 LTC

Now I win and get back less than I gambled !!!  Angry Undecided

http://greenishblue.info/litedice/f2d09d1c3fcc6595b824411f237cd76ab45a879348a55a9a82bb63d17e1ee410-1.html

Scott J
Legendary
*
Offline Offline

Activity: 1792
Merit: 1000


View Profile
August 01, 2012, 11:33:46 AM
 #16

Waiting on payout on:

http://greenishblue.info/litedice/3c37dccf7d6776aa17ecd3fdde1dd6a30e529de8a98bead42bd6c86d7e53b153-1.html

and

http://greenishblue.info/litedice/47cb574b1dfd4c23c3dfe47d6958e89792d1366dc5e56cb0262a472d694c4ada-0.html
DutchBrat
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
August 01, 2012, 01:06:38 PM
 #17

I got my payout.....

But 0.16216 payout on a winning 0.20 bet is still wrong !!!!
mskwik (OP)
Full Member
***
Offline Offline

Activity: 125
Merit: 100


View Profile
August 01, 2012, 01:10:46 PM
 #18

Yeah, I see around 40 bets queued up waiting for payout now but it'll catch back up shortly, the big win triggered a manual review on the payment backend, guess I should make it so that doesn't hold up the other payments in the queue.

Yes it should return winnings with 0 confirmations when it manages to respond fast enough (these Litecoin blocks come pretty fast) which is relatively safe because it uses the original tx in the payout, so if it ends up voided somehow the payout will as well.

And yes the tx fee can take a fairly large chunk percentage-wise at small amounts.  I don't necessarily want to make the min bet too large, but on very small bets it's way more than the house edge so can't afford to take it out of the house side either without a negative expected return (which isn't particularly sustainable).

DutchBrat
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
August 01, 2012, 01:12:32 PM
 #19

Yeah, I see around 40 bets queued up waiting for payout now but it'll catch back up shortly, the big win triggered a manual review on the payment backend, guess I should make it so that doesn't hold up the other payments in the queue.

Yes it should return winnings with 0 confirmations when it manages to respond fast enough (these Litecoin blocks come pretty fast) which is relatively safe because it uses the original tx in the payout, so if it ends up voided somehow the payout will as well.

And yes the tx fee can take a fairly large chunk percentage-wise at small amounts.  I don't necessarily want to make the min bet too large, but on very small bets it's way more than the house edge so can't afford to take it out of the house side either without a negative expected return (which isn't particularly sustainable).

Ah I see, my bad !
Luceo
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


Per aspera ad astra!


View Profile
August 01, 2012, 04:11:57 PM
 #20

You should advertise this on the Litecoin forums ^^

Pages: [1] 2 »  All
  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!