Data Contracts: Like Smart Contracts But Better
1
0

Dash Evolution does things differently than most data-focused blockchains. One major difference: data contracts.Â
What are Dashâs data contracts, and how do they differ from smart contracts?
First, smart contracts, such as those popularized by Ethereum, basically run computations. Developers write a smart contract in a special language such as Solidity, then execute it. The network runs the specified computation and produces the results. They can be complicated, hard to engineer correctly, and demanding to run.Donât get us wrong, smart contracts are really cool. They do a lot of really interesting things, and Dash has smart contract functionality on the roadmap for the near future. But a lot of use cases can be much better served by data contracts.
A data contract is essentially a template that says: âWrite X Y and Z to data storage.â Because no computation is involved, this is a much simpler, more straightforward function compared to smart contracts. And, you donât need to write your DApps in any special smart contract language: legacy web languages such as Javascript work fine. Just use the data contract format to specify what you want written to, or called up from, storage.
What really makes Dashâs data contracts special is what they write TO: an advanced, layered, indexed data storage solution.Unlike more rudimentary decentralized data storage solutions, Dashâs is fully-indexed and queryable. This means that, rather than simply storing certain file types (called documents), Dash associates data with specific references/subtrees, then maps certain keys to certain values (i.e. country = france), so that the end result is EXACTLY the piece of data your app needs at a given time can be called up instantly, with proofs that it delivered exactly what youâre looking for.Data contracts arenât a different way of approaching smart contracts: theyâre a different thing entirely. And something that hasnât been satisfactorily solved by the space until now.
In the future, we envision a decentralized digital world powered by Dash, with a nice mix of data contracts and smart contracts powering every manner of decentralized application imaginable. Itâs a beautiful and free world, and weâre working towards it.But for now, letâs focus on this innovation thatâs unique to Dash.Your money, your way. Your data, your way.
The post Data Contracts: Like Smart Contracts But Better appeared first on Dash.
1
0
Securely connect the portfolio youâre using to start.





