What is the Orchestrator?
The Orchestrator is a separate Solana program (4TPCmR2uN3hDM1FbTsf7ZtFXwXGSz4u1Kxv5YHj6eruX) that coordinates the multi-transaction sequence required to deploy a MultiHopper route.
Deploying a route involves multiple on-chain operations: funding intermediate accounts, wrapping tokens into vaults, and initializing route state. The Orchestrator breaks this sequence into discrete steps that any keeper can execute permissionlessly — removing the requirement for the route creator to sign and submit every setup transaction themselves.
OrchestratorConfig
When a route deployment begins, anOrchestratorConfig account is created on-chain:
The account address is derived as:
PDA: [b"orchestrator", orchestrator_id]
Step Types
EachOrchestratorStep account has an execute_at timestamp and one of three types:
Step accounts are addressed as:
PDA: [b"orchestrator_step", orchestrator_id, step_index]
There is also a token-specific step initialization path (initialize_step_token) for SPL token steps, which records the destination wallet, mint, and amount.
Step Lifecycle
Failure Recovery
If a step cannot be executed on-chain:refund_failed_step— returns the deposited lamports to the creator. The step must be in a failed state for this to succeed.rescue_step— privileged instruction that bypasses normal constraints to recover funds from a permanently stuck step.
close_orchestrator closes the config account.
Keeper Incentives
Thekeeper_share_bps field determines how much of each step’s deposited funds the executing keeper earns. This is expressed in basis points (1 bps = 0.01%).
For example, with keeper_share_bps = 50 (0.5%), a step that has 1,000,000 lamports deposited would yield 5,000 lamports to the keeper on successful execution.
This creates open competition for step execution — any operator can run a keeper and earn fees for timely, correct execution.
Keepers
Learn how keepers monitor and execute pending steps and hops.

