A fully functional blockchain lab.
Project description
Blockchain Lab
A fully functional blockchain lab.
Install
pip3 install blockchain_lab
Using
In another script
You can give path as a argument to blockchain_lab(path).
Docker | Create & Delete
from blockchain_lab import blockchain_lab
blockchain_lab().create_docker()
from blockchain_lab import blockchain_lab
blockchain_lab().delete_docker()
Local | Create & Delete
from blockchain_lab import blockchain_lab
blockchain_lab().create_local()
from blockchain_lab import blockchain_lab
blockchain_lab().delete_local()
Status
from blockchain_lab import blockchain_lab
blockchain_lab.status()
Test with a transaction
from blockchain_lab import blockchain_lab
blockchain_lab.send_transaction(receiver = "decentra_network", amount = 5000)
In command line
You can give path as a parameter with -p or --path in create and delete.
Docker | Create & Delete
blockchain_lab_create_docker
blockchain_lab_delete_docker
Local | Create & Delete
blockchain_lab_create_local
blockchain_lab_delete_local
Status
blockchain_lab_status
Test with a transaction
blockchain_lab_send_transaction -r decentra_network -a 5000
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
blockchain_lab-0.4.0.tar.gz
(8.0 kB
view hashes)