Skip to content

NoTraceSol/stealth-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stealth-scanner

Tiny Vercel Edge Function that watches Solana's Memo program for nt1: prefixed memos and indexes them in Upstash KV. The NoTrace wallet hits this endpoint instead of doing 100% client-side scanning, which is much faster when your inbox is sparse.

Endpoint

GET /api/recent?since=<slot>&limit=200

Returns up to limit recent nt1: memos with {signature, slot, eph_pub_b58}.

Run locally

vercel dev

Requires UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN env vars.

Why use the backend mirror

Pure client-side scanning fetches every memo-program signature and parses it. That's fine for a few requests but eats RPC budget fast. The mirror polls once globally; each wallet just diffs against the last seen slot.

The mirror is read-only public data — it sees ephemeral pubs, never recipient identities. ECDH still happens locally in the wallet.

About

indexer for nt1: stealth memos on Solana — Vercel Edge Function + Upstash KV

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors