MetaHookdevnet

Live devnet demo · 5 stations

Provision a Token-2022 mint, watch the hook reject + approve in real time.

Connect Phantom, click through 4 stations (provision · reject · authorise · approve), watch the MetaHookAuditEvent get decoded out of the program logs in your browser. Optional Step 05 shields tokens via Umbra — the composability story.

Programs deployed 4
CU per transfer 33,346
CPI depth 3 / 4
01 · Provision

Provision your mint

One signed transaction creates your allowlist PDA, OFAC PDA, Token-2022 mint with TransferHook ext, and the ExtraAccountMetaList.

02 · Reject

Send to a stranger

Transfer to a wallet that isn't on your allowlist. The hook should reject with policy.allowlist.fail.

03 · Authorise

Add to allowlist

Single CPI to add_allowed. The MetaHook program code stays untouched — only the policy state moves.

04 · Approve

Watch the verdict land

Same transfer. Both policies stamp PASS and a MetaHookAuditEvent appears in the tx logs.

On-chain references

MetaHook program
policy_allowlist program
policy_sanctions_ofac program
policy_sns_allowlist program4J57Rh4w6k8VxJAptKVP2v8St273Msy9afskc16qFuTo
Your mint— provision first —
Demo destination wallet— provision first —