node api implementation on python3
Project description
zeroPy
Python3 client api for blockchain
Requirements
- racrypt
- crcPy
Tests
Default tests:
sh tests.sh
Testing Api:
cd tests
vim node.ini
change ip, port
python3 -m unittest test_client.py
Start
import zeropy
client = zeropy.apiClient()
client.connect('127.0.0.1', 5000)
tmp_key = b'any 64 symbols'
#Blockchain should know with whom he works
client.send_info(tmp_key)
counters = client.get_counters()
print('blocks\n', counters.blocks, 'transactions\n', counters.transactions,
'binary data \n',counters)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zeropy-0.2.tar.gz
(8.0 kB
view hashes)