FAQ
Short answers to the questions people ask first.
Is this full Sui PTB?
No. It is the achievable subset on Solana: value and PDA piping plus a pubkey capture, under one atomic transaction. Runtime-created-account piping is not possible because Solana lists all accounts up front.
Do I need to deploy my own program?
No. That is the point. You compose existing programs through PTBVM instead of writing and deploying a router of your own.
Where does the piped value live?
In an on-chain register file, a PDA at ["registers", owner]. Captured values stay on chain for the duration of the plan and never round-trip through your client.
What is deployed today?
The PTBVM program is live on devnet at A2kR2uTGLYfCqimqF4piRDh7aHfLRDf4gBg8LvmfMLrz. The runnable reference plan is the mock Swap → Deposit, which proves piping and the gate end to end. Recipes against real mainnet protocols are marked as such and are not runnable on devnet.
How many values can a plan pipe?
Up to eight, one per register slot.