Bitcoin Forum

Alternate cryptocurrencies => Marketplace (Altcoins) => Topic started by: TwinWinNerD on April 30, 2014, 01:45:45 PM



Title: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on April 30, 2014, 01:45:45 PM
Link to main thread: https://bitcointalk.org/index.php?topic=528023.0


Description

http://chancecoin.com/static/images/logo.pngChancecoin (http://chancecoin.com) (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.


Burn information: BURNING IS OVER!

Maximum coins burned: 1,000,000
Burn period: Bitcoin blocks 291860 to 298340
Coins burned in first block: 1,500 CHA per 1 BTC
Coins burned in last block: 1,000 CHA per 1 BTC (coins per block scaled linearly in between these blocks)
BTC burn address: 1ChancecoinXXXXXXXXXXXXXXXX0ZELUFD (http://blockchain.info/address/1ChancecoinXXXXXXXXXXXXXXXXXZELUFD)
Maximum coins burned per address: unlimited


Casino information

House edge: 2.0% (for now, will be changed to 1%!)
Maximum win: 1.0% of bankroll (max win 5000 CHA right now!)

Wallet software

OS X binary (http://chancecoin.com/participate)
Windows binary (http://chancecoin.com/participate)
Install from source on GitHub (http://github.com/chancecoin/chancecoin)

Resources

Home page (http://chancecoin.com)
Up to date version of this document (http://chancecoin.com/participate)
Technical details (http://chancecoin.com/technical)
Subreddit (http://www.reddit.com/r/chancecoin/)

How do I buy CHA?

You can still trade CHA for BTC on the decentralized exchange using the standard Chancecoin wallet or command line interface.


How do I gamble?

You can gamble using the standard Chancecoin wallet or command line interface.

Gambling with the Chancecoin wallet

Open the wallet software and click on "Casino." Choose the amount of CHA you want to bet, and the desired payout or odds of winning (one will determine the other). Then click "Roll the Dice."

Gambling with the command line interface

Run "python chancecoind.py bet --source SOURCE --bet BET --chance CHANCE --payout PAYOUT." Note that the chance of winning and the payout must be congruent. This is best illustrated with an example: if the chance of winning is 50 (meaning 50%), then the payout is 1/0.5*(1-0.02)=1.96, where 0.02 is the house edge.

How do I bankroll the house?

By owning CHA, you are automatically bankrolling the house. On average, you can expect to earn the house edge of 2.0% per bet.

Developers

Magician (https://bitcointalk.org/index.php?action=profile;u=252066) and Venetian (https://bitcointalk.org/index.php?action=profile;u=272243)

Installation instructions

Prerequisites

Install bitcoind or a Bitcoin client with RPC capability (such as Bitcoin-Qt). The txindex option must be enabled.

From binary

  • Download and run a precompiled Chancecoin wallet binary.
  • When you load the program for the first time, it will tell you where you need to create your configuration file, and it will also show you an example of a valid configuration file. Create this file and fill it in with the details of your Bitcoin RPC server.
  • Restart the Chancecoin wallet and you should be good to go.

From source

  • Git fetch https://github.com/chancecoin/chancecoin.git (https://github.com/chancecoin/chancecoin.git).
  • Install python3 and the following prerequisites: apsw, requests, appdirs, prettytable, python-dateutil, json-rpc, cherrypy, pycoin, pyzmq(v2.2+), tornado.
  • You can run the GUI via gui.py, or the command line interface via chancecoind.py.
  • Either way, you need to create a configuration file first. When you first run the program, it will tell you where you need to create your configuration file. Example.conf is an example of a valid configuration file. Create this file and fill it in with the details of your Bitcoin RPC server.
  • Restart the Chancecoin wallet and you should be good to go.



Happy trading!


Title: Re: Buy/Sell Thread. Chancecoin [CHA]
Post by: TwinWinNerD on April 30, 2014, 01:46:44 PM
First offer:

100 CHA for 0.5 BTC.

This is dirt cheap!


Title: Re: Buy/Sell Thread. Chancecoin [CHA]
Post by: superresistant on April 30, 2014, 02:01:57 PM
First offer:
100 CHA for 0.5 BTC.
This is dirt cheap!

It is indeed very cheap.

I would sell for at least 100 CHA per BTC ratio.

0.01 BTC/CHA



Title: Re: Buy/Sell Thread. Chancecoin [CHA]
Post by: TwinWinNerD on April 30, 2014, 02:03:25 PM
First offer:
100 CHA for 0.5 BTC.
This is dirt cheap!

It is indeed very cheap.

I would sell for at least 50 CHA per 0.5 BTC ratio.

0.01 BTC/CHA


It is the first CHA trade ever. I am giving a little discount :)


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: provenceday on April 30, 2014, 02:07:17 PM
how to buy or sell chance?

anybody know this?

seems you can not buy or sell chance coin?

here:http://chancecoin.com/technical (http://chancecoin.com/technical)



Code:
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.


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on April 30, 2014, 02:08:45 PM
how to buy or sell chance?

anybody know this?

seems you can buy or sell chance coin?

You can send CHA to any bitcoinaddress.

You can also use the client and just use the decentralised exchange to trade.


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: provenceday on April 30, 2014, 02:10:17 PM
how to buy or sell chance?

anybody know this?

seems you can buy or sell chance coin?

You can send CHA to any bitcoinaddress.

You can also use the client and just use the decentralised exchange to trade.

thanks! :)


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on April 30, 2014, 02:44:39 PM
The sell order of 100 CHA for 0.005BTC/CHA is now live in the decentralised exchange (in the next block)


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: nakaone on April 30, 2014, 03:04:38 PM
put one at 0.0075 on decentralized exchange - I also think that 0.005 is too low.


in case order is not fullfilled what happens?


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on April 30, 2014, 03:16:36 PM
put one at 0.0075 on decentralized exchange - I also think that 0.005 is too low.


in case order is not fullfilled what happens?

orders currently have a 24h deadline. You can change that with python commands, but I have no clue how to do that. Also you can delete offers, but right now only with commands, not with GUI.

The bitcoinj client will make that very easy!


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: helloge on April 30, 2014, 03:50:05 PM
WTS 500 for 0.01btc/cha  ;D


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: LethalStriker on April 30, 2014, 04:00:01 PM
Have 500, pm me with some offers.
Want to sell it fast.


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: bitcoinrocks on May 01, 2014, 12:48:08 AM
First offer:

100 CHA for 0.5 BTC.

This is dirt cheap!

Can we make that trade off of the exchange?  I don't run the client so I would just have you send to my BTC address.


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on May 01, 2014, 12:55:15 AM
First offer:

100 CHA for 0.5 BTC.

This is dirt cheap!

Can we make that trade off of the exchange?  I don't run the client so I would just have you send to my BTC address.

yes this is no problem. I can send them to you. PM me.


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: bitcoinrocks on May 01, 2014, 01:26:29 AM
First offer:

100 CHA for 0.5 BTC.

This is dirt cheap!

Can we make that trade off of the exchange?  I don't run the client so I would just have you send to my BTC address.

yes this is no problem. I can send them to you. PM me.

Is there a blockchain explorer or another way to verify that the CHA was sent without running the client?


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on May 01, 2014, 01:27:22 AM
First offer:

100 CHA for 0.5 BTC.

This is dirt cheap!

Can we make that trade off of the exchange?  I don't run the client so I would just have you send to my BTC address.

yes this is no problem. I can send them to you. PM me.

Is there a blockchain explorer or another way to verify that the CHA was sent without running the client?

yes, but it is only updated every ~24 hours.
http://chancecoin.com/balances


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: SpongebobCoinpants on May 01, 2014, 01:33:11 AM
First offer:

100 CHA for 0.5 BTC.

This is dirt cheap!

Can we make that trade off of the exchange?  I don't run the client so I would just have you send to my BTC address.

yes this is no problem. I can send them to you. PM me.

Is there a blockchain explorer or another way to verify that the CHA was sent without running the client?

yes, but it is only updated every ~24 hours.
http://chancecoin.com/balances


You can post the address in this thread for 3rd parties to verify the CHA balance.


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: voldemort628 on May 01, 2014, 06:41:43 AM
Anyone wants a quick grab of 500CHA for 2.5btc?

This is a bargain, price could easily double when the new client and bitcoinj get released. :)

PM me please!

Escrow or your send first in an incremental trade only!


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on May 01, 2014, 05:02:07 PM
Can someone verify that this address just received 500 CHA?

16tx1hhueRN9JQM83RGx6aPLDVovYdPKxa


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on May 02, 2014, 01:36:18 AM
I think the first trade on the decentralised exchange was just done!

Someone posted a 0.3 CHA order for 0.007/CHA.

I sold the 0.3 CHA and after 3 confirmations, I got the BTC on my BTC address and he got his CHA!

Order:
https://blockchain.info/de/tx/f36840bbf8fc36f0bb6b5fa740df3bf8d54083b210f5daa839d540ee609966af

Settlement:
https://blockchain.info/de/tx/435d557f39032e713c3565066cb02e9bcd11de919ff747cf1579ae42f78e9ddc

Exciting stuff!


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: flis1986 on May 02, 2014, 11:33:21 AM
WTS 604 CHA for 3 BTC (escrow)

PM me please


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on May 02, 2014, 11:42:30 AM
WTS 604 CHA for 3 BTC (escrow)

PM me please

I can escrow this for free if you want.


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: flis1986 on May 02, 2014, 11:51:51 AM
WTS 604 CHA for 3 BTC (escrow)

PM me please

I can escrow this for free if you want.

Thank you, but first i need to find a buyer :)


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: Sanglotslongs on May 02, 2014, 04:39:40 PM
The price is 0.005 BTC / 1 ChanceCoin ?

This coin will be amazing, with the 2% edge.


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on May 02, 2014, 05:30:12 PM
The price is 0.005 BTC / 1 ChanceCoin ?

This coin will be amazing, with the 2% edge.

The current house edge is 2%, but there was a short vote (survey) and all agreed that 1% house edge and 0.5% maxwin is better to make it more attractive! So that will be change sometimes in the future.

The price is a bit higher than that I think. Only if someone wants to unload coins fast, 0.005BTC/CHA is chosen.

Regards


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: flis1986 on May 02, 2014, 05:38:01 PM
The price is 0.005 BTC / 1 ChanceCoin ?

This coin will be amazing, with the 2% edge.

The current house edge is 2%, but there was a short vote (survey) and all agreed that 1% house edge and 0.5% maxwin is better to make it more attractive! So that will be change sometimes in the future.

The price is a bit higher than that I think. Only if someone wants to unload coins fast, 0.005BTC/CHA is chosen.

Regards

How did you calculate that ratio?


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on May 02, 2014, 05:47:44 PM
The price is 0.005 BTC / 1 ChanceCoin ?

This coin will be amazing, with the 2% edge.

The current house edge is 2%, but there was a short vote (survey) and all agreed that 1% house edge and 0.5% maxwin is better to make it more attractive! So that will be change sometimes in the future.

The price is a bit higher than that I think. Only if someone wants to unload coins fast, 0.005BTC/CHA is chosen.

Regards

How did you calculate that ratio?

Price ratio?

I am selling CHA and saw all trades happen ;)


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on May 03, 2014, 02:56:08 AM
I've had 0 offers for any of my 40000 CHA.

I can give better deals than anyone else since I have so damn many to get rid of.

We need to get the Chancecoin trading volume up to help spread CHA to more users.

PMed you!


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on May 06, 2014, 12:37:39 AM
Want to sell 500 CHA more. PM me offer


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on May 06, 2014, 07:49:43 PM
Want to sell 500 CHA more. PM me offer

0.0055/CHA


Title: Re: Buy/Sell Thread. Chancecoin [CHA]
Post by: David Latapie on May 06, 2014, 09:25:33 PM
First offer:

100 CHA for 0.5 BTC.

This is dirt cheap!
500000 satoshi for a coin is NOT cheap. You got them at 100000 satoshi (5 times lower), if my calculations are right.


Title: Re: Buy/Sell Thread. Chancecoin [CHA]
Post by: TwinWinNerD on May 06, 2014, 09:40:41 PM
First offer:

100 CHA for 0.5 BTC.

This is dirt cheap!
500000 satoshi for a coin is NOT cheap. You got them at 100000 satoshi (5 times lower), if my calculations are right.

with the same logic, will you sell me Bitcoins for 100$, I am sure you or someone got them for 100$ a piece ;)


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: BitzMD on May 07, 2014, 03:11:34 AM
Selling my stake of 1% of the total chancecoins out there.

PM best offers


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: pigheadbig on May 08, 2014, 01:43:07 AM
is there an exchange?


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: SpongebobCoinpants on May 08, 2014, 02:56:17 AM
People really are selling for dirt cheap right now.

Chancecoin could surpass Mastercoin parity (0.08552 BTC/CHA) once it starts spreading to more people via more exchanges.

Chancecoin is the world's first decentralized casino with a great dev team behind it.


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: gomei on May 10, 2014, 01:47:09 AM
where to buy some?


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on May 10, 2014, 02:32:39 AM
where to buy some?

you can buy 250 currently in the client with BTC.

If you want to buy CHA you can contact me too!


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on May 12, 2014, 01:00:15 AM
Want to sell upto 1000 CHA. Contact me per PM.


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: TwinWinNerD on June 11, 2014, 04:36:39 PM
Want to buy 5000-15000 CHA.

PM me offers. (offer above market price will not be responded to)

PS: I hope I can get this order filled before the price rises. I will spend a lot of time promoting CHA if I can accumulate a big stack. So if you hold many CHA you might consider selling me some, so that I promote CHA and help increase the price for ALL your coins ;)


Title: Re: Buy/Sell Thread. Chancecoin [CHA] (Decentralised Dice-Coin)
Post by: BitzMD on June 18, 2014, 12:05:58 PM
want to buy 2500 chancecoin at current rate