What is RLock?
Understand the core concepts and benefits of RLock.
RLock is an execution layer + SDK that turns a multi-step user goal (swap → LP → stake, etc.) into safe, efficient Solana transactions. Instead of firing 5 fragile txs and hoping nothing breaks, RLock plans the whole flow off-chain, splits it into conflict-aware chunks, budgets fees/compute, simulates end-to-end, then submits on the best rail (L1 or ER-style lane on devnet).
Why it matters
Real DeFi flows fail disproportionately during network spikes. Users pay fees on partial progress, get stuck on hot accounts, and abandon after the first fail. RLock replaces that chaos with one reliable action that’s fee-aware, size-safe, and contention-resilient.
What RLock does for you
- Capture intents, not low-level ixs. Express the whole goal once; we plan the dependency order.
- Compute budget tuning. Apply sensible CU limit & priority fee based on policy (fixed or recent-fees).
- Message-size safety. Build v0 transactions with explicit byte-size checks and ALT offloading.
- Lane selection. Choose between direct L1 and a high-throughput ER-style rail (devnet) automatically.
- Retries & preflight. Robust submission with backoff and optional preflight per lane.