Skip to main content
Find solutions to common problems when working with WAX.

Installation issues

Problem: WAX requires Python 3.12 or higher, but you have an older version.Solution: Upgrade Python:
Then create a new virtual environment:
Problem: poetry command not found.Solution: Install Poetry and add to PATH:
Problem: Build fails with “protoc not found” or similar error.Solution: Install the protobuf compiler:
Problem: ERROR: hiveio_wax-*.whl is not a supported wheel on this platform.Solution: The wheel doesn’t match your Python version or platform. Check:
Problem: pnpm is not installed for TypeScript development.Solution: Install pnpm:

Build issues

Problem: Build fails with missing Boost library errors.Solution: Use the official CI base image which includes pre-compiled Boost:
Problem: Build fails because the hive submodule is not initialized.Solution: Initialize and update submodules:
Problem: TypeScript WASM build fails with compilation errors.Solution: Ensure all dependencies are installed and submodules are initialized:
Problem: Build process crashes with out of memory errors.Solution: Increase available memory or reduce parallel jobs:

Runtime issues

Problem: ImportError: cannot import name 'create_wax_foundation' from 'wax'Solution: Ensure WAX is properly installed:
Problem: TypeScript cannot find the WAX module.Solution: Ensure the package is installed:
Problem: Errors when deserializing protocol buffer messages.Solution: Ensure protobuf versions match:
Problem: Cannot connect to Hive API nodes.Solution: Check your endpoint and network:
Problem: Transactions fail to sign or broadcast.Solution: Verify your signing setup:

Testing issues

Problem: Tests fail because mock server cannot start.Solution: Check if port is already in use:
Problem: TypeScript tests fail with “Browser not found” error.Solution: Install Playwright browsers:
Problem: Tests fail with import errors.Solution: Set PYTHONPATH correctly:
Problem: Tests hang or timeout.Solution: Increase timeout or debug hanging tests:

Development issues

Problem: Linter fails with style violations.Solution: Auto-fix issues where possible:
Problem: MyPy or TypeScript type checking fails.Solution: Review type errors and fix:
Problem: Pre-commit hooks fail on commit.Solution: Run pre-commit manually and fix issues:
Problem: GitLab CI pipeline fails.Solution: Check pipeline logs and run locally:

Performance issues

Problem: Importing WAX takes a long time.Solution: This is expected for first import as native modules are loaded. Subsequent imports are cached:
Problem: WAX uses more memory than expected.Solution: Optimize memory usage:
Problem: Building transactions is slow.Solution: Batch operations and reuse objects:

Getting help

If you can’t find a solution to your problem:

GitLab issues

Report bugs or request features

Discussions

Ask questions and get help

Stack Overflow

Search existing questions

Documentation

Browse the full documentation

Reporting bugs

When reporting a bug, include:
  1. Version information:
  2. Environment details:
    • Operating system and version
    • Python/Node.js version
    • Installation method (pip, npm, from source)
  3. Minimal reproduction:
    • Simplest code that reproduces the issue
    • Steps to reproduce
    • Expected vs actual behavior
  4. Error messages:
    • Full error traceback
    • Relevant log output
    • Console errors (for browser issues)

Next steps

Contributing

Help improve WAX

Building from source

Build WAX locally