refreshPythPrice(symbol)(Hermes or fork cheatcode)- Build named accounts from PDAs
buildRemainingPositionMetas— every other vault, debt, price, Lite- Compute budget + maybe ALT
simulateAndSend— if simulation fails, do not broadcast
TypeScript Integration
Transaction Flow
Price refresh, remaining accounts, simulate, then send.
Typical risk-sensitive tx:
Wallet “Blockhash not found” means the signer is not on the fork RPC.

