Bitcoin Forum
May 13, 2024, 04:14:30 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 ... 87 »
  Print  
Author Topic: [ANN][CHA] Chancecoin, SuperNET core coin for betting in a decentralized casino  (Read 146066 times)
magician (OP)
Member
**
Offline Offline

Activity: 113
Merit: 10

Chancecoin developer


View Profile WWW
March 29, 2014, 01:13:53 AM
 #21

Having heard the community's concerns about block hashes being prone to manipulation, we have decided not to use block hashes to resolve bets. Rather, we will be using New York Lottery Quick Draw numbers to resolve bets.

New York Lottery Quick Draw

Quick Draw numbers are drawn every four minutes, every day of the week. The numbers are published online shortly after they are drawn. The drawing selects 20 numbers randomly from a pool of numbers 1 through 80, without replacement. In the newest version of the Chancecoin protocol, a bet seen in the blockchain will be resolved with the next available set of Quick Draw numbers. We use combinadics to convert these numbers to a random uniform variable, and use it to resolve the bet.

We have more updates coming this weekend.
I think that with this solution miners will still be able to manipulate the results with the following algorithm:

1. make a bet
2. mine a block
3. if current set of Quick Draw numbers makes me a winner then publish block
4. wait for the next set of Quick Draw numbers
5. goto 2

Of course someone else may mine the block in the meantime, but a large pool with 30-40% hashrate of the network will make the results considerably unfair. Pool with 90% hashrate will be able to win almost every time. How will you prevent that?

The bet is resolved based on the first set of NY Lottery Quick Draw numbers that are published strictly after the block is mined, so it is not possible to game the system by waiting for favorable lottery numbers. Thanks for the question! This is an important clarification I should have made earlier.

ChanceCoinDecentralized Casino - You are the player AND the owner ! | 1EyHoCsDucQzWghwnMkeDHpn195EMkezFY ♠
1715616870
Hero Member
*
Offline Offline

Posts: 1715616870

View Profile Personal Message (Offline)

Ignore
1715616870
Reply with quote  #2

1715616870
Report to moderator
1715616870
Hero Member
*
Offline Offline

Posts: 1715616870

View Profile Personal Message (Offline)

Ignore
1715616870
Reply with quote  #2

1715616870
Report to moderator
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715616870
Hero Member
*
Offline Offline

Posts: 1715616870

View Profile Personal Message (Offline)

Ignore
1715616870
Reply with quote  #2

1715616870
Report to moderator
Cryptokk
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile WWW
March 29, 2014, 01:19:28 AM
 #22

Sad "CHA" is already taken Wink
magician (OP)
Member
**
Offline Offline

Activity: 113
Merit: 10

Chancecoin developer


View Profile WWW
March 29, 2014, 01:20:40 AM
 #23

Having heard the community's concerns about block hashes being prone to manipulation, we have decided not to use block hashes to resolve bets. Rather, we will be using New York Lottery Quick Draw numbers to resolve bets.

New York Lottery Quick Draw

Quick Draw numbers are drawn every four minutes, every day of the week. The numbers are published online shortly after they are drawn. The drawing selects 20 numbers randomly from a pool of numbers 1 through 80, without replacement. In the newest version of the Chancecoin protocol, a bet seen in the blockchain will be resolved with the next available set of Quick Draw numbers. We use combinadics to convert these numbers to a random uniform variable, and use it to resolve the bet.

We have more updates coming this weekend.

If you can find a solution, it's much more elegant to use only the blockchain without external source.

If you use multiple blocks to generate a random number, it will already be more difficult to cheat.

For example :
- Use a block B1 to generate a number N1 between 1 and 100
- Use the block (B1-N1) to generate a number N2 between 1 and 100
- Use the block (B1-N1-N2) to generate a number N3 between 1 and 100
- ... repeat ...
- Use N100 as pseudo-random number.

This is just an example that requires more thought, but I think it is possible to make cheating difficult enough, for it is not profitable.

