DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Top 3 Platforms for Successful Smart Contract Development

A brief look at what smart contracts are and three great platforms that developers can use to create their own smart contracts.

Tetiana Boichenko user avatar by
Tetiana Boichenko
·
Jun. 05, 18 · Analysis
Like (5)
Save
Tweet
Share
4.25K Views

Join the DZone community and get the full member experience.

Join For Free

Many companies strive to leverage blockchain and smart contracts. According to 2017 Accenture research findings, investment banks alone could save up to $12 billion per year by adopting blockchain and smart contracts. According to Gartner estimates, more than 25% of global organizations will use smart contracts by 2022.

Companies like IBM and Microsoft offer blockchain solutions and smart contract development to enterprise clients. However, those solutions, too, call for customization. This means the demand for distributed ledger developers is only going to grow.

What Is a Smart Contract?

A blockchain-based smart contract is a piece of self-executing code on a distributed ledger platform that automatically enforces the terms of a multi-party agreement. To execute a smart contract, a computer network uses consensus protocols.

Consensus may be achieved either on the ledger level (among all members of the blockchain) or on a transaction level (among participants of a specific transaction).

These transactions are immutable and can be traced back.

How smart contracts work?Here are some reasons why companies adopt smart contracts:

  • Secure
  • Cost-efficient
  • Fast
  • Automated
  • Precise
  • Irreversible
  • Autonomous
  • Decentralized

Smart contracts are applicable to a variety of industries, from gambling to logistics to insurance to banking to healthcare, and more. Currently, there are three key platforms for smart contract development:

  1. Hyperledger Fabric
  2. Ethereum
  3. R3 Corda

Development for each platform requires different engineering expertise: solidity for Ethereum developers, Golang and Java for Hyperledger Fabric, and Kotlin and Java for R3 Corda. Also, programmers must have good knowledge of API development.

At N-iX, there are two ongoing projects for financial services industry, where our development teams work with two of the three platforms mentioned. From this experience, we can certainly tell that smart contract developers are hard to find and expensive to hire.

For instance, only around 175,000 professionals across the world mention smart contract development as their expertise on LinkedIn. The resources for learning smart contracts are rather limited, too.

Key Platforms for Smart Contract Development

Hyperledger Fabric

Hyperledger Fabric is one of Hyperledger projects hosted by the Linux Foundation. Its modular architecture allows components to be used on a plug-and-play basis. Consensus and membership services are examples of such services.

The flexibility of Fabric's modular architecture allows developers to customize distributed ledgers to a multitude of industries, including financial services, supply chain, healthcare, education, and many more. Let's sum up some of Fabric's great features:

  • The Hyperledger network is permissioned, and a consensus has to be reached at a transaction level (not the ledger level). Thus, it is more scalable, fast, and efficient than public blockchains.
  • Hyperledger Fabric allows for confidential agreements, so only direct participants of the agreement can access the data about the transaction.
  • Hyperledger Fabric leverages container technology to host smart contracts. The technology is called “chaincode.”
  • Fabric uses Byzantine fault-tolerant (BFT) algorithms to prevent system failures.
  • Hyperledger nodes have different roles and tasks, such as endorser, committer, and consenter.

Programming languages: Go, Java.

R3 Corda

The solution is used only in the financial services industry, as it is permissioned and provides good scalability and privacy. It uses Byzantine fault-tolerant (BFT) algorithms to exclude component failures. Consensus over uniqueness is reached among participants called notary nodes. This trait greatly speeds up the execution of transactions.

In Corda, smart contracts are allowed to contain legal prose, called smart legal contracts. It uses a Ricardian Contract (a method of recording a document as a contract at law).

Programming languages: Kotlin, Java.

Ethereum

Smart contracts on Ethereum are designed to be Turing-complete, which means the platform can compute anything computable if enough resources are provided. However, it creates the ground for criticism as it may be too inflexible, unsafe, and unpredictable.

A consensus is reached through mining and Proof of Work, at the ledger level. Thus it is shared among all the participants in the ledger.

Ethereum smart contracts are enforced and validated by computers that are called miners. Other participants pay these miners with something called gas. This is the unit by which a degree of difficulty of computational efforts is measured. It also defines the cost to run a contract. Different contract’s operations might require a different amount of gas which is then transferred in Ether.

Programming language: Solidity

Smart contract development for Ethereum

Smart contract

Published at DZone with permission of Tetiana Boichenko. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Iptables Basic Commands for Novice
  • Distributed SQL: An Alternative to Database Sharding
  • OpenID Connect Flows
  • Using the PostgreSQL Pager With MariaDB Xpand

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: