Hooks / Apply for approval

Apply

Point us at your deployed hook program. The pre-check runs the reads approve_hook makes, in the order the chain refuses them.

Loading the application

01 — Program

A program id is 32 bytes of base58.

Pre-check · the reads approve_hook makes, in the order the chain refuses

The nine reads approve_hook makes run here, in the order the chain refuses them.

02 — The application

0 / 32

A name is what the record stores and the directory prints.

A reviewer needs somewhere to reach you.

0 / 240

Two lines on what the hook does.

0 / 120

Which pools this hook is for.

The review reads your source; there is nowhere to read it from.

max_rounds · callback_accounts— from the header

03 · Submit

—

No program id yet

Stamped with
Not signed in
Terms
No public pools
Not checked here
Callback records

What happens next

The config authority reviews the application and, if approved, signs approve_hook with the terms above. The directory lists the hook as soon as it reads the record — Approved hooks is a getProgramAccounts over the AMM, not a list anyone maintains. There is no timeline. Approval is once per program; after any upgrade, new pools are refused until the authority signs reapprove_hook.

What the review can and cannot see

Seesthe nine reads on the left, your source, your audit, your two lines
Does nothash the program bytes, or bound what a callback returns beyond the record rules
Binds tothe ProgramData slot live when approve_hook runs

An application opens as an issue on the hook registry repository. This build has none: set NEXT_PUBLIC_CARPENTER_HOOK_REGISTRY to it, as owner/name.

Apply for approval · Carpenter