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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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