It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
Technical
Betting
Generally speaking, when you bet, you specify a bet size, a chance of winning, and a payout. The chance of winning and the payout must correspond. For example, if there were no house edge, a 50% chance of winning would correspond to a 2-to-1 payout (2x). Because the house edge is 2.0%, this payout is adjusted to 1.96x (this is 10.5⋅(1−0.02).
Specifically, in Chancecoin, a bet is comprised of a bet amount (b), a chance of winning (1p), and an edge-adjusted payout (p⋅(1−e)). The house edge (e) is 0.02 (2.0%). The protocol enforces that the edge-adjusted payout and the chance of winning correspond exactly as described.
Randomness
Chancecoin uses New York Lottery Quick Draw numbers to resolve bets. Quick Draw numbers are drawn every four minutes, every day of the week (with the exception of 3:25am to 4:00am EST daily). 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. A bet seen in the blockchain will be resolved with the next available set of Quick Draw numbers. Since Chancecoin uses the next available set of Quick Draw numbers after a block has been mined to resolve any bets in the block, it is impossible for Bitcoin miners or anyone else to control the outcomes of bets.
When it sees a bet, Chancecoin uses combinadics to convert a set of Quick Draw numbers into a standard uniform random variable, and uses it to resolve the bet. The Quick Draw numbers come in as an ordered list of 20 numbers drawn from 1 through 80. To convert this into a standard uniform random variable, Chancecoin uses:
rA=∑20i=1(number−1i)(8020)−1
In order to avoid bets in the same block being correlated, there is an additional adjustment. The last ten hexadecimal digits of a bet's transaction hash is converted into another standard uniform random variable, rB by converting the last ten digits of the hash to an integer, modulus 1000000000 divided by 1000000000. The final standard uniform random variable is (rA+rB)%1.
If the final standard uniform random variable is less than 1p, then the gambler wins the bet. Otherwise, he loses the bet. (Since the chance of winning is stored in percentage terms, the standard uniform random variable is multiplied by 100 before making this comparison.)
Payout accounting
One might assume that when a Chancecoin gambler wins or loses a bet, CHA is transferred between his wallet and the wallets of the other CHA holders. In fact, this is not the way Chancecoin's payout system works. When a Chancecoin gambler wins or loses a bet, his balance is the only balance that changes, but the effect is still the same as in the standard payout system. To illustrate this, let's go through the two cases, where the gambler wins and the gambler loses.
Suppose the initial amount of CHA is c. The exchange rate is x (1 CHA = x USD). The total market cap is c⋅x USD. Suppose a gambler bets b CHA with payout p⋅(1−e) (the house edge is e⋅100 percent).
If the gambler loses, he must lose b⋅x USD, and the remaining CHA owners must gain the same amount. In order for the remaining CHA owners to gain b⋅x USD on their original (c−b)⋅x USD while still owning c−b CHA, the new exchange rate must be (c−b)⋅x+b⋅xc−b = x⋅cc−b. The gambler loses b CHA, so he now has 0 CHA = 0 USD. There are now c−b CHA in existence, and the total market cap is still c⋅x USD.
If the gambler wins, he must win b⋅(p⋅(1−e)−1)⋅x USD (the payout is b⋅p⋅(1−e)⋅x USD), and the remaining CHA owners must lose the same amount. In order for the remaining CHA owners to lose b⋅(p⋅(1−e)−1)⋅x USD on their original (c−b)⋅x USD while still owning c−b CHA, the new exchange rate must be (c−b)⋅x−b⋅(p⋅(1−e)−1)⋅xc−b = x⋅c−b⋅p⋅(1−e)c−b. In order for the gambler to win b⋅(p⋅(1−e)−1)⋅x USD on his original b⋅x USD, his balance must now be worth b⋅p⋅(1−e)⋅x USD, so he must now have b⋅p⋅(1−e)⋅xx⋅c−b⋅p⋅(1−e)c−b CHA = b⋅p⋅(1−e)⋅c−bc−b⋅p⋅(1−e) CHA, or b⋅(p⋅(1−e)−1)⋅cc−b⋅p⋅(1−e) CHA more than his original b CHA. There are now c+b⋅(p⋅(1−e)−1)⋅cc−b⋅p⋅(1−e) CHA in existence, and the total market cap is still c⋅x USD.
Chancecoin always fixes the amount of CHA held by the remaining CHA owners who are not gambling and adjusts the amount of CHA held by the gambler, depending on whether he wins or loses. The assumption is that the exchange rate will adjust so that the USD market values of the gambler and the remaining CHA holders match what they would be under the standard payout system after the bet is resolved.
Exchange rate
Chancecoin's payout system suggests that the exchange rate needs to fluctuate with every bet, and indeed, it does. But these fluctuations are small. The exchange rate should be stable enough that CHA can trade on cryptocurrency exchanges without a problem.
It is important to note that because of the way Chancecoin's payout system works, the gains investors accumulate in the long run due to the house edge show up in the exchange rate rather than in the quantity of holdings. To illustrate this, consider the expected change in the exchange rate per bet:
E(change in exchange rate) = p−1p⋅(cc−b)+1p⋅c−b⋅p⋅(1−e)c−b = 1+e⋅bc−b.
Over the long run, the expected change in the exchange rate is approximately equal to 1+e⋅∑bc.
Benefits of Chancecoin's payout accounting
There are some major benefits of Chancecoin's payout system versus the standard method of payout accounting.
CHA can trade on an exchange without the exchange having to worry about its balance fluctuating due to bets being won and lost.
Accounting is cleaner. Under the standard method of payout accounting, because bets can't be resolved instantaneously, Chancecoin would have to at least partially freeze funds of all parties while waiting for bets to resolve.
Chancecoin (CHA) is a protocol, coin, and client used to bet on dice rolls in a decentralized casino. Owners of the coin may gamble on dice rolls, with randomness provided by published NY Lottery Quick Draw numbers. Owners of the coin are automatically invested in the house bankroll. The protocol, which is based on Counterparty (XCP), is built on top of the Bitcoin blockchain. Coins are created by burning Bitcoins(Period is over now!). Coins can be exchange on the build-in decentralised exchange. |