Skip to content
    hazBasehazBaseDocs
    Developer Tools

    SDK Integration Guide

    This section covers the shortest SDK integration path and key implementation cautions.

    What This Guide Covers

    1

    Quick Start

    Complete installation and first implementation in 5 minutes

    2

    API Reference

    Detailed specifications and code examples for all methods

    3

    Support Status

    Framework and browser compatibility

    Key Features

    Fast Integration - Access all features with just a few lines of code
    Type Safety - Full TypeScript support for enhanced developer experience
    Cross-Platform - Supports Web, Node.js, and React Native

    💡 Our Goal: Enable developers to easily implement token economy features and accelerate innovation

    API Reference

    API Reference Overview

    Build powerful blockchain applications with API specifications and detailed documentation for each hazBase SDK package

    @hazbase/factory

    Efficient smart contract deployment and management

    @hazbase/auth

    Email OTP, passkey account bootstrap, extension passkey bridge, sponsored execution, and x402 payment helpers

    @hazbase/relayer

    Meta-transaction and relayer functionality

    @hazbase/storage

    Distributed storage and data management

    @hazbase/react

    React providers and hooks for wallet linking, passkey accounts, wallet API reads, and sponsored smart-wallet UX

    @hazbase/zk

    Poseidon, Merkle, and Groth16 proof helpers for MTC-integrated disclosure flows

    Coming Soon

    @hazbase/amm

    Automated market maker functionality implementation

    Coming Soon

    @hazbase/smartwallet

    Smart wallet and account abstraction

    @hazbase/kit

    Developer Toolkit

    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

    View details

    GenericGovernorHelper

    A TS helper to manage time-windowed proposals, mirrored proposals, execution, cancellation, and strategy updates

    View details

    TimelockControllerHelper

    A TS helper to schedule, execute, cancel delayed operations and manage roles

    View details

    Trust & Verification

    MultiTrustCredentialHelper

    A TS helper to issue, update, and zk-verify credentials safely

    View details

    KpiRegistryHelper

    A type-safe TS helper to register KPIs, push values, and evaluate thresholds

    View details

    AgreementManagerHelper

    TS helper for a two-step EIP‑712 offer flow with optional on-chain escrow

    View details

    DebtManagerHelper

    TS helper for ERC‑3475-based bond tranches (coupons / maturity / call & put)

    View details

    WhitelistHelper

    TS helper to manage a KYC whitelist with zk proofs and replay protection

    View details

    Token Management

    FlexibleTokenHelper

    TS helper for an extended ERC‑20 with ERC20Votes, Pausable, UUPS, ERC‑2771, and roles

    View details

    BondTokenHelper

    TS helper for an ERC‑3475 bond token with class/nonce partitions and snapshots

    View details

    PrivilegeNFTHelper

    TS helper for an ERC‑721 privilege/reward NFT with royalties, voting tiers, rentals, and whitelist

    View details

    PrivilegeEditionHelper

    TS helper for ERC‑1155 reward/privilege editions with royalties, voting tiers, and whitelist/zk integration

    View details

    Market & Finance

    MarketManagerHelper

    TS helper for primary-sale fixed-price listings and EIP‑712 voucher sales

    View details

    ReservePoolHelper

    A TS helper for liquidity/compensation buckets, buy-backs, and pause controls

    View details

    SplitterHelper

    A TS helper that splits incoming funds to multiple recipients by predefined basis points (bps)

    View details

    StakingHelper

    A type-safe TS helper to operate a multi-asset staking pool with reward emissions

    View details

    Risk Management

    EmergencyPauseManagerHelper

    A TS helper to manage a registry of pausable contracts and run bulk pause/resume safely

    View details