Bitcoin Forum
June 24, 2024, 01:48:37 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Hybrid Smart Contracts based on Hyperledger's Fabric | an experiment  (Read 817 times)
JollyTrades (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 500



View Profile
March 30, 2017, 01:43:51 AM
Last edit: March 30, 2017, 02:21:46 AM by JollyTrades
 #1


Hello everyone,

I am Jian Jolly, managing director of Bitkapital, and CBDO of The Blockchain Brokerage. There have been many blockchain use cases I have had in mind for some time, and with the recent active release of Hyperledger’s Fabric, I thought that I might just create a private blockchain to make some experimental attempts on top of it. When I told about this to my colleagues, they asked me to make of this a public project where everyone could benefit from, observe, and contribute to the chain, which sounded to me like a suggestion completely in line with the spirit of the open culture. There we go.

The applications we will be testing are all based on one pivotal concept; hybrid smart contracts. It is basically to take out everything from decentralized smart contracts that could as well be done by centralized methods without harming arguably any of the core values of decentralization, i.e., security, auditability, transparency and immutability. This is not meant to be a detailed technical whitepaper, so I’ll be contented with turning to an example to illustrate what it will look like.

A great application based on an introductory version of this concept is employed by Lykke the semi-centralized digital asset exchange. Simply put, what Lykke does is centralized order matching combined with decentralized settlement of trades. Why do we need centralized order matching? Because it’s extremely fast and scalable! You would normally need at least about 10 minutes to get one confirmation with Bitcoin. This may be very convenient to settle money transfers, but when it comes to decentralized applications, transaction finalization time becomes a larger issue. With Ethereum, for instance, we have blocks with above 10-second intervals. On the other hand, Lykke could execute trades in milliseconds.

Now, what I’m saying is, wouldn’t it be nice to have a platform for everyone to build their own “semi-centralized” applications? I envisage this as a platform with enterprise-grade built-in security measures for the centralized parts, where all the user has to do is to click and install a container to build the applications within. So, it will be the generalization of the idea which Lykke has at its core. But indeed, there’s more to it. While Lykke has the concept of “semi-centralization,” I propose to have “hybrid smart contracts.” It means that the needed parts will still be executed in a totally decentralized way, for instance, the atomicity of the trade orders.

Why is this model superior to the currently prevailing way of understanding smart contracts? Because, as I said, it allows a level of scalability which could only be achieved by centralized solutions. And why is this model superior to doing things in a thoroughly centralized manner? Because the contract participants will still be unharmed in case of a failure or a malicious attempt. Besides, everything will be on a non-permissioned public blockchain so that each and every action taken by the centralized parts will be open for inspection by anyone.

What’s more, what I have been calling “the centralized parts” is not actually designed to work in a centralized way, but as running a distributed application! Thus, there will not be one but a few servers sharing the load. Those servers will each have a key of a multisignature wallet, and the execution will be finalized after enough number of signatures are provided. Hence we reach the concept of hybrid smart contracts, the best of both worlds in decentralized applications.

The above was just an overview of the idea, which has a lot more details and embellishments.

Summary

The idea is to centralize some parts of blockchain smart contracts to benefit from the power of centralized solutions, only to the extent that the centralized parts may give no harm to the decentralized nature of the overall process. This will bring ultimately fast and scalable smart contracts that will allow enterprise applications on blockchain. Hyperledger’s Fabric will be used as the blockchain infrastructure. The attempt is completely experimental and mainly for testing/prototyping purposes, although chances are it turns out to be the next big thing, or at least the first step towards that.

Initial Coin Distribution

I plan on making a small funding round for the initial distribution of the core token of the platform, which will be used to pay fees therein. The details are to come, if I observe enough interest.
JollyTrades (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 500



View Profile
March 30, 2017, 01:44:17 AM
 #2

Reserved.
obstinatekittens
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
March 30, 2017, 01:45:42 AM
 #3

Reserved.
A new project from JianJolly?! Where do I sign up?!

How is BitKapital coming along Jian?!
iamnotback
Sr. Member
****
Offline Offline

Activity: 336
Merit: 265



View Profile
March 30, 2017, 02:01:51 AM
 #4

The token and the blockchain is only relevant to the decentralized portion of the validation logic. The centralized portion is orthogonal to blockchain. Thus it doesn't justify making a new blockchain and token. It could just as well be done on top of Ethereum or other blockchain with more economies-of-scale adoption.

Everyone making their own blockchain and/or token just so they can make their own ICO is silly. But our ecosystem is silly sometimes, so maybe you should try.
JollyTrades (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 500



View Profile
April 03, 2017, 10:29:55 AM
 #5

Seems like there's so little interest. I'll keep the experiment private, then. If anyone would like to test out how Fabric would do as a public blockchain, shoot me a PM.
rickadone
Legendary
*
Offline Offline

Activity: 1176
Merit: 1024



View Profile
April 04, 2017, 10:55:11 AM
 #6

I didn’t know the Director of Bitkapital was not Turkish. Since it is a Turkish bitcoin-fiat currency exchange I thought someone turkish started the business themselves. It was a surprise to see Jian Jolly was the director of it.

Not that its important but it feels better to know the director is person who is known in the bitcoin community. Keep up the good work and try to add altcoins there as well hopefully.
Quartx
Hero Member
*****
Offline Offline

Activity: 1036
Merit: 504


Becoming legend, but I took merit to the knee :(


View Profile WWW
April 04, 2017, 11:20:28 AM
 #7

I played with IBM's hyperledger fabric proposal last november and was really surprised how quick it was to set up a fabric with vagrant at that time. Contracts utilizing the chain code was easily to write and verify too, and supports multiple languages too, not sure what changes have been made to its final production version, the enhanced security features looks interesting too. I hope you get more interest in your experiment!

JollyTrades (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 500



View Profile
April 04, 2017, 07:47:31 PM
 #8

I didn’t know the Director of Bitkapital was not Turkish. Since it is a Turkish bitcoin-fiat currency exchange I thought someone turkish started the business themselves. It was a surprise to see Jian Jolly was the director of it.

Not that its important but it feels better to know the director is person who is known in the bitcoin community. Keep up the good work and try to add altcoins there as well hopefully.

Hi Rickadone,

I am Turkish. My legal name is Zühtücan Soysal.

Best,

Jian
JollyTrades (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 500



View Profile
April 05, 2017, 11:13:33 AM
 #9

I played with IBM's hyperledger fabric proposal last november and was really surprised how quick it was to set up a fabric with vagrant at that time. Contracts utilizing the chain code was easily to write and verify too, and supports multiple languages too, not sure what changes have been made to its final production version, the enhanced security features looks interesting too. I hope you get more interest in your experiment!

With a Bluemix cloud server, it takes less than a minute to deploy a blockchain. Those developments raise the bar of quality and makes it even harder to hope for enterprise adoption of public blockchains.


I'd like to get a branch open in the Netherlands how do I go about this?

So it means you will be competing in the eurozone, for which you need to have a state-of-the-art go-to-market strategy. Shoot me your executive summary for me to see if I may be of any help.

Best,

Jian
yakoff
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
August 26, 2017, 05:56:02 PM
 #10

I interested in
JollyTrades (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 500



View Profile
August 30, 2017, 10:33:07 PM
 #11

I interested in

Thank you very much, but after running a few private experiments with Sawtooth, Fabric, Chain and Monax, I think I am done with that. I believe the ecosystem needs to be more mature for these kinds of developments to make sense.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!