All Projects → PolyCash → polycash

PolyCash / polycash

Licence: MIT license
The ultimate open source betting protocol. PolyCash is a P2P blockchain platform for wallets, asset issuance, bonds & gaming.

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to polycash

VitonBet
VitonBet is an Android betting application that allows users to place bets on eSports events and to gamble on user created events. Casino mode also available to gamble and sending cash to other users available too.
Stars: ✭ 24 (+0%)
Mutual labels:  gambling, betting
Finance-Robinhood
Trade stocks and ETFs with free brokerage Robinhood and Perl
Stars: ✭ 42 (+75%)
Mutual labels:  cryptocurrencies
CoinGecko
A C++20 library for CoinGecko--a cryptocurrency data service.
Stars: ✭ 69 (+187.5%)
Mutual labels:  cryptocurrencies
awesome-cryptocurrencies
A curated list of awesome cryptocurrencies 🎩
Stars: ✭ 139 (+479.17%)
Mutual labels:  cryptocurrencies
quick trade
convenient script for trading with python.
Stars: ✭ 63 (+162.5%)
Mutual labels:  cryptocurrencies
live-cryptocurrency-streaming-flutter
A Flutter app with live cryptocurrency updates, powered by Ably
Stars: ✭ 26 (+8.33%)
Mutual labels:  cryptocurrencies
Benzaiboten-spot-trading-bot
A trading bot easy to use to be linked to your favorite exchange to automatize the trading on cryptocurrencies
Stars: ✭ 20 (-16.67%)
Mutual labels:  cryptocurrencies
widgets
💸 Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion with state-of-the-art widgets.
Stars: ✭ 32 (+33.33%)
Mutual labels:  cryptocurrencies
nypsi
the best discord bot
Stars: ✭ 41 (+70.83%)
Mutual labels:  gambling
stellarator
Cowrie exchange API for converting between fiat currencies and crypto currencies
Stars: ✭ 27 (+12.5%)
Mutual labels:  cryptocurrencies
twitter-crypto-bot
This is a Twitter bot that tweets about cryptocurrencies prices every certain amount of minutes
Stars: ✭ 21 (-12.5%)
Mutual labels:  cryptocurrencies
termux-snippets
An integrated tool and a collection of snippets which helps in the various aspects of the terminal.
Stars: ✭ 28 (+16.67%)
Mutual labels:  cryptocurrencies
tradingconv
Convert trading history of cryptocurrency platforms
Stars: ✭ 24 (+0%)
Mutual labels:  cryptocurrencies
wink-tokenizer
Multilingual tokenizer that automatically tags each token with its type
Stars: ✭ 51 (+112.5%)
Mutual labels:  tokenization
ccoin
〽️ Convert and fetch the cost of over 1000 cryptocurrencies within your terminal, and save repeated queries
Stars: ✭ 25 (+4.17%)
Mutual labels:  cryptocurrencies
cryptocoin scrypt stratum
A javascript scrypt cryptocurrency miner that uses a PHP built stratum server as a proxy.
Stars: ✭ 25 (+4.17%)
Mutual labels:  cryptocurrencies
DeFi PanCakeSwapBot
Defi PancakeSwap bot is programmed in Python to buy and sell tokens in seconds once the target is hit.
Stars: ✭ 182 (+658.33%)
Mutual labels:  cryptocurrencies
DAPSCoin
DAPS is the world's first coin to implement Bulletproofs and RingCT & Ring Signatures in a staking chain. With DAPS it is possible to stake, run masternodes and mine PoA blocks.
Stars: ✭ 58 (+141.67%)
Mutual labels:  cryptocurrencies
spacy russian tokenizer
Custom Russian tokenizer for spaCy
Stars: ✭ 35 (+45.83%)
Mutual labels:  tokenization
go-coinmarketcap
The Unofficial Coin Market Cap API client for Go.
Stars: ✭ 61 (+154.17%)
Mutual labels:  cryptocurrencies

About PolyCash

PolyCash is an open source blockchain protocol for peer to peer betting currencies. PolyCash integrates with blockchains including Bitcoin, Litecoin, Dogecoin & Datachain. The PolyCash protocol powers Betcoin, a digital currency with a novel inflation model where coins are given out to players for betting on virtual basketball games in addition to being given to miners for securing the network.

Install PolyCash

To get started, first install and secure Apache, MySQL and PHP (at least version 7). Set your Apache web root to the "public" folder of this repository. Then create a file src/config/config.json by copying and pasting src/config/example_config.json.

Make sure to set the following params in your config.json to something like the following:

"site_domain": "localhost",
"mysql_server": "127.0.0.1",
"mysql_user": "mysqluser",
"mysql_password": "somesecurepass",
"database": "polycash",
"operator_key": "anothersecurepass"

"operator_key" is a parameter which allows a site administrator to perform certain actions like updating the application. If you are installing PolyCash on a public facing server, be sure to set a secure value for this parameter.

If you want to allow users to log in with an email address, enter your sendgrid API key in your config file:

"sendgrid_api_key": ""

Next, configure cron to poll PolyCash every minute. This keeps PolyCash in sync at all times. Add this line to your /etc/crontab:

* * * * * root /usr/bin/php /var/www/polycash/src/cron/minutely.php

Set "pageview_tracking_enabled": true in your config.json if you want to track all pageviews. If you don't set this parameter, no IP addresses or pageviews will be tracked.

Next, point your browser to http://localhost/install.php?key=<operator_key> where <operator_key> is the random string that you generated above. If Apache, MySQL and PHP are all installed correctly, PolyCash should automatically install.

Make sure you have curl installed:

apt-get install php-curl

Make sure QR codes are rendering correctly in the blockchain explorer. If not, ensure php-gd is installed.

apt-get install php-gd

Don't forget to restart apache after installing libraries like php-curl and php-gd.

service apache2 restart

If the home page doesn't load, it's possible that mod_rewrite needs to be enabled. To enable mod_rewrite, edit your httpd.conf and make sure this line is uncommented:

#!php

LoadModule rewrite_module modules/mod_rewrite.so

Or run this command:

a2enmod rewrite

For faster page loads, make sure that browser caching is enabled

a2enmod expires

Install Blockchains & Games

By default, the Betcoin cryptocurrency is installed when you install PolyCash. You can install other PolyCash-protocol cryptocurrencies by pasting their game definitions in via the "Import" link found in the left menu.

To get the betcoin cryptocurrency in sync, you'll need to install the Datachain blockchain as a full node. For more information on that step, check out Datachain on github.

After installing Datachain, click the "Manage Blockchains" link in PolyCash, then select Datachain -> Set RPC credentials, and then enter the RPC username and password from your datacoin.conf. Then run PolyCash either by setting up a cron job to run the src/cron/minutely.php every minute, or by visiting Install -> "Start process in new tab".

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].