Documentation Index Fetch the complete documentation index at: https://mintlify.com/openhive-network/wax/llms.txt
Use this file to discover all available pages before exploring further.
Build on Hive with WAX A high-performance SDK that provides Hive blockchain protocol features to Python and TypeScript applications. Create, sign, and broadcast transactions with ease.
import createHiveChain from ’@hiveio/wax’
// Initialize WAX
const chain = await createHiveChain ()
// Build transaction
chain. pushOperation (op)
Quick Start Get started with WAX in your preferred language
Install the package
Choose your platform and install WAX using your package manager.
Initialize WAX
Create a WAX instance for offline operations or connect to the Hive network. import { createWaxFoundation , createHiveChain } from '@hiveio/wax' ;
// For offline operations (transaction building, signing)
const wax = await createWaxFoundation ();
// For online operations (API calls, broadcasting)
const chain = await createHiveChain ();
from wax import create_wax_foundation, create_hive_chain
# For offline operations (transaction building, signing)
wax = create_wax_foundation()
# For online operations (API calls, broadcasting)
chain = create_hive_chain()
Build and sign a transaction
Create a transaction, add operations, and sign it with your preferred signing provider. // Create a transaction
const tx = await wax . createTransaction ();
// Add operations
tx . pushOperation ({
vote: {
voter: "alice" ,
author: "bob" ,
permlink: "example-post" ,
weight: 10000
}
});
// Sign and broadcast
await tx . sign ( wallet , publicKey );
await chain . broadcast ( tx . transaction );
# Create a transaction
tx = wax.create_transaction()
# Add operations
tx.push_operation({
"vote" : {
"voter" : "alice" ,
"author" : "bob" ,
"permlink" : "example-post" ,
"weight" : 10000
}
})
# Sign and broadcast
await tx.sign(wallet, public_key)
await chain.broadcast(tx.transaction)
Explore by Topic Jump into the documentation for your use case
Python SDK Build Hive applications with Python using Cython bindings
TypeScript SDK Integrate Hive into JavaScript applications with WebAssembly
Core Concepts Understand transactions, operations, and signing
API Reference Detailed API documentation for both languages
Guides Step-by-step guides for common tasks
Extensions Signing providers and API extensions
Key Features What makes WAX powerful for Hive development
Dual-Language Support Native SDKs for Python (Cython) and TypeScript (WebAssembly) from the same C++ core
Flexible Signing Pluggable signing providers including Beekeeper, Keychain, MetaMask, and PeakVault
Protocol Buffers Operations based on Protocol Buffers from hived C++ source ensure compatibility
Framework Support Works with Next.js, React, Vue, Nuxt, Node.js, and more with automatic environment detection
Ready to Build on Hive? Start building powerful blockchain applications with WAX today. Follow our quickstart guide to create your first transaction in minutes.
Start Building Now