I like the idea of ​​having a random number generator in Counterparty. Potentially, this allows to play Poker, Blackjack, etc... And it would be a natural evolution of bets that already exist in Counterparty.
IMHO it is less cleaner to implement a new coin just for this functionality. The same question arises for the hundreds of LTC clones. Intuitively I think it is not good for LTC. But I think no one ever will know the real answer..



We considered a solution similar to this. The problem is that a devious gambler can always aggressively mine the last block that is to be used as a source of randomness to settle a particular bet, even if various other blocks are used in the randomness calculation. Hence we transitioned to the external source solution.

ChanceCoinDecentralized Casino - You are the player AND the owner ! | 1EyHoCsDucQzWghwnMkeDHpn195EMkezFY ♠
magician (OP)
Member
**
Offline Offline

Activity: 113
Merit: 10

Chancecoin developer


View Profile WWW
March 29, 2014, 01:36:31 AM
 #24

Sad "CHA" is already taken Wink

There is only one true CHA, and it's Chancecoin.

ChanceCoinDecentralized Casino - You are the player AND the owner ! | 1EyHoCsDucQzWghwnMkeDHpn195EMkezFY ♠
allwelder
Legendary
*
Offline Offline

Activity: 1512
Merit: 1004



View Profile
March 29, 2014, 03:59:48 AM
 #25

interesting project. Smiley

 
                                . ██████████.
                              .████████████████.
                           .██████████████████████.
                        -█████████████████████████████
                     .██████████████████████████████████.
                  -█████████████████████████████████████████
               -███████████████████████████████████████████████
           .-█████████████████████████████████████████████████████.
        .████████████████████████████████████████████████████████████
       .██████████████████████████████████████████████████████████████.
       .██████████████████████████████████████████████████████████████.
       ..████████████████████████████████████████████████████████████..
       .   .██████████████████████████████████████████████████████.
       .      .████████████████████████████████████████████████.

       .       .██████████████████████████████████████████████
       .    ██████████████████████████████████████████████████████
       .█████████████████████████████████████████████████████████████.
        .███████████████████████████████████████████████████████████
           .█████████████████████████████████████████████████████
              .████████████████████████████████████████████████
                   ████████████████████████████████████████
                      ██████████████████████████████████
                          ██████████████████████████
                             ████████████████████
                               ████████████████
                                   █████████
.CryptoTalk.org.|.MAKE POSTS AND EARN BTC!.🏆
overthetop2011
Hero Member
*****
Offline Offline

Activity: 678
Merit: 500


View Profile
March 29, 2014, 04:21:01 AM
 #26

I am interested in this project.

Wondering more details about the dev group...

           ▀██▄ ▄██▀
            ▐█████▌
           ▄███▀███▄
         ▄████▄  ▀███▄
       ▄███▀ ▀██▄  ▀███▄
     ▄███▀  ▄█████▄  ▀███▄
   ▄███▀  ▄███▀ ▀███▄  ▀███▄
  ███▀  ▄████▌   ▐████▄  ▀███
 ███   ██▀  ██▄ ▄██  ▀██   ███
███   ███  ███   ███  ███   ███
███   ███   ███████   ███   ███
 ███   ███▄▄       ▄▄███   ███
  ███▄   ▀▀█████████▀▀   ▄███
   ▀████▄▄           ▄▄████▀
      ▀▀███████████████▀▀
DeepOnion★  Anonymity Guaranteed
★  Anonymous and Untraceable
★  Guard Your Privacy
      ▄▄██████████▄▄
    ▄███▀▀      ▀▀█▀   ▄▄
   ███▀              ▄███
  ███              ▄███▀   ▄▄
 ███▌  ▄▄▄▄      ▄███▀   ▄███
