Proofs & Hooks

Leverage cryptographic proofs and the forthcoming XRPL Hooks amendment to automate EscrowFinish or enforce freezes based on on-chain or oracle-delivered evidence.

Proof Types

Automated vs Emergency

Example Hook Template

(module
  (import "ledger" "get_condition" (func $get_condition (result i32)))
  (import "crypto" "sha256" (func $sha256 (param i32 i32) (result i32)))
  ;; WASM logic to compare proof with condition...
)

Learn More

XRPL Hooks proposal: Hooks Specification.