{"id":2725,"date":"2019-12-17T23:24:51","date_gmt":"2019-12-17T17:54:51","guid":{"rendered":"http:\/\/navveenbalani.dev\/?p=2725"},"modified":"2019-12-18T18:57:28","modified_gmt":"2019-12-18T13:27:28","slug":"smart-contract-current-and-future-perspective","status":"publish","type":"post","link":"https:\/\/navveenbalani.dev\/index.php\/articles\/smart-contract-current-and-future-perspective\/","title":{"rendered":"Smart Contract: Current and Future perspective"},"content":{"rendered":"\n<p>In this article, we will look at what applications are being developed using smart contracts, what are the current challenges and our view on the future of smart Contracts.<\/p>\n\n\n\n<p>First, let\u2019s understand the role of smart contract. Smart contract\ndefines and executes transactions in the form of a software code. It comprises\nof operations that act on the state of the blockchain ledger. So, the current\ncapability is to manipulate and view the state in the blockchain and ensure\nthat the shared ledger stays consistent across all the nodes in the network.&nbsp; <\/p>\n\n\n\n<p>If we decide to extend the behavior of smart contract beyond just\nmanipulating and retrieving the ledger state, like interacting with external\nsystems for data or a third-party service, then these new requirements or\nextensions can impose challenges that need to be addressed. To understand this\nin detail, let\u2019s take an example of a DApp, where there is a requirement to\nread data from a public website (say stock price or forecast) as part of the\nsmart contract functionality. Even if the data may not change in the future,\nhow can one verify and confirm that the data received is same, genuine and\nunaltered throughout the network. In such a scenario, we would need a\nthird-party system, which provides a transaction proof of the data that was\naccessed and retrieved at that moment. This third-party system providing\nsecured transactions and value is referred to as oracle in blockchain\nterminology. So instead of smart contract accessing the public feed, the oracles\nextract the information and push the data into the smart contract.<\/p>\n\n\n\n<p>Let\u2019s take another example of an existing business network or multiple\nnetworks, already having its own set of enterprise data maintained in a data\nstore like relational databases or some legacy systems. How it can leverage\nblockchain technology for trust, visibility and speedy settlement and how smart\ncontract can play a role here? Do we end up replacing legacy systems to make it\nwork with the blockchain network or do we find out a way to achieve consensus\non the existing enterprise data without replacing old systems? <\/p>\n\n\n\n<p>To understand this, let\u2019s take an example of a trade finance\napplication where multiple entities like banks (consortium of importer and\nexporter banks), shipment and logistic firms, custom\/port authorities, buyers\nand sellers &#8211; all maintaining their own respective systems. They are looking to\nform a consortium of a trade finance network with the objective to devise a\ncommon smart contract that can be made accessible and visible to all the\nentities along with enforcing trust and speedy settlement.<\/p>\n\n\n\n<p>In order to realize this use case, each system would need to provide\ntheir respective data in the form of attributes (we will refer to this as\nshared business attributes) which is essential for trade to happen. Think of\nshared business attributes as a common schema definition for a trade, where\neach entity owns and provides their respective data and make updates to it. The\nsmart contract would then be bootstrapped with shared business attributes from\neach system. Each entity based on where they are in the trade process, would\nmake necessary state changes to the smart contract and update the ledger and\ntheir respective backend systems. For example, once the goods are delivered,\nthe shipment vendor would need to update their backend system, say a SAP\napplication (for their actual processing and reporting). In order for the\nexternal application to receive data or attributes value via smart contract, it\nneeds to listen to the events generated from the blockchain network (say order\nreceived event) and accordingly make updates to their backend system.<\/p>\n\n\n\n<p>So, in a nutshell, the current generation of smart contracts and its\nuse cases would be around providing shared business attributes that will be\nvisible to all the concerned entities, while the rest of the functionality would\nstill happen in their respective systems (like SAP, CRM or Mainframe\nsystem).&nbsp; The smart contracts of today\nwould need to work in tandem with external systems, be it a SAP or a bank\nlegacy application and not to replace existing systems. <\/p>\n\n\n\n<p>In the future as blockchain platforms and smart contract technology\nevolves, we envision a seamless integration between smart contracts and the\nexternal systems. Most importantly the application integration should not break\nthe consensus and therefore there is a need to create a secured environment\n(using crypto materials) that can seamlessly communicate with external systems.\nWe will refer to this as an \u2018external contract container\u2019 responsible for\nintegrating with the outside world. As we dwell deeper into this integration\nscenario, it might also make sense that the \u2018external contract container\u2019\nshould not run on all the nodes. For example, the shipment entity or node\nupdating its SAP system need to happen only once and not by all the nodes\n(other participants of the blockchain network). So we are looking at only\ncertain nodes, which are authorized based on their roles, running the \u2018external\ncontract container\u2019 to communicate with external systems. We provided only one\nintegration scenario, but there would be many such integrations patterns\nemerging in the future.<\/p>\n\n\n\n<p>As you see the function of smart contract will evolve in future to\ncater to many such requirements, we are probably looking at the first\ngenerations of blockchain smart contract technology. We also envision new\nblockchain platforms with new consensus algorithms addressing external\napplication integration using smart contract technologies and many more\ninnovations in this space that will enable the business and consumer networks\nperform business with trust and transparency as part of next generation\ninternet applications.<\/p>\n\n\n\n<p>To conclude this section, the golden rule for any blockchain transaction is that it should be deterministic in nature. Using smart contracts allows us to manipulate the state in the blockchain in a consistent way. This is ideal for any use cases, which require shared visibility and trust across parties, where collaboration happens through an automated workflow and updates to the blockchain state is handled by smart contracts. <\/p>\n\n\n\n<p>Learn how to build Blockchain applications with my free course &#8211; <a href=\"https:\/\/www.udemy.com\/course\/building-blockchain-applications-using-ethereum-hyperledger-fabric\/\">https:\/\/www.udemy.com\/course\/building-blockchain-applications-using-ethereum-hyperledger-fabric\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will look at what applications are being developed using smart contracts, what are the current challenges and our view on the future of smart Contracts. First, let\u2019s understand the role of smart contract. Smart contract defines and executes transactions in the form of a software code. It comprises of operations that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2512,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,174],"tags":[286],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.0.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Smart Contract: Current and Future perspective - Current and Future Technology Trends by Navveen Balani<\/title>\n<meta name=\"description\" content=\"Smart Contract: Current and Future perspective - Articles\" \/>\n<link rel=\"canonical\" href=\"https:\/\/navveenbalani.dev\/index.php\/articles\/smart-contract-current-and-future-perspective\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Smart Contract: Current and Future perspective - Current and Future Technology Trends by Navveen Balani\" \/>\n<meta property=\"og:description\" content=\"Smart Contract: Current and Future perspective - Articles\" \/>\n<meta property=\"og:url\" content=\"https:\/\/navveenbalani.dev\/index.php\/articles\/smart-contract-current-and-future-perspective\/\" \/>\n<meta property=\"og:site_name\" content=\"Current and Future Technology Trends by Navveen Balani\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-17T17:54:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-12-18T13:27:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/navveenbalani.dev\/wp-content\/uploads\/2017\/11\/motivation.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"534\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"5 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/navveenbalani.dev\/#website\",\"url\":\"https:\/\/navveenbalani.dev\/\",\"name\":\"Current and Future Technology Trends by Navveen Balani\",\"description\":\"Current and Future Technology Trends by Navveen Balani\",\"publisher\":{\"@id\":\"https:\/\/navveenbalani.dev\/#\/schema\/person\/51f7ab14b20611d95e3c7fd4ea0950bf\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/navveenbalani.dev\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/smart-contract-current-and-future-perspective\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/navveenbalani.dev\/wp-content\/uploads\/2017\/11\/motivation.jpg\",\"width\":800,\"height\":534},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/smart-contract-current-and-future-perspective\/#webpage\",\"url\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/smart-contract-current-and-future-perspective\/\",\"name\":\"Smart Contract: Current and Future perspective - Current and Future Technology Trends by Navveen Balani\",\"isPartOf\":{\"@id\":\"https:\/\/navveenbalani.dev\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/smart-contract-current-and-future-perspective\/#primaryimage\"},\"datePublished\":\"2019-12-17T17:54:51+00:00\",\"dateModified\":\"2019-12-18T13:27:28+00:00\",\"description\":\"Smart Contract: Current and Future perspective - Articles\",\"breadcrumb\":{\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/smart-contract-current-and-future-perspective\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/navveenbalani.dev\/index.php\/articles\/smart-contract-current-and-future-perspective\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/smart-contract-current-and-future-perspective\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/navveenbalani.dev\/\",\"url\":\"https:\/\/navveenbalani.dev\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/smart-contract-current-and-future-perspective\/\",\"url\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/smart-contract-current-and-future-perspective\/\",\"name\":\"Smart Contract: Current and Future perspective\"}}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/smart-contract-current-and-future-perspective\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/smart-contract-current-and-future-perspective\/#webpage\"},\"author\":{\"@id\":\"https:\/\/navveenbalani.dev\/#\/schema\/person\/51f7ab14b20611d95e3c7fd4ea0950bf\"},\"headline\":\"Smart Contract: Current and Future perspective\",\"datePublished\":\"2019-12-17T17:54:51+00:00\",\"dateModified\":\"2019-12-18T13:27:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/smart-contract-current-and-future-perspective\/#webpage\"},\"publisher\":{\"@id\":\"https:\/\/navveenbalani.dev\/#\/schema\/person\/51f7ab14b20611d95e3c7fd4ea0950bf\"},\"image\":{\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/smart-contract-current-and-future-perspective\/#primaryimage\"},\"keywords\":\"blockchain-guide\",\"articleSection\":\"Articles,Blockchain\",\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/navveenbalani.dev\/#\/schema\/person\/51f7ab14b20611d95e3c7fd4ea0950bf\",\"name\":\"Navveen\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/navveenbalani.dev\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/navveenbalani.dev\/wp-content\/uploads\/2019\/07\/navveen_balani.jpeg\",\"width\":200,\"height\":200,\"caption\":\"Navveen\"},\"logo\":{\"@id\":\"https:\/\/navveenbalani.dev\/#personlogo\"},\"sameAs\":[\"http:\/\/naveenbalani.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/posts\/2725"}],"collection":[{"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/comments?post=2725"}],"version-history":[{"count":3,"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/posts\/2725\/revisions"}],"predecessor-version":[{"id":2755,"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/posts\/2725\/revisions\/2755"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/media\/2512"}],"wp:attachment":[{"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/media?parent=2725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/categories?post=2725"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/tags?post=2725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}