Lightweight Contracts — Next Steps

Because Smart Contracts Are Not So Smart

Lior Yaffe
Sep 11, 2018 · 2 min read
Lightweight Contracts — Next Steps. Photo by Iker Urteaga on Unsplash

On August 17th, as promised, the Ardor lightweight contracts solution went live on the Ardor testnet as part of release 2.1.0e, which is available from jelurida.com.

Anyone can now prototype and experiment with the unique design and functionality of the Ardor contracts framework which I explained in depth in my previous articles and in this video presentation.

Next step, we want to finalize some technical debt, and make the technology as accessible as possible for developers by further polishing the required tools.

In our next upcoming release 2.1.1e, which is planned for September 2018 we are focusing on three main areas of development:

  1. Contract Manager Plugin — simplify contract deployment and maintenance.
  2. Contract Verification framework — verify that a contract deployed to the blockchain is indeed based on specific source code.
  3. API Callers — standalone building blocks of contract functionality.

As explained in our wiki, contract deployment is a two-step process which is better done automatically using the Contract Manager command line utility. As you recall, we provide an out-of-the-box IntelliJ project which helps you get started quickly with contract development and testing. The Contract Manager Plugin packages the Contract Manager utility as an IntelliJ plugin which is available as part of the Ardor installation. All you need to do is install it into your IntelliJ IDE and off you go: you can deploy and manage your contracts from inside your project.

As with all new technology, it is important to understand any inherent risks and mitigate against them. We predict that a popular attack vector against contracts will be to deploy a malicious contract as class file without providing the source code, then tricking users into using it by social engineering methods like impersonating a legit contract developer. To mitigate this, we would like to strongly encourage contract developers to release their source code. The “contract verification framework” will allow anyone given the contract source code to verify that this source code is indeed the code deployed to the blockchain as class file.

When developing contracts, one of the main tools provided by Ardor is a simple interface to the existing Ardor APIs using API caller objects. These caller objects are useful on their own, even outside of the contracts context, for example for client developers. In the next release, we make the API callers available independently and provide useful samples of how to integrate them into your client applications.

Coinmonks

Coinmonks is a non-profit Crypto educational publication.

Sign up for Cryptoanarchy from Coinmonks

A newsletter that brings you week's best crypto and blockchain stories and trending news directly in your inbox, by CoinCodeCap.com

Create a free Medium account to get Cryptoanarchy in your inbox.

Lior Yaffe

Written by

Co-Founder and Managing Director of Jelurida. Ardor and Nxt core-developer

Coinmonks

Coinmonks

Coinmonks is a non-profit Crypto educational publication. Follow us on Twitter @coinmonks Our other project — https://coincodecap.com

Lior Yaffe

Written by

Co-Founder and Managing Director of Jelurida. Ardor and Nxt core-developer

Coinmonks

Coinmonks

Coinmonks is a non-profit Crypto educational publication. Follow us on Twitter @coinmonks Our other project — https://coincodecap.com

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store