Simple blockchain library for python3.
Project description
bc4py
bc4py(blockchain-for-python) enables you to create blockchain application by Python3.
Function
- UTXO base
- PoW, PoS and PoC multi-consensus
- Minting colored coin
Requirement
- Windows/Linux
- Python3.6+
- Rust nightly
- p2p-python
- LevelDB
- hash function
- yespower-python For CPU
- x16s-hash for GPU
- x11_hash For ASIC
- Python extension bc4py-extension
- plotting tool bc4py-plotter
Install
cd ~
git clone https://github.com/namuyan/bc4py
rm -r doc tests
mv bc4py blockchain-py
cd blockchain-py
pip3 install --user -r requirements.txt
pip3 install --user -r requirements-c.txt
wget http://example.com/boot.json
Start node
python3 localnode.py
Node working on local env, for debug.python3 publicnode.py
Node with mining/staking.
Documents
- Create genesis block
- How to mining
- API document
- About development
- About new offer about program
- HTTPS proxy introduction
- Proof of capacity
- Install LevelDB
Licence
MIT
Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bc4py-0.0.28a0.tar.gz
(219.2 kB
view details)
File details
Details for the file bc4py-0.0.28a0.tar.gz
.
File metadata
- Download URL: bc4py-0.0.28a0.tar.gz
- Upload date:
- Size: 219.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3932a4e51727fce9f19d4f423dd4b1fe1cb394c794275b8573f427d6dbe73c98 |
|
MD5 | bb8cf1f91a61c908610583635beadae6 |
|
BLAKE2b-256 | 268e2196914257913bcdc2bbe7e8c0df009b88a1f4d64171c76636b206ded840 |