Aareon / ChickenTicket

Pure Python implementation of a cryptocurrency blockchain
MIT License
15 stars 2 forks source link
blockchain chicken-ticket coin cryptocurrency p2p python smart-contracts

Chicken Ticket

PyPI

DEAR USER, THIS BRANCH IS IN DEVELOPMENT. THERE IS CURRENTLY NOT A STABLE BRANCH FOR USE IN PRODUCTION. USE AT YOUR OWN RISK

Chicken Ticket is a Python powered blockchain solution. Users are encouraged to meander about the codebase, learn the nitty gritty details of what makes a coin tick, fork and design your own coin, or use as your every day cryptocurrency. I'm kind of rewriting things, so things may get weird. I'm doing so to make ChickenTicket even better as a library. Everything is broken down into finer components. Transactions, blocks, the node, all have a separate file dedicated to their respective logic. Most, if not all, of the core elements of the blockchain can be serialized into a string. For example:

Simply convert any of the following objects (after instantiation) with str(cls):

Why?

ChickenTicket is meant to be a PoS coin. We plan to offer a faucet, a tipbot, and some other services for the coin to incentivize usage and ease getting into the coin. The coin is based on modules that are included in the Python standard library and other pure Python libraries such that CHKN can run on anything that supports Python. Speed and reliability is our number 1 goal.

Tech

Chicken Ticket uses a number of technologies:

Installing from source

Chicken Ticket requires Python 3.6+ to run. Chicken Ticket requires Visual Studio Build Tools or any GCC compiler to install the C-based libraries.

Clone this repository after installing Git:

$ git clone https://github.com/Aareon/chickenticket

Install the dependencies after cloning:

Unix

$ cd chickenticket
$ python3 -m pip install -r requirements.txt

Windows

$ cd chickenticket
$ py -3 -m pip install -r requirements.txt

Installing with Pipenv

Install Pipenv
$ py -m pip install pipenv -U
$ cd chickenticket
$ pipenv install

How to use

After installing requirements, launch the wallet with:

$ python3 src/simplegui.py

Or launch using Pipenv environment

$ pipenv run python3 src/simplegui.py

Wallet setup is automated and will guide you through the process.

Development

Want to contribute? We ❤️❤️❤️ pull requests! Please test code extensively before creating a pull request. Keep in mind, we are strong supporters of idiomatic and beautiful Python code.

Social

Todos

Screenshots

The ChickenTicket simple GUI

License

MIT