Use any protocolwithout being seen.

Pook runs Jupiter, Kamino and Jito from a private balance, in one transaction. Each protocol is a hook: a small public record that anyone can publish.

jupiter.swap

Flow hook

One asset in, another out, at Jupiter’s route.

Calls
Jupiter JUP6Lk…VTaV4
Slots
amount inminimum outstage accounts
Changes in Jupiter
Nothing
pook.run("jupiter.swap", { … })

What anyone watching sees

  1. From your walletA swap you sign yourself names your wallet on chain, next to the amounts, for good.
  2. Through PookA relayer signs and pays. The chain records the hook that ran and what went in and out.
  3. Nobody to nameWhere your wallet would be written, the transaction has nothing.
A swap from your wallet
Signed by
your wallet
Program
Jupiter
Hook
none
In
100 USDC
Out
0.6 SOL
Your wallet
named
The same swap through Pook
Signed by
a relayer
Program
pook > Jupiter
Hook
jupiter.swap
In
100 USDC
Out
0.6 SOL
Your wallet

Example amounts.

Runs, as they land

Every run

9 hooks at launch

Each is a record on chain: a program, one of its instructions, and where the money goes in and comes out. Jupiter, Kamino and Jito did not change their programs.

What a protocol changes to get private users

Nothing.

Publish a hook for your program

You ship no upgrade and write no circuit. You earn the author’s share of every run fee through your hook.

  1. 1Paste your IDLOr your program ID. The builder reads the instructions.
  2. 2Mark the slotsThe argument that carries the amount, and the accounts the money moves through.
  3. 3Simulate and signThe hook is checked against the chain, then published from your wallet.

One line from any app

@pook/sdk runs any published hook from a wallet or an app, so an app can offer a swap from a private balance next to its usual one.

await pook.run("jupiter.swap", { in, out, amount })
  • pook.enter
  • pook.leave
  • pook.balance
  • pook.seats
  • pook.publishHook
9
hooks at launch

Start with a private balance

Enter with an asset from your wallet, then run any hook from it.