Skip to main content
Getly

Command menu

Jump to a page or search the catalog

-15% OFF

Token Templates

Solana Agent Starter — Token-2022 Invoice Rails Starter Kit

Anchor Token-2022 hook that rejects unregistered invoices, plus escrow PDA dispute flow, TS client, websocket indexer.

$32.99$39.00

What you get: 1 file · 19.23 KB · ZIP

See purchase options

Product description

Every transfer knows its invoice. This starter kit ships the three components that make that real on Solana.

Token-2022 transfer hook that rejects any payment not settling a registered invoice. The binding lives inside the token program, so wallets and payers can't strip it. A memo can be dropped; a hook can't.

Indexer and matcher that reconcile bound transfers against your QuickBooks or Xero export. Exact invoice-hash match first, amount+payee heuristic second, confidence score on every row. On 400ms settlement, the books update with the payment, not weeks later.

Escrow PDA state machine: partial, complete, disputed, refunded. 72-hour dispute window, evidence hashes, signed refund claims. No oracle, no court.

What's inside:

- `transfer-hook/`: Anchor program with ExtraAccountMetaList init and the invoice PDA assert that runs at settlement - `escrow/`: Anchor program with deposit_partial, settle, open_dispute, refund - `indexer/`: websocket logSubscribe into the matcher queue, Geyser-swappable - `client/`: PDA derives, hook-aware transfer builder, CSV matcher - `ARCHITECTURE.md`: mermaid diagrams of the flow and the dispute state machine

TypeScript is type-checked clean (`tsc --noEmit`). Rust follows Anchor 0.30 and the Token-2022 transfer-hook interface. Built from our real Matchbook ideathon work (Superteam Ukraine / Colosseum, September 2026). MIT licensed. Audit before mainnet.

What you get

1 file · 19.23 KB

  • solana-agent-kit.zipZIP · 19.23 KB
Package checkPassed

Getly opened the uploaded files and found nothing that would stop them opening. It is not a virus scan or a quality rating.

Views30
PublishedSep 7, 2026
File size19.23 KB
File formatZIP
Versionv1.0

Tags

solanatoken 2022transfer hookinvoice railscrypto paymentsstarter kitonchain invoicesindexerpayment reconciliationweb3 developmentsolana programtoken templates
M
Matchbook Labs

Frequently asked questions

Do I get access instantly?

Yes. This is a digital product - you can download it right after checkout, straight from your library.

Can I use it for commercial projects?

License terms are set by the seller. Check the product description before you buy - it states any limits on personal, commercial or client use.

What's your refund policy?

You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.

What file formats and sizes will I get?

You'll download 1 file - ZIP - 19.23 KB in total.

Do I get free updates?

Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.

Price

$32.99