▐███  ██████   ▄███▀   ▄███▀
███▌ ███  ███▄███▀   ▄███▀
███▌ ███   ████▀   ▄███▀
███▌  ███   █▀   ▄███▀  ███
▐███   ███     ▄███▀   ███
 ███▌   ███  ▄███▀     ███
  ███    ██████▀      ███
   ███▄             ▄███
    ▀███▄▄       ▄▄███▀
      ▀▀███████████▀▀
520Bit
Sr. Member
****
Offline Offline

Activity: 602
Merit: 252



View Profile
March 29, 2014, 04:43:59 AM
 #27

Any details in how to install from the source?

Code:
c:\chancecoin>chancecoind.py
Traceback (most recent call last):
  File "C:\chancecoin\chancecoind.py", line 30, in <module>
    from lib import (config, util, exceptions, bitcoin, blocks)
  File "C:\chancecoin\lib\blocks.py", line 16, in <module>
    from . import (send, order, btcpay, bet, burn, cancel)
  File "C:\chancecoin\lib\bet.py", line 11, in <module>
    import urllib3
ImportError: No module named urllib3

c:\chancecoin>gui.py
Traceback (most recent call last):
  File "C:\chancecoin\gui.py", line 3, in <module>
    from PyQt4.QtCore import *
ImportError: No module named PyQt4.QtCore

c:\chancecoin>
Venetian
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
March 29, 2014, 05:49:24 AM
 #28

Any details in how to install from the source?

Code:
c:\chancecoin>chancecoind.py
Traceback (most recent call last):
  File "C:\chancecoin\chancecoind.py", line 30, in <module>
    from lib import (config, util, exceptions, bitcoin, blocks)
  File "C:\chancecoin\lib\blocks.py", line 16, in <module>
    from . import (send, order, btcpay, bet, burn, cancel)
  File "C:\chancecoin\lib\bet.py", line 11, in <module>
    import urllib3
ImportError: No module named urllib3

c:\chancecoin>gui.py
Traceback (most recent call last):
  File "C:\chancecoin\gui.py", line 3, in <module>
    from PyQt4.QtCore import *
ImportError: No module named PyQt4.QtCore

c:\chancecoin>

We recommend using Python version 3.2.5 when you are compiling from source. You can get it at https://www.python.org/download/releases/3.2.5.

It looks like you are missing a few packages. If you are using pip on powershell, run "pip install urllib3" to install urllib3. Otherwise, you can get the urllib3 package from this page: https://pypi.python.org/pypi/urllib3

You can get the PyQt package from this page: http://www.riverbankcomputing.com/software/pyqt/download

Thanks for your patience. We'll get the windows binary out in the next few days!
escrowman
Sr. Member
****
Offline Offline

Activity: 262
Merit: 250


View Profile
March 29, 2014, 06:08:13 AM
 #29

chancecoin seems no change any more
520Bit
Sr. Member
****
Offline Offline

Activity: 602
Merit: 252



View Profile
March 29, 2014, 06:09:06 AM
 #30

Any details in how to install from the source?

Code:
c:\chancecoin>chancecoind.py
Traceback (most recent call last):
  File "C:\chancecoin\chancecoind.py", line 30, in <module>
    from lib import (config, util, exceptions, bitcoin, blocks)
  File "C:\chancecoin\lib\blocks.py", line 16, in <module>
    from . import (send, order, btcpay, bet, burn, cancel)
  File "C:\chancecoin\lib\bet.py", line 11, in <module>
    import urllib3
ImportError: No module named urllib3

c:\chancecoin>gui.py
Traceback (most recent call last):
  File "C:\chancecoin\gui.py", line 3, in <module>
    from PyQt4.QtCore import *
ImportError: No module named PyQt4.QtCore

c:\chancecoin>

We recommend using Python version 3.2.5 when you are compiling from source. You can get it at https://www.python.org/download/releases/3.2.5.

It looks like you are missing a few packages. If you are using pip on powershell, run "pip install urllib3" to install urllib3. Otherwise, you can get the urllib3 package from this page: https://pypi.python.org/pypi/urllib3

