{"id":2155,"date":"2019-12-16T13:05:04","date_gmt":"2019-12-16T12:05:04","guid":{"rendered":"https:\/\/www.codemotion.com\/magazine\/uncategorized\/blockchain-algorand-layer-1-policy\/"},"modified":"2020-12-28T11:35:44","modified_gmt":"2020-12-28T10:35:44","slug":"blockchain-algorand-layer-1-policy","status":"publish","type":"post","link":"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/","title":{"rendered":"Algorand&#8217;s &#8220;Layer-1 policy&#8221; can surpass state-of-the-art Blockchain solutions"},"content":{"rendered":"<p><strong>First generation Blockchain<\/strong> solutions handled a reliable quasi-anonymous payment service between two network IDs. The next evolutionary step was the definition of <strong>smart contracts<\/strong>: adding a programmable engine (a general-purpose <span id=\"urn:batch-analysis-9c35d272-b080-4e69-965d-4666164cd1de\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/virtual_machine\">Virtual Machine<\/span>) to the Blockchain node enabled a lot of innovative services (like digital currency trading), and an easier way of coding some high-level housekeeping functions.<\/p>\n<p>In the end, most state-of-the-art Blockchain solutions are now composed of <strong>a first layer<\/strong>, implementing basic payment functions, and by a general-purpose <span id=\"urn:batch-analysis-6807cdbe-82bd-4d12-aa68-0685e883099e\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/virtual_machine\">Virtual Machine<\/span> as <strong>a second layer<\/strong> for running the smart-contract <span id=\"urn:batch-analysis-849db443-d590-4921-96ea-4ca0412f547e\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/cogito_software\">software<\/span>, i.e. all value-added applications.<\/p>\n<p>However, <strong>this two-layered approach creates problems<\/strong> as well as solutions.<\/p>\n<p>The <span id=\"urn:batch-analysis-88ccf1d6-7560-4f6a-a16f-3fcfc4027d6b\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/virtual_machine\">Virtual Machine<\/span> used to run smart contracts must be painstakingly defined in all its <span id=\"urn:batch-analysis-5f6e20c9-f338-4815-8424-680309d8cf9d\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/feature_machine_learning\">features<\/span>, implemented and security-proofed in order to guarantee that there are no weak points remaining in the code. While a similar process must be used in developing smart contract based software, the end result is that <strong>all the functions implemented by Layer-2 will be inherently slower and less secure than those implemented by Layer-1<\/strong>.<\/p>\n<p><strong>Algorand<\/strong>&#8216;s decision to implement a <strong>rich set of services at Layer-1<\/strong> avoids the <span id=\"urn:batch-analysis-d4a8114f-7776-4bf9-ba65-e443c990481d\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/complexity\">complexities<\/span>, expense, and security risks of a two-layer architecture, and guarantees that second-generation services will share the same <span id=\"urn:batch-analysis-7f89f5f7-609f-43ab-a0ca-92d87ef85a7c\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/security\">security<\/span>, efficiency, and atomicity of a single-payment transaction.<\/p>\n<p>The <span id=\"urn:batch-analysis-36b5573a-658f-4932-a0bf-58579a1fa6b5\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/strategy\">strategy<\/span> underpinning Algorand&#8217;s new release (<strong>Algorand 2.0<\/strong>) is based on <strong>three Layer-1 implementations<\/strong>:<\/p>\n<ul>\n<li><strong>A<\/strong>lgorand <strong>S<\/strong>tandard <strong>A<\/strong>ssets (<strong>ASA<\/strong>s)<\/li>\n<li><strong>A<\/strong>tomic <strong>T<\/strong>ransactions (<strong>AT<\/strong>s)<\/li>\n<li><strong>A<\/strong>lgorand&#8217;s <strong>S<\/strong>mart <strong>C<\/strong>ontracts (<strong>ASC1<\/strong>s)<\/li>\n<\/ul>\n<h2 id=\"c7un8\">Feature # 1: Algorand Standard Assets (ASAs)<\/h2>\n<p><strong>Algorand Standard Assets (ASAs) <\/strong>enable the tokenisation and issuance of any type of asset on the Algorand Blockchain, in a standardized manner. The following behaviours are supported:<\/p>\n<ul>\n<li><strong>fungible assets<\/strong>: currencies, stablecoins, and utility tokens<\/li>\n<li><strong>non-fungible assets<\/strong>: a digital collectible, a concert ticket, a single piece of jewelry (also known as ERC-721 tokens on the <strong>Ethereum Blockchain<\/strong>)<\/li>\n<li><strong>restricted fungible assets<\/strong>: securities and security tokens<\/li>\n<li><strong>restricted non-fungible assets<\/strong>: licenses and certifications<\/li>\n<\/ul>\n<p><strong>Fungibility<\/strong> is the ability of a good or asset to be exchanged with other individual goods or assets of the same type. The trade process for fungible assets is as simple as updating balances, but the <span id=\"urn:batch-analysis-13de9a79-d069-4fa2-a342-5e97dae7c0ea\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/complexity\">complexity<\/span> increases when non-fungible assets come into play. Assets can also be restricted to a single person or can be made available &#8220;to bearer&#8221;: Algorand supports all four combinations alongside the <strong>Algo<\/strong>, the standard unit of accounting on the Algorand Blockchain.<\/p>\n<h2 id=\"fc26\">Feature #2 &#8211; Atomic Transfers (ATs)<\/h2>\n<p><strong>Atomic Transfers (ATs) <\/strong>offer a fast, low cost, and secure way to simultaneously transfer a number of assets (<em>fungible tokens<\/em>) among multiple parties. This happens in day-to-day scenarios like:<\/p>\n<ul>\n<li>operating <strong>trades without trusted intermediaries<\/strong> (decentralized exchanges)<\/li>\n<li><strong>group payments<\/strong>: either everyone pays or no one does<\/li>\n<li><strong>payments to multiple recipients<\/strong><\/li>\n<\/ul>\n<p>In the traditional economy, settling happens by having all parties sign a contract and deposit their assets into an escrow account. Once all assets have been deposited, they are distributed to their new owners and the transaction is settled. if some parties default on their obligations, the transaction is declared null and void and all deposited assets are returned to their original owners.<\/p>\n<p>Atomic transfers are to some degree an extension of the so-called <strong>ACID properties of transactions<\/strong>: <strong>A<\/strong>tomicity, <strong>C<\/strong>onsistency, <strong>I<\/strong>solation, <strong>D<\/strong>urability.<\/p>\n<p>Previous implementations on the Blockchain required <strong>big coding efforts<\/strong>: <span id=\"urn:batch-analysis-986414db-8ef8-4016-996b-fe34cc081b54\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/programmer\">programmers<\/span> needed to add a deadline for each transfer to end (hashed time-lock) and to handle each and every case of default. Apart from problems in testing the contract structure (e.g., trying to validate a circular transaction), this technique impacted badly on the <strong>overall <span id=\"urn:batch-analysis-3948fcb5-88f5-458e-bfd0-01b8f96fc67c\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/performance\">performance<\/span> of the Blockchain<\/strong> and transactions couldn&#8217;t happen at the same instant.<\/p>\n<p>The new implementation allows individual transactions to be prepared and saved into individual files. These are combined into a single file, and the signing phase begins: each transaction will be individually signed by the keys of the relevant parties. After all the transactions have been signed, the file is then submitted to the network and will end up on a node for processing. After verifying all the transactions (the group transaction will fail if any of the component transactions fail) the node submits all transactions at the same instant.<\/p>\n<h2 id=\"1bh3d\">Feature #3 &#8211; Algorand Smart Contracts<\/h2>\n<p><strong>Algorand Smart Contracts (ASC1)<\/strong> are stateless smart contracts that manage transactions (involving Algos or Algorand Standard Assets) at Layer-1 via <strong>simplified scripting templates<\/strong>.<\/p>\n<p>From a software viewpoint, smart contracts are user-defined programs that can be run on the Blockchain nodes and which enforce transaction rules (the logic governing the transfer of assets) for custom use-cases. As discussed above, coding a smart contract is fairly easy but <strong>testing and security proofing<\/strong> it are not.<\/p>\n<p><strong>Template-driven development activity facilitates code reusability and lowers costs and risk<\/strong> in the process of testing and proofing smart contracts. <span id=\"urn:batch-analysis-0ed5931a-71de-4efb-8602-8a03a21369f7\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/programmer\">Programmers<\/span> can focus on application-relevant facts as the templates greatly simplify the coding effort. Among the everyday scenarios already supported by ASC1 templates, we find common business processes, such as:<\/p>\n<ul>\n<li>delegation of signature authority to another person (<strong>proxy authority<\/strong>)<\/li>\n<li>compiling and signing a contract for others to submit on your behalf (<strong>delegation<\/strong>)<\/li>\n<li>set up of an escrow-style account with additional logic governing when tokens or assets are removed from the escrow (<strong>settling<\/strong>)<\/li>\n<li>on signature, produce a new contract account with additional logic governing both funding and expenses (<strong>crowdfunding<\/strong>)<\/li>\n<\/ul>\n<p>The template-driven development environment supports <strong>four high-level languages<\/strong>: <strong>GO<\/strong>, <strong><span id=\"urn:batch-analysis-2f498af3-81ce-4999-bd41-fb9971e9ce55\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/java\">Java<\/span><\/strong>, <strong><span id=\"urn:batch-analysis-e00c086b-fa1a-486f-afbd-82404f46d8d5\" class=\"textannotation disambiguated wl-no-link wl-creative work\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/javascript\">JavaScript<\/span><\/strong> and <strong>Python<\/strong>.<\/p>\n<p>Besides these, the original implementation language of the <em>Transaction Execution Approval Language<\/em> (<strong>TEAL<\/strong>) is also available to developers.<\/p>\n<p><strong>Algorand&#8217;s TEAL <\/strong>is the scripting language used to program Algorand Smart Contracts. This marks a radical departure from the general-purpose <span id=\"urn:batch-analysis-f6c2ba4f-667d-486b-924c-68acee3ec024\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/virtual_machine\">Virtual Machines<\/span> that power traditional Blockchain solutions: there is no guarantee that a program running on a general-purpose <span id=\"urn:batch-analysis-ff4d8545-0608-43f8-a380-6fef294ef526\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/virtual_machine\">Virtual Machine<\/span> will ever stop.<\/p>\n<p>TEAL&#8217;s stack-based assembly language allows only forward branches thus preventing recursive logic: it belongs to the family of <strong>&#8220;non-Turing complete&#8221; languages<\/strong>.<\/p>\n<p>All programs that can be written in a non-Turing complete language will stop after a finite number of steps &#8211; a useful <span id=\"urn:batch-analysis-656891d5-3703-494f-a32b-ee1082e45e61\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/feature_machine_learning\">feature<\/span> for testing and proofing smart contracts.<\/p>\n<p>TEAL supports access to all previously described Layer-1 functionalities, and will surely mark a huge improvement in smart contract development.<\/p>\n<p>Developers will appreciate Algorand&#8217;s effort in making the latest developments in Blockchain technology available. Solutions can be developed in the environment of their choice: the <strong>MainNet<\/strong> (where Algo and real assets are traded), the <strong>TestNet<\/strong> (a <strong>sandbox<\/strong> where applications can be tested in realistic network conditions) and the <strong>BetaNet<\/strong> (where the newest <span id=\"urn:batch-analysis-91def5b7-479e-4d54-9135-380223de549b\" class=\"textannotation disambiguated wl-no-link wl-other\" itemid=\"http:\/\/data.wordlift.io\/wl01770\/entity\/feature_machine_learning\">features<\/span> are made available before their effective release). Private networks can also easily be configured and operated to create protected developing environments.<\/p>\n<p><!-- strchf script --><script>        if(window.strchfSettings === undefined) window.strchfSettings = {};    window.strchfSettings.stats = {url: \"https:\/\/codemotion.storychief.io\/blockchain-algorand-layer-1-policy?id=892467110&type=2\",title: \"Algorand&#039;s &quot;Layer-1 policy&quot; can surpass state-of-the-art Blockchain solutions\",id: \"66543c6c-96d5-4792-a44b-49339654b7a1\"};            (function(d, s, id) {      var js, sjs = d.getElementsByTagName(s)[0];      if (d.getElementById(id)) {window.strchf.update(); return;}      js = d.createElement(s); js.id = id;      js.src = \"https:\/\/d37oebn0w9ir6a.cloudfront.net\/scripts\/v0\/strchf.js\";      js.async = true;      sjs.parentNode.insertBefore(js, sjs);    }(document, 'script', 'storychief-jssdk'))    <\/script><!-- End strchf script --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most state-of-the-art Blockchain solutions are composed by a first layer, implementing basic payment functions, and a second layer for running smart-contracts. But this two-layered approach carries problems as well as solutions. Algorand&#8217;s decision of implementing a rich set of services at Layer-1 avoids the complexities, expense, and security risks of a two-layer architecture.<\/p>\n","protected":false},"author":88,"featured_media":2156,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_editorskit_title_hidden":false,"_editorskit_reading_time":0,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","_uag_custom_page_level_css":"","_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[13],"tags":[],"collections":[],"class_list":{"0":"post-2155","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-blockchain","8":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Blockchain: Algorand&#039;s Layer-1 policy - Codemotion Magazine<\/title>\n<meta name=\"description\" content=\"Blockchain solutions are usually composed of two layers. Algorand proposes the implementation of a rich set of services at Layer-1.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Algorand&#039;s &quot;Layer-1 policy&quot; can surpass state-of-the-art Blockchain solutions\" \/>\n<meta property=\"og:description\" content=\"Blockchain solutions are usually composed of two layers. Algorand proposes the implementation of a rich set of services at Layer-1.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/\" \/>\n<meta property=\"og:site_name\" content=\"Codemotion Magazine\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Codemotion.Italy\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-16T12:05:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-28T10:35:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1089\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Rosa Giovanna Barresi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodemotionIT\" \/>\n<meta name=\"twitter:site\" content=\"@CodemotionIT\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rosa Giovanna Barresi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/backend\\\/blockchain\\\/blockchain-algorand-layer-1-policy\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/backend\\\/blockchain\\\/blockchain-algorand-layer-1-policy\\\/\"},\"author\":{\"name\":\"Rosa Giovanna Barresi\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#\\\/schema\\\/person\\\/b9d4815572543be672785b2699f7422e\"},\"headline\":\"Algorand&#8217;s &#8220;Layer-1 policy&#8221; can surpass state-of-the-art Blockchain solutions\",\"datePublished\":\"2019-12-16T12:05:04+00:00\",\"dateModified\":\"2020-12-28T10:35:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/backend\\\/blockchain\\\/blockchain-algorand-layer-1-policy\\\/\"},\"wordCount\":1091,\"publisher\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/backend\\\/blockchain\\\/blockchain-algorand-layer-1-policy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000.jpg\",\"articleSection\":[\"Blockchain\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/backend\\\/blockchain\\\/blockchain-algorand-layer-1-policy\\\/\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/backend\\\/blockchain\\\/blockchain-algorand-layer-1-policy\\\/\",\"name\":\"Blockchain: Algorand's Layer-1 policy - Codemotion Magazine\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/backend\\\/blockchain\\\/blockchain-algorand-layer-1-policy\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/backend\\\/blockchain\\\/blockchain-algorand-layer-1-policy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000.jpg\",\"datePublished\":\"2019-12-16T12:05:04+00:00\",\"dateModified\":\"2020-12-28T10:35:44+00:00\",\"description\":\"Blockchain solutions are usually composed of two layers. Algorand proposes the implementation of a rich set of services at Layer-1.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/backend\\\/blockchain\\\/blockchain-algorand-layer-1-policy\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/backend\\\/blockchain\\\/blockchain-algorand-layer-1-policy\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/backend\\\/blockchain\\\/blockchain-algorand-layer-1-policy\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000.jpg\",\"contentUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000.jpg\",\"width\":1089,\"height\":675,\"caption\":\"Algorand's \\\"Layer-1 policy\\\" can surpass state-of-the-art Blockchain solutions\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/backend\\\/blockchain\\\/blockchain-algorand-layer-1-policy\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Backend\",\"item\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/backend\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Blockchain\",\"item\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/backend\\\/blockchain\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Algorand&#8217;s &#8220;Layer-1 policy&#8221; can surpass state-of-the-art Blockchain solutions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#website\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/\",\"name\":\"Codemotion Magazine\",\"description\":\"We code the future. Together\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#organization\",\"name\":\"Codemotion\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/codemotionlogo.png\",\"contentUrl\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/codemotionlogo.png\",\"width\":225,\"height\":225,\"caption\":\"Codemotion\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Codemotion.Italy\\\/\",\"https:\\\/\\\/x.com\\\/CodemotionIT\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/#\\\/schema\\\/person\\\/b9d4815572543be672785b2699f7422e\",\"name\":\"Rosa Giovanna Barresi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/116fde43bb0003b022ca9ed8b9f8bef5575cd1c35b1e6d9756a618980d7035a2?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/116fde43bb0003b022ca9ed8b9f8bef5575cd1c35b1e6d9756a618980d7035a2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/116fde43bb0003b022ca9ed8b9f8bef5575cd1c35b1e6d9756a618980d7035a2?s=96&d=mm&r=g\",\"caption\":\"Rosa Giovanna Barresi\"},\"description\":\"Raising awareness in the legal profession about innovation, especially about Digital Ledger Technologies and Digital Assets. As a tech lawyer, I analyze legal frameworks for existing DLT solutions and suggest legislative paths for the diffusion of the digital culture.\",\"url\":\"https:\\\/\\\/www.codemotion.com\\\/magazine\\\/author\\\/rosa-giovanna-barresi\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Blockchain: Algorand's Layer-1 policy - Codemotion Magazine","description":"Blockchain solutions are usually composed of two layers. Algorand proposes the implementation of a rich set of services at Layer-1.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/","og_locale":"en_US","og_type":"article","og_title":"Algorand's \"Layer-1 policy\" can surpass state-of-the-art Blockchain solutions","og_description":"Blockchain solutions are usually composed of two layers. Algorand proposes the implementation of a rich set of services at Layer-1.","og_url":"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/","og_site_name":"Codemotion Magazine","article_publisher":"https:\/\/www.facebook.com\/Codemotion.Italy\/","article_published_time":"2019-12-16T12:05:04+00:00","article_modified_time":"2020-12-28T10:35:44+00:00","og_image":[{"width":1089,"height":675,"url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000.jpg","type":"image\/jpeg"}],"author":"Rosa Giovanna Barresi","twitter_card":"summary_large_image","twitter_creator":"@CodemotionIT","twitter_site":"@CodemotionIT","twitter_misc":{"Written by":"Rosa Giovanna Barresi","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/#article","isPartOf":{"@id":"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/"},"author":{"name":"Rosa Giovanna Barresi","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/b9d4815572543be672785b2699f7422e"},"headline":"Algorand&#8217;s &#8220;Layer-1 policy&#8221; can surpass state-of-the-art Blockchain solutions","datePublished":"2019-12-16T12:05:04+00:00","dateModified":"2020-12-28T10:35:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/"},"wordCount":1091,"publisher":{"@id":"https:\/\/www.codemotion.com\/magazine\/#organization"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000.jpg","articleSection":["Blockchain"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/","url":"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/","name":"Blockchain: Algorand's Layer-1 policy - Codemotion Magazine","isPartOf":{"@id":"https:\/\/www.codemotion.com\/magazine\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/#primaryimage"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000.jpg","datePublished":"2019-12-16T12:05:04+00:00","dateModified":"2020-12-28T10:35:44+00:00","description":"Blockchain solutions are usually composed of two layers. Algorand proposes the implementation of a rich set of services at Layer-1.","breadcrumb":{"@id":"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/#primaryimage","url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000.jpg","contentUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000.jpg","width":1089,"height":675,"caption":"Algorand's \"Layer-1 policy\" can surpass state-of-the-art Blockchain solutions"},{"@type":"BreadcrumbList","@id":"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/blockchain-algorand-layer-1-policy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.codemotion.com\/magazine\/"},{"@type":"ListItem","position":2,"name":"Backend","item":"https:\/\/www.codemotion.com\/magazine\/backend\/"},{"@type":"ListItem","position":3,"name":"Blockchain","item":"https:\/\/www.codemotion.com\/magazine\/backend\/blockchain\/"},{"@type":"ListItem","position":4,"name":"Algorand&#8217;s &#8220;Layer-1 policy&#8221; can surpass state-of-the-art Blockchain solutions"}]},{"@type":"WebSite","@id":"https:\/\/www.codemotion.com\/magazine\/#website","url":"https:\/\/www.codemotion.com\/magazine\/","name":"Codemotion Magazine","description":"We code the future. Together","publisher":{"@id":"https:\/\/www.codemotion.com\/magazine\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.codemotion.com\/magazine\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.codemotion.com\/magazine\/#organization","name":"Codemotion","url":"https:\/\/www.codemotion.com\/magazine\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/logo\/image\/","url":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/codemotionlogo.png","contentUrl":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/11\/codemotionlogo.png","width":225,"height":225,"caption":"Codemotion"},"image":{"@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Codemotion.Italy\/","https:\/\/x.com\/CodemotionIT"]},{"@type":"Person","@id":"https:\/\/www.codemotion.com\/magazine\/#\/schema\/person\/b9d4815572543be672785b2699f7422e","name":"Rosa Giovanna Barresi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/116fde43bb0003b022ca9ed8b9f8bef5575cd1c35b1e6d9756a618980d7035a2?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/116fde43bb0003b022ca9ed8b9f8bef5575cd1c35b1e6d9756a618980d7035a2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/116fde43bb0003b022ca9ed8b9f8bef5575cd1c35b1e6d9756a618980d7035a2?s=96&d=mm&r=g","caption":"Rosa Giovanna Barresi"},"description":"Raising awareness in the legal profession about innovation, especially about Digital Ledger Technologies and Digital Assets. As a tech lawyer, I analyze legal frameworks for existing DLT solutions and suggest legislative paths for the diffusion of the digital culture.","url":"https:\/\/www.codemotion.com\/magazine\/author\/rosa-giovanna-barresi\/"}]}},"featured_image_src":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000-600x400.jpg","featured_image_src_square":"https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000-600x600.jpg","author_info":{"display_name":"Rosa Giovanna Barresi","author_link":"https:\/\/www.codemotion.com\/magazine\/author\/rosa-giovanna-barresi\/"},"uagb_featured_image_src":{"full":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000.jpg",1089,675,false],"thumbnail":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000-150x150.jpg",150,150,true],"medium":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000-300x186.jpg",300,186,true],"medium_large":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000-768x476.jpg",768,476,true],"large":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000-1024x635.jpg",1024,635,true],"1536x1536":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000.jpg",1089,675,false],"2048x2048":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000.jpg",1089,675,false],"small-home-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000.jpg",100,62,false],"sidebar-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000-180x128.jpg",180,128,true],"genesis-singular-images":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000-896x504.jpg",896,504,true],"archive-featured":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000-400x225.jpg",400,225,true],"gb-block-post-grid-landscape":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000-600x400.jpg",600,400,true],"gb-block-post-grid-square":["https:\/\/www.codemotion.com\/magazine\/wp-content\/uploads\/2019\/12\/Blockchain_Black_1163e9f1391131a5fc18b1c84de45bc9_2000-600x600.jpg",600,600,true]},"uagb_author_info":{"display_name":"Rosa Giovanna Barresi","author_link":"https:\/\/www.codemotion.com\/magazine\/author\/rosa-giovanna-barresi\/"},"uagb_comment_info":0,"uagb_excerpt":"Most state-of-the-art Blockchain solutions are composed by a first layer, implementing basic payment functions, and a second layer for running smart-contracts. But this two-layered approach carries problems as well as solutions. Algorand's decision of implementing a rich set of services at Layer-1 avoids the complexities, expense, and security risks of a two-layer architecture.","lang":"en","_links":{"self":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/2155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/users\/88"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/comments?post=2155"}],"version-history":[{"count":3,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/2155\/revisions"}],"predecessor-version":[{"id":12946,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/posts\/2155\/revisions\/12946"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/media\/2156"}],"wp:attachment":[{"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/media?parent=2155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/categories?post=2155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/tags?post=2155"},{"taxonomy":"collections","embeddable":true,"href":"https:\/\/www.codemotion.com\/magazine\/wp-json\/wp\/v2\/collections?post=2155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}