Skip to main content
The WAX Python SDK provides a comprehensive toolkit for building Hive blockchain applications in Python. It wraps the core C++ Hive protocol implementation with a high-level, Pythonic API.

Key features

The Python SDK offers two main interfaces:
  • Offline operations via create_wax_foundation() - Transaction building, signing, and validation without network access
  • Online operations via create_hive_chain() - Full blockchain interaction including API calls and broadcasting

Core capabilities

Transaction management

Build, sign, validate, and broadcast transactions with full type safety:

Asset handling

Work with HIVE, HBD, and VESTS using intuitive asset factories:

API integration

Access Hive blockchain APIs with full async support:

Wallet integration

Seamless integration with Beekeeper wallet for secure key management:

Installation

Install the SDK via pip:
See the installation guide for detailed setup instructions.

Getting started

Choose your approach based on your needs:

Offline operations

Build and sign transactions without network access

Online operations

Full blockchain interaction with API calls

Transactions

Learn transaction building and management

API calls

Query blockchain data and state

Architecture

The Python SDK uses Cython bindings to wrap the high-performance C++ Hive protocol implementation. This provides:
  • Native performance - Transaction signing and validation at C++ speeds
  • Type safety - Full type hints and Protocol Buffer message validation
  • Protocol compliance - Direct use of Hive’s canonical protocol implementation

Package structure

Next steps

1

Install the SDK

Follow the installation guide to set up your environment
2

Choose your interface

Use create_wax_foundation for offline operations or create_hive_chain for full blockchain access
3

Build transactions

Learn transaction management to create and sign operations
4

Explore examples

Check out complete examples for common use cases