Verifying Off-Chain Computations Using TrueBit
Cyber•Fund is introducing a series of publications that provide an overview of some of the best speaker topics we’ve hosted at our meetups. Sami Makela — a senior core developer currently working on the TrueBit project — spoke about how TrueBit is being used to verify off-chain computations, and provides a “computational boost” of sorts to Ethereum based smart contracts.
TrueBit is a system built on the Ethereum blockchain that conducts off-chain transactions.
On-Chain Transactions
In order to run a smart contract the user must provide verified calculations. Each particular block includes transactions, and in turn each node conducts the transactions. If a miner does not function correctly, the block will be rejected. This model holds a few limitations, the most prominent of which is the limit of gas consumed for every block. This particular amount of gas can be insufficient to accomplish a given computational task, and drawn-out calculations are expensive on Ethereum. TrueBit provides the user with more effective off-chain solutions.
Off-Chain Computing
This form of computing begins calculating a square root. It often takes a great deal of time to calculate a square root with a smart contract. If these types of calculations take place off-chain, then an answer is immediately generated and can be used to automatically execute commands. The use of an ordered, linked-list in addition to off-chain calculating simplifies the overall implementation of data structures.
Image via Shuttershock
TrueBit
The TrueBit project splits calculations into simpler steps; each of which determines the next one. This reduces the number of additional calculations for every new stage. TrueBit uses the following tools:
Advanced JavaScript
WebAssembly
Program Collection in WebAssembly
Empscripten
Off-Chain Data Storage
IPFS, Swarm
For more information please contact: pr@cyberfund.io
The above references an opinion and is for information purposes only. It is not intended to be investment advice. Seek a duly licensed professional for investment advice.
Leave Verifying Off-Chain Computations Using TrueBit to:
Read more #opensource posts
Best Posts From cyberfund
We have not curated any of cyberfund's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From cyberfund
- Robonomics.network launches alpha-release in the Ethereum mainnet
- cyber•Fund News Digest
- cyber•Fund News Digest
- The World of Industry 4.0
- cyber•Fund News Digest
- cyber•Fund News Digest
- Verifying Off-Chain Computations Using TrueBit
- Oracles for Blockchain and an Overview of the Exorum Platform
- Smart Contracts and the Use of Open Source Blockchain Data
- Rust Contracts and WebAssembly