- Python
- TypeScript
Prerequisites
Before installing WAX for Python, ensure you have:- Python 3.12 or higher (3.14+ recommended)
- pip or Poetry package manager
Install WAX
Installing Beekeeper (optional)
For transaction signing, you’ll need a wallet integration. The recommended option is Beekeeper:Dependencies
WAX for Python includes the following key dependencies:protobuf- Protocol buffer supporthttpx- Async HTTP client with HTTP/2loguru- Loggingpython-dateutil- Date utilitieshiveio-api- Hive API definitions
Troubleshooting
Python: ModuleNotFoundError
If you get aModuleNotFoundError, ensure:
- Your virtual environment is activated
- You’ve set the registry environment variables correctly
- You’re using Python 3.12 or higher
TypeScript: Cannot find module
If imports fail, try:- Delete
node_modulesand reinstall:rm -rf node_modules && npm install - Ensure you’re using Node.js 20.11+ or 21.2+
- Check that your bundler supports ESM modules
WASM loading errors
If you see WASM-related errors in the browser:- Check that your bundler is configured for WASM support
- Ensure you’re serving the application over HTTP/HTTPS (not
file://) - For Vite, make sure assets are being copied correctly
Next steps
Quick start guide
Learn how to create your first Hive transaction with WAX