How Smart Contract arbitration works

Smart Contract arbitration is a must-have for every Smart Contract used in serious business relationships. CodeLegit has found a solution to automate the access to arbitrators.

Smart Contracts are becoming business-ready

Every real-life relationship between two or more parties contains a source for conflicts or midunderstandings. Where a Smart Contract shall be used to map real-life relationships, those Smart Contracts must be ready to cope with such conflicts. The times are over where software developers believed in the community to solve problems by praying for hard forks. Companies which use Smart Contracts for their daily business require a reliable solution in case conflicts arise.

CodeLegit arbitration library helps solving conflicts

But how can our library help solve conflicts? The follwing sketch shows that the library implements a grace period in the code of the Smart Contract. This grace period pauses the execution of the Smart Contract for a given period of time. Should no party object, the Smart Contract finalizes its execution. Should, however, a party raise an objection, the case is forwarded to an arbitrator, together with all the relevant information (we will explain separately how we do that). Afterwards, the arbitrator decides on the case and the Smart Contract continues its execution, guided by the decision of the arbitrator. During the time the arbitrator decides on the case, the execution of the Smart Contract is also paused. The pausing mechanism important to understand, because only the pause prevents the Smart Contract from creating accomplished facts (remember that rescinding Smart Contracts is even more complicated).

How the arbitration library works

CodeLegit arbitration library is completely configurable

Am I as a company limited in my Smart Contract design when using the library? Not at all. The library contains various configuration parameters and can be adapted to the personal needs of the respective relationship. The above sketch only shows one possible path which may be a very common one.

Read in our next blog post how to agree upon a legal arbitration clause when using CodeLegit’s arbitration library.

Arbitration Library In Smart Contracts Is A Must-Have

Smart Contracts are used to provide certain services which have been agreed upon between two or more contract parties. Arbitration libraries used within those Smart Contracts enable the parties to react on unexpected and unpredictable events.

Bugs in Smart Contracts lead to loss of money

Many businesses recently discovered the advantages of Smart Contracts running on blockchains. From insurances (e.g. B3i) to supply chains (e.g. Project Manifest) to third world development projects (e.g. Building Blocks of UN WFP), all of those shareholders face the risk that the code of Smart Contracts contains bug. Bugs in Smart Contract code lead to false performances which means that at least one party is in breach of the legal contract agreed upon. The short history of Smart Contracts already taught us that bugs in Smart Contracts code can lead to severe damages (e.g.  TheDAO). This means that unlike in other software, bugs in Smart Contracts regularly lead to a direct loss of money!

No code is bug-free

It is an unwritten law of developers that software is never bug-free. Even where the code is that simple and obviously does not contain a bug, bugs may still occur in the compiler algorithm or in interfaces with other software. Whereas people estimate that the 10 million lines of code of Windows 95 contain up to 200,000 bugs (you certainly know), and a single bug in the Smart Contract context suffices to lose money, one may raise the question how a Smart Contract developer can still sleep well (we will teach how to sleep better in a separate blog post).

Smart Contract arbitration allows for flexible changes in Smart Contract performance

One approach to mitigate risks is an intensive code testing which Codelegit proposes to its clients. A supplementary way which helps to find solutions in case a bug occurs is provided by the Codelegit arbitration library. This arbitration library enables the parties to achieve the following:

  1. Agree upon arbitration rules and an arbitration court which Smart Contract expertise;
  2. Enable the parties to pause the performance of their Smart Contract in case a party identifies a bug or another severe event.

Codelegit arbitration library mitigates risks

The Codelegit arbitration library should be used in any Smart Contract. Where no bug occurs in the Smart Contract performance, the library does not show up. But whenever an unexpected event happens, the arbitration library gives the parties the chance to solve the problem without leaving the digital world and without filing lawsuits at an analog, ordinary court.