Python library for ECHO blockchain
Project description
Python Library for Echo
Python ECHO library can be used to construct, sign and broadcast transactions and to easily obtain data from the blockchain via public apis.
Installation
Install with pip3:
$ sudo apt-get install libffi-dev libssl-dev python-dev python3-dev python3-pip
$ pip3 install echopy-lib
Manual installation:
$ git clone https://gitlab.pixelplex.by/645.echo/echopy-lib.git
$ cd echopy-lib
$ python3 setup.py install
or
$ pip3 install .
Usage
from echopy import Echo
url = 'ws://127.0.0.1:9000'
echo = Echo()
echo.connect(url)
accounts = echo.api.database.get_objects(['1.2.0'])
echo.disconnect()
To see Api's
usage examples and information: look section.
To see Transactions
usage examples and information: look section.
To run unit tests
:
python3 -m unittest discover
Contributing
echopy-lib welcomes contributions from anyone and everyone. Please see our guidelines for contributing and the code of conduct.
License
A copy of the license is available in the repository's LICENSE file.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
echopy_lib-0.1.3-py3-none-any.whl
(173.5 kB
view hashes)
Close
Hashes for echopy_lib-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9fed5e5ec7497c6a8e5268ce6d83a372a196c9fa9165c20cdeedf60d9b1486a |
|
MD5 | e3adb44880e35b0191e096287b48bc7d |
|
BLAKE2b-256 | e8a21e3ad482cce9f1d2f3aa4eca2d01864b41fef41b4b663f34166783f903c8 |