{"id":402148,"date":"2022-02-01T15:00:00","date_gmt":"2022-02-01T12:00:00","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/how-a-game-engine-for-defi-could-facilitate-accelerated-development\/"},"modified":"2022-02-01T15:00:00","modified_gmt":"2022-02-01T12:00:00","slug":"how-a-game-engine-for-defi-could-facilitate-accelerated-development","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/how-a-game-engine-for-defi-could-facilitate-accelerated-development\/","title":{"rendered":"# How a game engine for DeFi could facilitate accelerated development"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a25a52232203\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a25a52232203\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/how-a-game-engine-for-defi-could-facilitate-accelerated-development\/#Why_DeFi_development_is_hard_on_Ethereum\" >Why DeFi development is hard on Ethereum<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/how-a-game-engine-for-defi-could-facilitate-accelerated-development\/#Tokens_as_the_core_of_DeFi_development\" >Tokens as the core of DeFi development<\/a><\/li><\/ul><\/nav><\/div>\n<p>&#8220;<strong># How a <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/game\/\" data-internallinksmanager029f6b8e52c=\"7\" title=\"Game\" target=\"_blank\" rel=\"noopener\">game<\/a> engine for DeFi could facilitate accelerated development <\/strong>&#8221;<\/p>\n<div class=\"post-content\" data-v-128018ef>\n<p dir=\"ltr\"><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.radixdlt.com\/\"><img loading=\"lazy\" decoding=\"async\" width=\"1480\" height=\"200\" alt=\"\" src=\"https:\/\/s3.cointelegraph.com\/storage\/uploads\/view\/8fc21800bd09f2097715ef3311d7e35a.jpeg\"><\/a><\/p>\n<p dir=\"ltr\">The beating heart of any ecosystem of decentralized <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">app<\/a>lications, DApps, is its underlying <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/technology\/\" data-internallinksmanager029f6b8e52c=\"4\" title=\"Technology\" target=\"_blank\" rel=\"noopener\">technology<\/a> stack. For Ethereum (ETH), this is its \u201cNakamoto\u201d consensus, Ethereum Virtual Machine (EVM) execution environment, and Solidity programming language. Together, these technologies have allowed smart contract developers to propel decentralized finance (DeFi) from concept to reality.<\/p>\n<p>For DeFi to make the next leap &#8211; to mainstream adoption &#8211; scalability is the technological requirement that garners the most attention. But an often overlooked but equally important aspect of layer-one platforms is their approach to smart contract development.\u00a0<\/p>\n<p>While Solidity and the EVM are the core technologies that allowed Ethereum to unquestionably be DeFi\u2019s pioneer, pioneers are also the ones to make all the mistakes. Ever wonder why it feels like there are a never-ending <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/watch-movies-tv-seriess\/\" data-internallinksmanager029f6b8e52c=\"8\" title=\"Watch Movies &amp; TV Series\" target=\"_blank\" rel=\"noopener\">series<\/a> of DeFi hacks and exploits today? It\u2019s the result of a programming approach that makes it incredibly hard to manage tokens securely. Because when Ethereum was being designed, DeFi didn\u2019t exist.<\/p>\n<p>But a fix isn\u2019t easy. Major changes to Solidity and the EVM aren\u2019t possible as this would break the majority of DApps that have already been built. Therefore, newer platforms have a real opportunity to learn from and improve upon the developer experience \u2013\u2013 because the improved DApps that those developers build could enable the next wave of DeFi adoption.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Why_DeFi_development_is_hard_on_Ethereum\"><\/span>Why DeFi development is hard on Ethereum<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p dir=\"ltr\">Whether it\u2019s tokens for decentralized borrowing and lending, tokens for an NFT game or art piece, or tokens for a financial derivative, they are at the core of practically every use case in DeFi and crypto.\u00a0<\/p>\n<p>However, the only token that the Ethereum platform natively understands is ETH. All other tokens, whether under the ERC-20, 721, 1155, or any other standard, only exist as variables (regular old numbers) inside each smart contract.<\/p>\n<p>The Tether token \u2013 USDT \u2013\u2013 is a list of accounts and associated balances inside the USDT smart contract. The same goes for Shiba Inu (SHIB) and every other token built on Ethereum. This is why you can\u2019t swap ETH on Uniswap (UNI), and, instead, you have to, bizarrely, swap wrapped-ETH (wETH), which is an ERC-20 token backed by ETH held in custody.<\/p>\n<p>This brings problems. You cannot \u201csend\u201d tokens from one person to another because the tokens don\u2019t live in a user\u2019s wallet. They live only as a balance associated with an account inside each individual contract.<\/p>\n<p>To swap USDT for SHIB, a message is sent to debit your account in the USDT contract and credit your account in the SHIB contract. But the USDT debited from your account must go to some other account in the USDT contract, and likewise, the SHIB credited to your account must have come from some other account in the SHIB contract.<\/p>\n<p>With the burden of implementing a new token in each and every smart contract and for developers to ensure that their contracts are safe under all possible scenarios, developers spend nearly all their time, up to 90%, on testing and validation. This leaves hardly any time left over for them to build what they actually want: DeFi functionality.<\/p>\n<p>With such a frustrating developer experience, is there a better way?\u00a0<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Tokens_as_the_core_of_DeFi_development\"><\/span>Tokens as the core of DeFi development<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>DeFi is all about tokens. This means tokens shouldn\u2019t be an afterthought to the development experience &#8211; they should be front and center &#8211; right at the very core of the platform.<\/p>\n<p>That\u2019s why the right programming language can accelerate the development of not only a single platform but an entire industry. An example of this being done is <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/radixdlt.com\">Radix<\/a>, a layer-one protocol, which uses \u201casset-oriented\u201d programming and is introducing it with its <a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/developers.radixdlt.com\">Scrypto<\/a> programming language.<\/p>\n<p>How does it work? First, tokens are no longer defined inside a smart contract, as with the list of accounts and balances described above. Instead, tokens live in a separate layer, following rules that the platform enforces. Just as the Bitcoin platform enforces that BTC can\u2019t be double spent, drained or lost in a transaction, so too does asset-oriented programming ensure these same kinds of logical behaviors but for every token created on the platform.\u00a0<\/p>\n<p>With those rules in place, tokens gain the same properties as you would expect from a physical coin in your pocket. You can physically give it to someone else, but the platform guarantees that it is impossible for the token to be in two places at once, nor can it disappear.\u00a0<\/p>\n<p>Given this physicality of behavior, DeFi developers can then build DeFi DApps as they would intuitively draw them on a whiteboard. Words like \u201ctake\u201d and \u201cput\u201d in the programming language actually take and put tokens in places.<\/p>\n<p>No more defining the rules of finance within every single smart contract, from scratch, as with Solidity. With Radix, developers are provided all the tools they need to build secure code quickly \u2013\u2013 supercharging their productivity.<\/p>\n<p>Ultimately whether developers flock to a new paradigm or prefer the old one depends on a fine-grained balance between the network effect of the old versus the advantages of the new.<\/p>\n<p>Learning a new approach to developing DeFi takes work. And this is especially risky if the ecosystem you\u2019re building for is starting from scratch, compared to one with thousands of DApps, mature developer communities and millions of users.\u00a0<\/p>\n<p>But as we saw over 2021, new layer ones can grow quickly. With the right execution, there\u2019s a chance that we may see a new upstart in town. One that might very well be capable of galvanizing a community of developers laser-focused on the mainstream adoption of DeFi.<\/p>\n<div style=\"background-color: #f0f0f0; padding: 8px 21px; font-weight: bold; color:#253137;\">Learn more about <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.radixdlt.com\/\" style=\"color: #253137\">Radix\u2019s Scrypto<\/a><\/div>\n<div id=\"post-content\">\n<p><span style=\"font-size: 12px; color: rgb(169, 169, 169);\"><span style=\"font-weight: 600\">Disclaimer.<\/span> Cointelegraph does not endorse any content or product on this page. While we aim at providing you with all important information that we could obtain, readers should do their own research before taking any actions related to the company and carry full responsibility for their decisions, nor can this article be considered as investment advice. <\/span><\/p>\n<\/div>\n<\/div>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong>\n<\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/news\/\" data-internallinksmanager029f6b8e52c=\"2\" title=\"News\" target=\"_blank\" rel=\"noopener\">News<\/a> articles, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/general\/\" target=\"_blank\" rel=\"noopener\">General category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/cointelegraph.com\/news\/how-a-game-engine-for-defi-could-facilitate-accelerated-development\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;# How a game engine for DeFi could facilitate accelerated development &#8221; The beating heart of any ecosystem of decentralized applications, DApps, is its underlying technology stack. For Ethereum (ETH), this is its \u201cNakamoto\u201d consensus, Ethereum Virtual Machine (EVM) execution environment, and Solidity programming language. Together, these technologies have allowed smart contract developers to propel&#8230;<\/p>\n","protected":false},"author":1,"featured_media":402149,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/images.cointelegraph.com\/images\/1200_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy80YjQ0MzhjNzBiYTVlYTY4NDdlZDFhYTliNjIxOWIxMi5qcGVn.jpg","fifu_image_alt":"","footnotes":""},"categories":[1],"tags":[74862,74863,78168,74868,74891],"class_list":["post-402148","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general","tag-bitcoin","tag-cryptocurrencies","tag-dapps","tag-defi","tag-ethereum"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/402148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=402148"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/402148\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/402149"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=402148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=402148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=402148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}