Skip to main content

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

katena_chain_sdk_py-1.3.0.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

katena_chain_sdk_py-1.3.0-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

Details for the file katena_chain_sdk_py-1.3.0.tar.gz.

File metadata

  • Download URL: katena_chain_sdk_py-1.3.0.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for katena_chain_sdk_py-1.3.0.tar.gz
Algorithm Hash digest
SHA256 2afc18b3b518645f4d9418b77520b7af2026a8bbdc2cfef87af6a0bf8b99298e
MD5 67b1bea8386451e3114152858a971958
BLAKE2b-256 77daa7c60f991df6950a02a1d2069c885940451faacaf4ef9c26433883eee490

See more details on using hashes here.

File details

Details for the file katena_chain_sdk_py-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: katena_chain_sdk_py-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 40.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for katena_chain_sdk_py-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb8f80855e0be6aff4d8535e434b5da00b120f98496247ea5c78853ea2554b1f
MD5 cf407e40213f46cd72f334314366bcf9
BLAKE2b-256 0711cd8fb52a85b24280dcabb6340dfbb9f4b0fdee7103a05c821748c94ff9f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page