GenesisOne / working samples

Base USDC · Node.js + SQLite

Transfer alerts that survive a restart.

A small reference watcher with a durable block cursor, exact amounts and a retrying webhook outbox. It reads public transfers; it never signs or moves funds.

17 tests passedOne historical mainnet block checkedNode.js 24.19.0 · Windows

Commit the event before sending the alert.

Block behind tip→Validate log→Cursor + outbox→Webhook

The block cursor and its alerts commit together. A failed database write leaves both unchanged. Reopening the database preserves pending deliveries. A self-transfer found by both incoming and outgoing queries produces one event.

Run the local checks

Extract the ZIP and run this command. No package install, credentials or public network access are needed for the tests.

node --test watch.test.mjs

To use the CLI, first configure your own authorized RPC and webhook endpoints, wallet address and start block. The README explains these variables and the real HTTP requests the CLI will make.

What was checked

A real RPC compatibility check

The adapter also read Base block 53155905 and decoded the project's historical 125.000000-USDC receipt at log 246. It used eight read-only RPC calls and sent no webhook. That payment happened on October 27; this check is not new income or a new transaction.

Inspect the historical transaction ↗

Where the sample stops

Alerts are delivered at least once. Receivers must persistently deduplicate the event ID. A block-depth threshold is not finalized settlement. A changed persisted block halts the watcher for reconciliation.

One process, one wallet and native Base USDC only. The RPC provider is trusted for completeness. No hosted deployment, customer integration, independent chain verification, automatic reorg reversal, production load or power-loss recovery is claimed.