Off‑chain Computation (e.g. oracles, or off-chain workers)
1 min read
Pronunciation
[off-cheyn kom-pyoo-tey-shun]
Analogy
Like doing complex calculations on your desktop and then posting only the final result on social media.
Definition
Execution of code or data processing outside the blockchain—such as price aggregation, heavy computation, or machine learning—in trusted or verifiable environments, with results submitted on‑chain via oracles or consensus protocols.
Key Points Intro
Off‑chain computation scales dApps by offloading work from on‑chain environments.
Key Points
Oracles: Fetch and preprocess external data.
Worker pools: Execute heavy tasks in sidechains or trusted enclaves.
Verifiability: Use SNARKs or remote attestation for trust.
Cost efficiency: Reduces on‑chain gas consumption.
Example
Technical Deep Dive
Security Warning
Trust in off‑chain nodes must be mitigated via threshold signatures or TEEs.
Caveat
Verification overhead may offset savings; choose appropriate proof scheme.
Off‑chain Computation (e.g. oracles, or off-chain workers) - Related Articles
No related articles for this term.