SDK for EITRI Blockchain
Project description
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
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
EITRI-1.9-py3-none-any.whl
(7.5 kB
view hashes)