Skip to main content
WAX is available for both Python and TypeScript. Choose your preferred language and follow the installation steps below.

Prerequisites

Before installing WAX for Python, ensure you have:
  • Python 3.12 or higher (3.14+ recommended)
  • pip or Poetry package manager
We recommend using Poetry for Python dependency management. Install it with:

Install WAX

1

Create a virtual environment

It’s recommended to use a virtual environment for your project:
2

Set registry environment variables

Configure pip to use the WAX package registry:
3

Install the package

Install WAX using pip:
Or with Poetry:
4

Verify installation

Test that WAX is installed correctly:

Installing Beekeeper (optional)

For transaction signing, you’ll need a wallet integration. The recommended option is Beekeeper:
Beekeeper provides a secure in-memory wallet for managing private keys.

Dependencies

WAX for Python includes the following key dependencies:
  • protobuf - Protocol buffer support
  • httpx - Async HTTP client with HTTP/2
  • loguru - Logging
  • python-dateutil - Date utilities
  • hiveio-api - Hive API definitions
These are installed automatically when you install WAX.

Troubleshooting

Python: ModuleNotFoundError

If you get a ModuleNotFoundError, ensure:
  1. Your virtual environment is activated
  2. You’ve set the registry environment variables correctly
  3. You’re using Python 3.12 or higher

TypeScript: Cannot find module

If imports fail, try:
  1. Delete node_modules and reinstall: rm -rf node_modules && npm install
  2. Ensure you’re using Node.js 20.11+ or 21.2+
  3. Check that your bundler supports ESM modules

WASM loading errors

If you see WASM-related errors in the browser:
  1. Check that your bundler is configured for WASM support
  2. Ensure you’re serving the application over HTTP/HTTPS (not file://)
  3. For Vite, make sure assets are being copied correctly

Next steps

Quick start guide

Learn how to create your first Hive transaction with WAX