You can get the PyQt package from this page: http://www.riverbankcomputing.com/software/pyqt/download

Thanks for your patience. We'll get the windows binary out in the next few days!


Thanks for your reply. Does it have 1 BTC limited to burn like Counterparty did?
520Bit
Sr. Member
****
Offline Offline

Activity: 602
Merit: 252



View Profile
March 29, 2014, 06:21:18 AM
Last edit: March 29, 2014, 06:58:31 AM by 520Bit
 #31

Error happened while running chancecoind.py server. Block 292092 could not pass, why?

Code:
c:\chancecoin>chancecoind.py server
Config file: C:\Users\xxxxxx\AppData\Roaming\Chancecoin\chancecoin\chancecoin.conf; Exists: Yes
Status: RESTART
Block: 292092
Bet: 1BckY64TE6VrjVcGMizYBE7gt22axnq6CM bet 0.001 CHA with chance 50.0 and payout 1.96 [valid]
Traceback (most recent call last):
  File "C:\chancecoin\chancecoind.py", line 478, in <module>
    blocks.follow(db)
  File "C:\chancecoin\lib\blocks.py", line 572, in follow
    parse_block(db, block_index, block_time)
  File "C:\chancecoin\lib\blocks.py", line 71, in parse_block
    parse_tx(db, tx)
  File "C:\chancecoin\lib\blocks.py", line 50, in parse_tx
    bet.resolve(db)
  File "C:\chancecoin\lib\bet.py", line 129, in resolve
    block_time_ny = block_time.astimezone(ny_zone)
TypeError: astimezone() argument 1 must be datetime.tzinfo, not None
englishbad
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
March 29, 2014, 06:26:52 AM
 #32

can you add me?ok,thank you!
bingjiw
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
March 29, 2014, 06:29:35 AM
 #33

Some questions:

1. It is better that if the gambler can bet directly by using BTC.  An automatic exchange from BTC to Chancecoin can be applied if necessary.  Is this possible?

2. How to convert Chancecoin back to BTC?  Will you build a Decentralized Exchange website like https://testnet.counterwallet.co ?

3. If a holder of Chancecoin will become a part of the house automatically, then what happens when a guy use his Chancecoin to bet?  gamble against himself?

thanks
520Bit
Sr. Member
****
Offline Offline

Activity: 602
Merit: 252



View Profile
March 29, 2014, 06:54:36 AM
 #34

can you add me?ok,thank you!

What are you doing here?
nergpchen
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
March 29, 2014, 08:17:10 AM
 #35

Like XCP

Honorcoin | 100% PoS | 2% Free DistributionDBdToCmGLxo9c4t4BpgmmH2Z6DpkM6kWBR
phm
Full Member
***
Offline Offline

Activity: 378
Merit: 110


DATABLOCKCHAIN.IO SALE IS LIVE | MVP @ DBC.IO


View Profile
March 29, 2014, 09:15:30 AM
 #36

Having heard the community's concerns about block hashes being prone to manipulation, we have decided not to use block hashes to resolve bets. Rather, we will be using New York Lottery Quick Draw numbers to resolve bets.

New York Lottery Quick Draw

Quick Draw numbers are drawn every four minutes, every day of the week. The numbers are published online shortly after they are drawn. The drawing selects 20 numbers randomly from a pool of numbers 1 through 80, without replacement. In the newest version of the Chancecoin protocol, a bet seen in the blockchain will be resolved with the next available set of Quick Draw numbers. We use combinadics to convert these numbers to a random uniform variable, and use it to resolve the bet.

We have more updates coming this weekend.
I think that with this solution miners will still be able to manipulate the results with the following algorithm:

1. make a bet
2. mine a block
3. if current set of Quick Draw numbers makes me a winner then publish block
4. wait for the next set of Quick Draw numbers
5. goto 2

Of course someone else may mine the block in the meantime, but a large pool with 30-40% hashrate of the network will make the results considerably unfair. Pool with 90% hashrate will be able to win almost every time. How will you prevent that?

