zerolevel blockchain's api bind.
Project description
zeropy
Blockchain's api bind, python3.5+
Requirements
- racrypt
- crcPy(now part, but it will be changed)
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.4.0.tar.gz
(8.5 kB
view hashes)
Built Distribution
zeropy-0.4.0-py3-none-any.whl
(22.3 kB
view hashes)