Skip to content

Latest commit

 

History

148 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pulsar Engine

Build Status License Contributors

Pulsar Core

Welcome to the official monorepo for Pulsar, a headless, local-first transaction lifecycle tracking engine for the TUWA Ecosystem.


🏛️ Architecture Philosophy

Pulsar is "The Tracker" within the ecosystem, occupying Layer 3 (L3) (Headless Core Store) and Layer 4 (L4) (Network State Adapters & Framework Bindings). Its single purpose is asynchronous multi-chain transaction lifecycle indexing and client-side reconciliation.

It is designed to be consumed by any UI layer, with our official implementation being the Nova UI Kit.

The architecture is modular and layered:

  • 🧠 Core (@tuwaio/pulsar-core): A framework-agnostic state machine that knows how to manage state but nothing about specific blockchains.
  • 🔌 Adapters (@tuwaio/pulsar-evm, @tuwaio/pulsar-solana): Platform-specific modules that plug into the core. They teach Pulsar how to interact with specific ecosystems like EVM or Solana.
  • ⚛️ Bindings (@tuwaio/pulsar-react): Framework-specific packages that provide hooks and utilities to easily connect Pulsar to a UI framework's lifecycle.

✨ Key Features

  • Framework-Agnostic Core: Framework-agnostic headless core store providing append-only localStorage transaction history ledgers.
  • Multi-Chain by Design: The adapter pattern allows for extending support to any blockchain.
  • Persistent State: Automatically resumes tracking pending transactions after a page reload.
  • Rich Ecosystem Support:
    • EVM Adapter: Supports standard transactions, Safe multisigs, and Gelato relay.
    • Solana Adapter: Supports Wallet Standard, cluster management, and transaction tracking.
  • Type-Safe: Written entirely in TypeScript to ensure a robust developer experience.

📦 Packages

This repository is a monorepo managed using pnpm workspaces.

Package Version Description
🧠 @tuwaio/pulsar-core NPM Version Layer 3 (L3) of the TUWA Ecosystem. Framework-agnostic headless core store providing append-only localStorage transaction history ledgers.
🔌 @tuwaio/pulsar-evm NPM Version Layer 4 (L4) of the TUWA Ecosystem. Low-level EVM state trackers and lifecycle indexers powered strictly by viem and wagmi primitives.
🔌 @tuwaio/pulsar-solana NPM Version Layer 4 (L4) of the TUWA Ecosystem. Low-level Solana block state monitors and RPC cluster lifecycle indexers powered strictly by gill.
⚛️ @tuwaio/pulsar-react NPM Version Layer 4 (L4) of the TUWA Ecosystem. Global React context bindings, hooks, and transaction pool initializers for orchestrating framework-agnostic Pulsar stores.

🚀 Getting Started (for Contributors)

Follow these steps to set up the development environment on your local machine.

1. Clone the Repository

 git clone [https://github.com/TuwaIO/pulsar-core.git](https://github.com/TuwaIO/pulsar-core.git) cd pulsar-core

2. Install Dependencies

This project uses pnpm as its package manager.

 pnpm install

3. Build All Packages

After installation, build all packages to ensure the monorepo is correctly linked.

 pnpm build

🤝 Contributing & Support

Contributions are welcome! Please read our main Contribution Guidelines.

If you find this library useful, please consider supporting its development. Every contribution helps!

➡️ View Support Options

📄 License

This project is licensed under the Apache-2.0 License - see the LICENSE file for details.

About

Pulsar: A multi-chain engine providing reliable, real-time transaction signals.

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages