Introduction
Welcome to the documentation for Pulsar π β TUWAβs complete solution for creating world-class transaction tracking experiences in your Web3 applications.
The Challenge of Web3 UX
Building a great Web3 user experience goes far beyond just submitting transactions to the blockchain. Modern dApp users expect:
- Real-time updates on their transactionβs status.
- Clear visual feedback, from pending to confirmation.
- Robust error handling with actionable options like βRetryβ or βSpeed Upβ.
- Support for different wallets and transaction types (e.g., meta-transactions, multi-sigs).
- Beautiful, intuitive interfaces that donβt feel like developer tools.
Building this tracking infrastructure manually is complex, time-consuming, and distracts from your core product features. Different wallet connectors, transaction replacements, network congestion, and cross-chain operations create a maze of edge cases that are difficult to handle correctly.
Our Solution: Pulsar
Pulsar transforms transaction tracking from a complex technical challenge into a simple, elegant integration. We provide the βbrainβ (headless engine) and the βbodyβ (UI) to deliver a seamless, professional transaction experience with just a few lines of code.
ποΈ Architecture Overview
Our modular, layered architecture gives you maximum flexibility while maintaining simplicity. You can use the full stack or pick and choose the layers you need.
βββββββββββββββββββββββββββββββββββββββββββββ
β Your Application (React, etc.) β
βββββββββββββββββββββ¬ββββββββββββββββββββββββ
β (Optional but Recommended)
βββββββββββββββββββββΌββββββββββββββββββββββββ
β @tuwaio/nova-transactions (UI Kit) β
β β’ Pre-built Modals, Toasts, and Widgets β
βββββββββββββββββββββ¬ββββββββββββββββββββββββ
β (React Hooks)
βββββββββββββββββββββΌββββββββββββββββββββββββ
β @tuwaio/pulsar-react (Bindings) β
β β’ Hooks for easy integration (e.g., β
β `useInitializeTransactionsPool`) β
βββββββββββββββββββββ¬ββββββββββββββββββββββββ
β (Plugs into Adapters)
βββββββββββββββββββββΌββββββββββββββββββββββββ
β @tuwaio/pulsar-evm / pulsar-solana β
β β’ EVM-specific and Solana-specific logic β
β β’ Trackers: Standard, Safe, Gelato, etc. β
βββββββββββββββββββββ¬ββββββββββββββββββββββββ
β (The Core Engine)
βββββββββββββββββββββΌββββββββββββββββββββββββ
β @tuwaio/pulsar-core β
β β’ Headless state machine (Zustand) β
β β’ Persistent transaction history β
β β’ Framework-agnostic β
βββββββββββββββββββββββββββββββββββββββββββββ
β¨ Key Features
- π§ Headless Core Engine: Use with any UI framework. Powered by Zustand for lightweight, fast state management.
- βοΈ Multi-Chain & Multi-Tracker:
- EVM Adapter: Includes trackers for standard transactions, Safe multi-sigs, and Gelato meta-transactions.
- Solana Adapter: Supports Solana transaction tracking and seamless integration with clusters and RPCs.
- π¨ Beautiful Pre-built UI: The optional
@tuwaio/nova-transactions
package provides a complete, themeable UI suite with modals, toasts, and history components. - π Persistent State: Transaction history survives page reloads, and pending transactions automatically resume tracking.
- π οΈ Rich Developer Experience: Written in TypeScript, wallet-agnostic, and fully customizable to match your brand.
π¦ Package Overview
Package | Purpose | Key Features |
---|---|---|
@tuwaio/pulsar-coreΒ | The Core Engine | Headless store, types, persistence logic |
@tuwaio/pulsar-evmΒ | EVM Support | EVM adapter, trackers for Ethereum, Gelato, Safe |
@tuwaio/pulsar-solanaΒ | Solana Support | Solana adapter, cluster management, trackers |
@tuwaio/pulsar-reactΒ | React Integration | Hooks for connecting the store to Reactβs lifecycle |
@tuwaio/nova-transactionsΒ | UI Components | Pre-built React components, themes, widgets |
Whatβs Next?
Ready to transform your dAppβs transaction experience?
- Getting Started - Set up Pulsar in your project.
- Quick Start - Implement your first tracked transaction in minutes.
- API Reference - Dive deep into customization and advanced features.
Built with β€οΈ by the TUWA TeamΒ