A SDK client for Katena Chain by Transchain
Project description
SDK Python
Requirements
- Python >= 3.X
Install
pip install katena-chain-sdk-py
Usage
To rapidly interact with our API, you can use our Transactor
helper. It handles all the steps needed to correctly
format, sign and send a tx.
Feel free to explore and modify its code to meet your expectations.
Examples
Detailed examples are provided in the examples
folder to explain how to use our Transactor
helper methods.
You can change various settings in the examples/common/settings.py
file.
Available examples:
- Send a
Certificate
transaction - Send a
Secret
transaction - Send a
KeyCreate
transaction - Send a
KeyRotate
transaction - Send a
KeyRevoke
transaction - Retrieve
Certificate
related transactions - Retrieve
Secret
related transactions - Retrieve
Key
related transactions and its state - Retrieve a list of
Key
states for a company
For instance, to send a certificate:
python examples/send_certificate_raw.py
Katena documentation
For more information, check the katena documentation.
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
Built Distribution
File details
Details for the file katena_chain_sdk_py-1.2.0.tar.gz
.
File metadata
- Download URL: katena_chain_sdk_py-1.2.0.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06eb493c6aa91c01cad19c5ca29ba238aeb181293c189364d0458d5721d5d6aa |
|
MD5 | fbc1fcd01ac4a00dd54efda3bb0fa3a6 |
|
BLAKE2b-256 | 428ba7f606084a3530e097af753aafcd14a53117e316439e64c5fbcac4bd4a09 |
File details
Details for the file katena_chain_sdk_py-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: katena_chain_sdk_py-1.2.0-py3-none-any.whl
- Upload date:
- Size: 39.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b65dfca7558b4e67ae138b6607d0a3bdb14f3f7c696b061dea7ae8b4690df621 |
|
MD5 | a781dd866363d5787cb3b224a132fa93 |
|
BLAKE2b-256 | d09bafc8018d169fc634dcf6498d79894668ed3f44a2238ac97d52d61fd8e42e |