Package diem

Python client SDK library for the Diem blockchain network.

Expand source code
# Copyright (c) The Diem Core Contributors
# SPDX-License-Identifier: Apache-2.0

"""Python client SDK library for the [Diem](https://diem.com) blockchain network."""

from .utils import InvalidAccountAddressError, InvalidSubAddressError
from .auth_key import AuthKey

# keep this import for backwards compatible
from .testing import LocalAccount

Sub-modules

diem.auth_key

Provides AuthKey class for holding Diem authentication key and generating account address, prefix from it.

diem.bcs
diem.chain_ids

Defines available static chain ids …

diem.diem_types
diem.identifier

DIP-5 Diem Account Identifier and Intent Identifier Utilities …

diem.jsonrpc

This package provides a client for connecting to Diem JSON-RPC Service API …

diem.offchain

This package provides data structures and utilities for implementing Diem Offchain API Service …

diem.serde_binary

Module describing the "binary" serialization formats …

diem.serde_types
diem.stdlib
diem.testing

This module provides testing utilities: …

diem.testnet

Provides utilities for working with Diem Testnet …

diem.txnmetadata

LIP-4 Transaction Metadata Utilities …

diem.utils

Utilities for data type converting, construction and hashing.