Skip to main content
The Python SDK supports EVM and Substrate transactions. The following code examples are for versions 0.2.1, with a new reference coming soon for version 1.0.0. When installing the SDK, use the following command:
It can either:
  • Return an unsigned transaction object for manual submission, or
  • Automatically submit the transaction if a private key (EVM) or mnemonic seed (Substrate) is provided.
Currently, the SDK supports modules for Decentralized Identifiers (DID), Storage, RBAC (Role-Based Access Control), and Transfers. With Machine Station Factory and UMT modules coming soon. To get started, you’ll need to determine:
  • Whether you’re building for EVM or Substrate, and
  • Whether you want the SDK to sign and send transactions, or just prepare them.

create_instance(base_url, chain_type, seed)

Initializes the SDK and returns an instance ready to interact with the network.