EITRI.py
usage
$ pip install EITRI
from EITRI.eitri import eitri
if __name__ == "__main__":
# eitri 노드 연결정보 전달
e = eitri(
ip = "127.0.0.1",
port = "3000",
user = "user",
password = "password"
)
last_block = e.block.get_last_block()
print(last_block)
block = e.block.get_block(0)
print(block)
node = e.node.get_info()
print(node)
txhash = e.transaction.get_transaction('0x123')
print(txhash)
validators = e.validator.get_validators()
print(validators)
development
- test
test 코드를 실행하기 위해 test.py 실행
$ python test.py
- deploy
$ ./publish.sh
배포하기 위해 setup.py 의 version 변경
pip 배포
Similar libraries in other languages
- javascript EITRI.js
Release files for EITRI 1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| EITRI-1.9-py3-none-any.whl | Python 3 | none | any | Details |
Release files / EITRI-1.9-py3-none-any.whl
| Download URL | EITRI-1.9-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae92e472b805bca90cd1ba8814ec35502b3793a0a71a69e1f0568cf23335d9fa
|
|
BLAKE2b-256 checksum How to use checksums |
12f410fd37042243c91d1b3f6e4e612aec7e80fedfb9128c7da565f57061282d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|