The bet is resolved based on the first set of NY Lottery Quick Draw numbers that are published strictly after the block is mined, so it is not possible to game the system by waiting for favorable lottery numbers. Thanks for the question! This is an important clarification I should have made earlier.
Not sure if you know this, but timestamps in blockchain are prone to limited manipulation, rules of validating them are quite fuzzy. "A timestamp is accepted as valid if it is greater than the median timestamp of previous 11 blocks, and less than the network-adjusted time + 2 hours". So in fact nothing prevents miner from sending the block with timestamp few minutes in the past or in the future, timestamps in consecutive blocks don't have to always increase. How will you enforce such rule if you don't really know the real time when given block was mined?

bingjiw
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
March 29, 2014, 09:30:09 AM
 #37

Is there a detailed plan/schedule of this project?

When do we can start to gamble? Do we have to wait until the burn period is finished?
When can we test the Chancecoin web wallet (Decentralized Exchange)?
allwelder
Legendary
*
Offline Offline

Activity: 1512
Merit: 1004



View Profile
March 29, 2014, 09:34:12 AM
 #38

Can send BTC with online wallet,like blockchain.info ?

 
                                . ██████████.
                              .████████████████.
                           .██████████████████████.
                        -█████████████████████████████
                     .██████████████████████████████████.
                  -█████████████████████████████████████████
               -███████████████████████████████████████████████
           .-█████████████████████████████████████████████████████.
        .████████████████████████████████████████████████████████████
       .██████████████████████████████████████████████████████████████.
       .██████████████████████████████████████████████████████████████.
       ..████████████████████████████████████████████████████████████..
       .   .██████████████████████████████████████████████████████.
       .      .████████████████████████████████████████████████.

       .       .██████████████████████████████████████████████
       .    ██████████████████████████████████████████████████████
       .█████████████████████████████████████████████████████████████.
        .███████████████████████████████████████████████████████████
           .█████████████████████████████████████████████████████
              .████████████████████████████████████████████████
                   ████████████████████████████████████████
                      ██████████████████████████████████
                          ██████████████████████████
                             ████████████████████
                               ████████████████
                                   █████████
.CryptoTalk.org.|.MAKE POSTS AND EARN BTC!.🏆
jioy
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


View Profile
March 29, 2014, 09:44:44 AM
 #39

what’s the difference with xcp?
phm
Full Member
***
Offline Offline

Activity: 378
Merit: 110


DATABLOCKCHAIN.IO SALE IS LIVE | MVP @ DBC.IO


View Profile
March 29, 2014, 09:46:39 AM
 #40

Having heard the community's concerns about block hashes being prone to manipulation, we have decided not to use block hashes to resolve bets. Rather, we will be using New York Lottery Quick Draw numbers to resolve bets.

New York Lottery Quick Draw

Quick Draw numbers are drawn every four minutes, every day of the week. The numbers are published online shortly after they are drawn. The drawing selects 20 numbers randomly from a pool of numbers 1 through 80, without replacement. In the newest version of the Chancecoin protocol, a bet seen in the blockchain will be resolved with the next available set of Quick Draw numbers. We use combinadics to convert these numbers to a random uniform variable, and use it to resolve the bet.

We have more updates coming this weekend.

If you can find a solution, it's much more elegant to use only the blockchain without external source.

If you use multiple blocks to generate a random number, it will already be more difficult to cheat.

For example :
- Use a block B1 to generate a number N1 between 1 and 100
- Use the block (B1-N1) to generate a number N2 between 1 and 100
- Use the block (B1-N1-N2) to generate a number N3 between 1 and 100
- ... repeat ...
- Use N100 as pseudo-random number.

This is just an example that requires more thought, but I think it is possible to make cheating difficult enough, for it is not profitable.
It doesn't make it more difficult at all. All that miner has to do is to manipulate bits of the last block in order to generate N100 favourable to him.

Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 ... 87 »
  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!