Installation issues
Python version mismatch
Python version mismatch
Problem: WAX requires Python 3.12 or higher, but you have an older version.Solution: Upgrade Python:Then create a new virtual environment:
Poetry not found
Poetry not found
Problem:
poetry command not found.Solution: Install Poetry and add to PATH:Protobuf compiler not found
Protobuf compiler not found
Problem: Build fails with “protoc not found” or similar error.Solution: Install the protobuf compiler:
Wheel not compatible
Wheel not compatible
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:pnpm command not found
pnpm command not found
Problem:
pnpm is not installed for TypeScript development.Solution: Install pnpm:Build issues
Missing Boost libraries
Missing Boost libraries
Problem: Build fails with missing Boost library errors.Solution: Use the official CI base image which includes pre-compiled Boost:
Submodule not initialized
Submodule not initialized
Problem: Build fails because the
hive submodule is not initialized.Solution: Initialize and update submodules:WASM build fails
WASM build fails
Problem: TypeScript WASM build fails with compilation errors.Solution: Ensure all dependencies are installed and submodules are initialized:
Out of memory during build
Out of memory during build
Problem: Build process crashes with out of memory errors.Solution: Increase available memory or reduce parallel jobs:
Runtime issues
Import error: cannot import name
Import error: cannot import name
Problem:
ImportError: cannot import name 'create_wax_foundation' from 'wax'Solution: Ensure WAX is properly installed:Module not found: @hiveio/wax
Module not found: @hiveio/wax
Problem: TypeScript cannot find the WAX module.Solution: Ensure the package is installed:
Protobuf deserialization errors
Protobuf deserialization errors
Problem: Errors when deserializing protocol buffer messages.Solution: Ensure protobuf versions match:
API connection failures
API connection failures
Problem: Cannot connect to Hive API nodes.Solution: Check your endpoint and network:
Transaction signing failures
Transaction signing failures
Problem: Transactions fail to sign or broadcast.Solution: Verify your signing setup:
Testing issues
Mock server won't start
Mock server won't start
Problem: Tests fail because mock server cannot start.Solution: Check if port is already in use:
Playwright browsers not installed
Playwright browsers not installed
Problem: TypeScript tests fail with “Browser not found” error.Solution: Install Playwright browsers:
Import errors in tests
Import errors in tests
Problem: Tests fail with import errors.Solution: Set PYTHONPATH correctly:
Tests timeout
Tests timeout
Problem: Tests hang or timeout.Solution: Increase timeout or debug hanging tests:
Development issues
Linter errors
Linter errors
Problem: Linter fails with style violations.Solution: Auto-fix issues where possible:
Type checking errors
Type checking errors
Problem: MyPy or TypeScript type checking fails.Solution: Review type errors and fix:
Git hooks fail
Git hooks fail
Problem: Pre-commit hooks fail on commit.Solution: Run pre-commit manually and fix issues:
CI pipeline failures
CI pipeline failures
Problem: GitLab CI pipeline fails.Solution: Check pipeline logs and run locally:
Performance issues
Slow imports
Slow imports
Problem: Importing WAX takes a long time.Solution: This is expected for first import as native modules are loaded. Subsequent imports are cached:
Large memory usage
Large memory usage
Problem: WAX uses more memory than expected.Solution: Optimize memory usage:
Slow transaction building
Slow transaction building
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:-
Version information:
-
Environment details:
- Operating system and version
- Python/Node.js version
- Installation method (pip, npm, from source)
-
Minimal reproduction:
- Simplest code that reproduces the issue
- Steps to reproduce
- Expected vs actual behavior
-
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