Link to main thread: https://bitcointalksearch.org/topic/anncha-chancecoin-supernet-core-coin-for-betting-in-a-decentralized-casino-528023
Hint: Ich bin nicht der Programmierer von CHA, nur sehr begeistert davon
Letztes Update hier: April 07, 2014, 02:21:15 PM Beschreibung | 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.
|
Burn informationMaximum 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:
1ChancecoinXXXXXXXXXXXXXXXX0ZELUFDMaximum coins burned per address: unlimited
Casino informationHouse edge: 2.0%
Maximum win: 1.0% of bankroll
Wallet softwareOS X binaryWindows binaryInstall from source on GitHubResourcesHome pageUp to date version of this documentTechnical detailsSubredditHow do I buy CHA?During the burn period, you can burn BTC into CHA using the standard Chancecoin wallet or command line interface. You can also burn BTC into CHA by sending BTC to 1ChancecoinXXXXXXXXXXXXXXXXXZELUFD using a Bitcoin client or Blockchain.info. After the burn period, you can still trade CHA for BTC on the decentralized exchange using the standard Chancecoin wallet or command line interface.
Burning with the Chancecoin walletOpen the wallet software and click on "Wallet." Under the "Burn" section, fill in your address and desired quantity to burn. Then click "Burn."
Burning with the command line interfaceRun "python chancecoind.py burn --source SOURCE --quantity QUANTITY"
Burning with a Bitcoin clientTo burn with a Bitcoin client, simply send the amount of BTC you want to burn to 1ChancecoinXXXXXXXXXXXXXXXXXZELUFD. As long as one of the outputs is 1ChancecoinXXXXXXXXXXXXXXXXXZELUFD, the burn will be credited to the first input address.
Burning with Blockchain.infoTo burn using a Blockchain.info wallet, do the following:
- Log in to your wallet.
- Click "Send Money."
- Choose "Quick Send" under "Transaction Type."
- Enter 1ChancecoinXXXXXXXXXXXXXXXXXZELUFD for the "To" address.
- Enter the amount of BTC you want to burn.
- Click "Send Payment."
Note that when you use multiple input addresses, the CHA is credited to the first input address.
How do I gamble?You can gamble using the standard Chancecoin wallet or command line interface.
Gambling with the Chancecoin walletOpen 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 interfaceRun "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.
DonationsDonations to 1BckY64TE6VrjVcGMizYBE7gt22axnq6CM are welcome.
DevelopersMagician and
VenetianInstallation instructionsPrerequisitesInstall 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.
- 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.