SDK Integration Guide
This section covers the shortest SDK integration path and key implementation cautions.
What This Guide Covers
Quick Start
Complete installation and first implementation in 5 minutes
API Reference
Detailed specifications and code examples for all methods
Support Status
Framework and browser compatibility
Key Features
💡 Our Goal: Enable developers to easily implement token economy features and accelerate innovation
API Reference Overview
Build powerful blockchain applications with API specifications and detailed documentation for each hazBase SDK package
@hazbase/auth
Email OTP, passkey account bootstrap, extension passkey bridge, sponsored execution, and x402 payment helpers
@hazbase/react
React providers and hooks for wallet linking, passkey accounts, wallet API reads, and sponsored smart-wallet UX
@hazbase/amm
Automated market maker functionality implementation
@hazbase/smartwallet
Smart wallet and account abstraction
@hazbase/kit
Comprehensive developer toolkit for the hazBase platform. Includes contract helpers, wallet API clients, wallet-address bridge helpers, x402 browser handoff utilities, and the building blocks needed for blockchain-integrated applications.
17 of 17
Governance
MetaGovernorHelper
TS helper that orchestrates two child governors and schedules Timelock only when BOTH pass
GenericGovernorHelper
A TS helper to manage time-windowed proposals, mirrored proposals, execution, cancellation, and strategy updates
TimelockControllerHelper
A TS helper to schedule, execute, cancel delayed operations and manage roles
Trust & Verification
MultiTrustCredentialHelper
A TS helper to issue, update, and zk-verify credentials safely
KpiRegistryHelper
A type-safe TS helper to register KPIs, push values, and evaluate thresholds
AgreementManagerHelper
TS helper for a two-step EIP‑712 offer flow with optional on-chain escrow
DebtManagerHelper
TS helper for ERC‑3475-based bond tranches (coupons / maturity / call & put)
WhitelistHelper
TS helper to manage a KYC whitelist with zk proofs and replay protection
Token Management
FlexibleTokenHelper
TS helper for an extended ERC‑20 with ERC20Votes, Pausable, UUPS, ERC‑2771, and roles
BondTokenHelper
TS helper for an ERC‑3475 bond token with class/nonce partitions and snapshots
PrivilegeNFTHelper
TS helper for an ERC‑721 privilege/reward NFT with royalties, voting tiers, rentals, and whitelist
PrivilegeEditionHelper
TS helper for ERC‑1155 reward/privilege editions with royalties, voting tiers, and whitelist/zk integration
Market & Finance
MarketManagerHelper
TS helper for primary-sale fixed-price listings and EIP‑712 voucher sales
ReservePoolHelper
A TS helper for liquidity/compensation buckets, buy-backs, and pause controls
SplitterHelper
A TS helper that splits incoming funds to multiple recipients by predefined basis points (bps)
StakingHelper
A type-safe TS helper to operate a multi-asset staking pool with reward emissions
Risk Management
EmergencyPauseManagerHelper
A TS helper to manage a registry of pausable contracts and run bulk pause/resume safely