4
Ardor announced they are launching smart contracts on their system and how does it work compared to the other platforms like Ethereum, EOS, and Lisk?
4
Ardor announced they are launching smart contracts on their system and how does it work compared to the other platforms like Ethereum, EOS, and Lisk?
4
First off, Lisk doesn't have full turing-complete smart contracts so there isn't much of a comparison on that front.
Key shortcomings of existing frameworks like Ethereum can be summarized by five challenges:
This combination of factors has already led to numerous instances of user funds being locked up because of vulnerable smart contracts such as in the instance of the DAO and the Paritytech Wallet Freeze.
Lightweight Contracts on the Ardor platform offer a comprehensive solution to these issues. These new “stateless” contracts are written in Java, allowing developers to automate business processes on the blockchain in a comfortable coding language, while leveraging 250+ APIs to launch digital assets, marketplaces, voting systems, cloud storage solutions, messaging applications, and more. Reflecting on the issues of first-generation smart contracts, lightweight contracts address those issues of contract lifecycle management, transaction fees, integration with external systems, and random number generation as follows:
Lightweight Contracts are deployed on individual nodes, with optional verification and approval nodes reproducing results to ensure transparency and fairness. This provides a significant level of confidence in the output transactions of Lightweight Contracts, but what happens if a user sends a transaction to the node running a “contract runner” – and the node fails to execute the contract?
The trust problem lies at the core of all systems looking to deploy smart contracts on individual nodes. After several months of research, the developers at Jelurida finally found their solution by repurposing a lesser-known feature deployed on NXT back in 2015, known as phased transactions by hashed secrets. The basic idea is that funds sent by the user are not credited to the contract runner account. Instead, funds are held in a temporary escrow by the blockchain itself until the contract runner executes the contract and the user, after validating the resulting transaction, reveals the secret. As a result, the user transaction and the contract reply transactions are either both approved or both ignored and funds are unable to be permanently locked or stolen.
Documentation for the Ardor platform and its lightweight contracts can be found on the Ardor Learning Hub at ardordocs.jelurida.com. This response was modified from an article on CCN: https://www.ccn.com/ardor-lightweight-contracts-since-existing-smart-contracts-are-not-so-smart/
3I'm voting to close this question as off-topic because it's not obviously related to Bitcoin. – G. Maxwell – 2019-01-09T18:47:22.267
I'm voting to close this question as off-topic because it's obviously not related to Bitcoin. – Jannes – 2019-01-09T20:55:12.887
@Jannes rather than closing this question, how would you go about getting it migrated to a more appropriate SE site? – DarcyThomas – 2019-01-10T07:38:30.503
@DarcyThomas They're off topic and I couldn't care less about scams, so why would I waste my time on that? – Jannes – 2019-01-10T14:30:20.837
@Jannes Why do you think this question is a scam? It seems pretty on topic to me. The question seems legit and has been tagged with the relevant altcoin tags (i.e.,
etherium,ardor,lisk) – DarcyThomas – 2019-01-11T18:21:20.200