<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Benjamin Ebner on Medium]]></title>
        <description><![CDATA[Stories by Benjamin Ebner on Medium]]></description>
        <link>https://medium.com/@ebner.benjamin?source=rss-e0a9d756dafc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MxdCNWjk_M1lFtLB-pOy4Q.jpeg</url>
            <title>Stories by Benjamin Ebner on Medium</title>
            <link>https://medium.com/@ebner.benjamin?source=rss-e0a9d756dafc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 21:16:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ebner.benjamin/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Dapper Labs Becomes an Investor in Zeedz]]></title>
            <link>https://medium.com/the-zeedz-blog/dapper-labs-becomes-an-investor-in-zeedz-8e957d5f5965?source=rss-e0a9d756dafc------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e957d5f5965</guid>
            <dc:creator><![CDATA[Benjamin Ebner]]></dc:creator>
            <pubDate>Wed, 11 May 2022 12:41:42 GMT</pubDate>
            <atom:updated>2022-05-11T12:41:42.443Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Huge news for </em><a href="https://zeedz.io/"><em>Zeedz</em></a><em>: The NFT industry giant </em><a href="https://dapperlabs.com/"><em>Dapper Labs</em></a><em>, creator of mainstream web3 experiences like </em><a href="https://nbatopshot.com/"><em>NBA Top Shot</em></a><em> and </em><a href="https://www.cryptokitties.co/"><em>Cryptokitties</em></a><em>, is investing in Zeedz. Beyond a mere financial commitment, Zeedz and Dapper Labs team up in a long-term partnership to make web3 more fun, sustainable and green at the same time.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W6cmW9dSozDTctRcgfOQSQ.png" /></figure><h4>Dapper Labs: <em>The</em> NFT Company</h4><p><a href="https://www.dapperlabs.com/">Dapper Labs</a> is <em>the</em> NFT company par excellence. Here, the NFT boom we are seeing nowadays had its origin: <a href="https://www.cryptokitties.co/">Cryptokitties</a> — the first NFT game ever created by Dapper Labs — attracted so many user that it almost broke Ethereum, while introducing the popular NFT standard, ERC-721.</p><p>Nowadays, Dapper Labs is <a href="https://www.coindesk.com/business/2021/09/22/dapper-labs-said-to-reach-76b-valuation-in-250m-funding-round/">a $7bn studio company</a>, creating web3 applications together with huge brands like the NBA, <a href="https://nflallday.com/">NFL</a>, <a href="https://laliga.onflow.org/?lng=en-GB">La Liga</a> or <a href="https://www.ufcstrike.com/">UFC</a> on the <a href="https://flow.com/">Flow blockchain</a>. Millions of mainstream users form vibrant communities around their products, and top-notch investors like <a href="https://a16z.com/">a16z</a> support the company on their mission to win the web3 race for a mainstream audience.</p><h4>Zeedz x Dapper Labs: Combining fun and purpose</h4><p>Today, Zeedz has become a part of that success journey: Dapper Labs is participating in the first ever financing round of Zeedz — and we’re incredibly excited for what is to come.</p><p>And while this marks only the beginning, one thing is already clear: This step sets a foundation beyond mere financial investment. Zeedz’ CTO and Co-Founder Benjamin Ebner mentions:</p><blockquote>“Dapper Labs is the ideal partner and mentor for us, both from a technical as well as strategic perspective. A company with this huge expertise in the industry will enable us to go above and beyond for what we have planned for Zeedz — building a truly green and truly fun game, loved and played by millions of users”.</blockquote><h4>Sharing the vision of mainstream experiences</h4><p>The secret ingredient of Dapper Lab’s past and present was <a href="https://future.a16z.com/blockchain-networks-and-the-human-factor-how-to-know-whether-theyre-accessible/">making blockchain experiences easy to understand and easy-to-use</a>, as well as building a vibrant community around a bigger purpose beyond the OG crypto scene. One example of that is their <a href="https://www.meetdapper.com/">Dapper wallet</a>, where users can simply use their credit card to purchase NFTs on Flow. This mindset overlaps with Zeedz mission, as Sven Junglas (CMO &amp; co-founder of Zeedz) explains:</p><blockquote>“At Zeedz, we share the philosophy that web3 has its biggest growth still to see: the mainstream adoption. Dapper Labs will work with us to build a product with the mainstream in mind — and yes, with this strong support, we’re certainly aiming for becoming the NBA Top Shot of purpose-driven games.”</blockquote><h4>Jointly pioneering a green Web3</h4><p>Being the first play-for-purpose game ever created, sustainability is at the very core of Zeedz. The mission of Zeedz is to promote the topic of sustainability throughout the web3 industry and beyond. We’re certain about the urgency to act, as well as the carbon footprint and purpose of a product becoming an even more important factor in consumers’ decisions.</p><p>“The partnership with Zeedz is another commitment for us towards a greener and more sustainable web3”, says Mik Nayeem, CBO of Dapper Labs. “What has lead our decision to invest in Zeedz is their clever combination of easy-to-approach and fun gaming elements with a purpose-driven backbone, focusing on sustainability and climate action. We believe that the types of purpose-driven games that Zeedz pioneers will see a tremendous interest of a wider audience in the future”.</p><h4>What the future holds</h4><p>In the partnership with Dapper Labs, Zeedz will also explore further ideas on how to contribute to sustainability on Flow on a deeper infrastructure layer, allowing other applications to offset with Zeedz. Stay tuned — there’s more to come.</p><p>For now, we’re incredibly happy to have such a strong and dedicated partner on board. To welcome Dapper Labs to the Zeedz family, we have created two special edition Zeedles: Baby D. and Big D. Just as the Peace Zeedle, they will join the game with limited capabilities, but allowing the same growing fun!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YBGeiNUnUkvLvxhHlLigBw.jpeg" /></figure><p>So stay tuned — there is lots to come. Join our <a href="https://discord.com/invite/zeedz">Discord</a>, <a href="https://twitter.com/zeedz_official">Twitter</a> or <a href="https://www.instagram.com/zeedz_official/">Instagram</a> to stay up to date with our latest developments, and of course, don’t forget to check out our <a href="http://play.zeedz.io/marketplace">recently launched Zeedz NFT Marketplace</a>!</p><p><em>Let’s grow the future, together!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e957d5f5965" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-zeedz-blog/dapper-labs-becomes-an-investor-in-zeedz-8e957d5f5965">Dapper Labs Becomes an Investor in Zeedz</a> was originally published in <a href="https://medium.com/the-zeedz-blog">The Zeedz Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cryptography for Blockchain — Simplified]]></title>
            <link>https://medium.com/geekculture/cryptography-for-blockchain-simplified-89a1988a342?source=rss-e0a9d756dafc------2</link>
            <guid isPermaLink="false">https://medium.com/p/89a1988a342</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Benjamin Ebner]]></dc:creator>
            <pubDate>Mon, 27 Sep 2021 19:02:00 GMT</pubDate>
            <atom:updated>2021-09-28T11:24:11.170Z</atom:updated>
            <content:encoded><![CDATA[<h4>Blockchain Basics Revisited</h4><h3>Cryptography for Blockchain — Simplified</h3><h4>How’d you secure Fort Knox, if everyone could enter?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*Mv0oEhV8ofgHtXSF" /></figure><p>Photo by<a href="https://unsplash.com/@mojamsanii?utm_source=medium&amp;utm_medium=referral"> Moja Msanii</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></p><p><em>2 trillion dollars is today’s total value of all blockchain-based assets combined — that’s more than the GDP of Canada, Russia or Australia. Every single week, more value moves across major cryptocurrency exchanges than the dollar value of Fort Knox’ gold reserves.</em></p><p><em>Different to Fort Knox, however, blockchains are public networks. Any user across the globe can participate in these decentralised networks, query data, submit transactions — and, of course, try hacking them.</em></p><p><em>So how can this huge vault of digital value ever be secured, if we don’t have fences or firewalls to keep the bad guys out? What could be more bulletproof than the walls around Fort Knox? The short answer: cryptography! The long answer:</em></p><p><em>Read on…</em></p><h3>No ownership without identity</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*t-d21rIPvmhS_pnG" /><figcaption>Photo by<a href="https://unsplash.com/@convertkit?utm_source=medium&amp;utm_medium=referral"> ConvertKit</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Any issue of ownership starts with identity. If we want to know if a person is the owner of an item and has the rights to decide about that item (<em>authorisation</em>), we first need to be sure about the identity of the user (<em>authentication</em>). This is equally true for analogue and digital things.</p><p>In the real world, state governments hand out identification cards (passports) to their citizens — this will be the first thing any notary will ask you for when you buy a house, a necessary precondition for the notary to work. Holographic shapes, UV printings or engravings assert the authenticity of these documents, making them hard to forge.</p><p>In blockchain networks, however, there’s no centralised entity vouching for the identity of users — that’s the whole point of decentralisation. So how can we be sure about someone’s identity in these global trustless networks? The answer to this challenge are <strong>digital signatures</strong>.</p><h3>Signatures prove identity</h3><p>On-chain and off-chain, signatures prove the identity of an individual, and just like you sign a paper-based contract to accept its terms, you sign a blockchain transaction before you send it to the network.</p><p>In both cases, the process consists of two steps: First you <em>sign</em> <em>to authorise</em>, before another party <em>verifies for identity</em>. The lady at the cashier will check your signature against the one on your card, just as a blockchain node will check your digital signature. In the digital world, the process of signing and verifying is enabled by cryptography.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*tDDh20wRlddV_wle" /><figcaption>Photo by<a href="https://unsplash.com/@david_nitschke_95?utm_source=medium&amp;utm_medium=referral"> David Nitschke</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Cryptography secures signatures</h3><blockquote>“Cryptography is <em>the practice and study of secure communication in the presence of third parties”</em> (<a href="https://shermin.net/token-economy-book/">Voshmgir, 2020</a>)</blockquote><p>Cryptography is nothing unique to blockchain technology. In fact, it has existed for thousands of years and its impact on society is immense:<a href="https://www.englandcast.com/2018/05/mary-queen-of-scots-cipher/"> It killed queens in the Middle Age</a>s,<a href="https://www.bbc.com/news/technology-18419691"> saved millions of lives in times of war</a>, and it’s the backbone of any secure communication on the internet today.</p><p>In essence, Cryptography consists of two steps:</p><ul><li><strong>Encrypting</strong> turns whatever you want to sign into an incomprehensible text (<em>ciphertext</em>);</li><li><strong>Decrypting</strong> denotes the reverse process, turning the ciphertext back into readable plaintext.</li></ul><p>So unlike your signature in the real world, this process works by disguising the text you sign and turning it back into a readable format in order to verify. But what prevents forgery of digital signatures? That’s where cryptographic keys come into play.</p><h3>Keys are your everything</h3><p>A digital key is simply a large number — a <em>very</em> large number. On Ethereum, for example, a private key consists of a 64 digit hex number (256 bits, 32 bytes). The chances of guessing a number like that is 1 in 115 quattuorvigintillion. <em>That’s 115 followed by 75 zeros</em>. Yes, it’s <em>that</em> huge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*Cs_oEUiO0kMqyke8" /><figcaption>Photo by <a href="https://unsplash.com/@zanardi">zarnadi</a> on Unsplash</figcaption></figure><p>If there is only one key used, we talk about <strong>symmetric cryptography</strong> — it’s the simple way of doing this process. In this case, a person signs (encrypts) a message with their private key; to decrypt the message, the exact same key is needed.</p><p>That’s much like a key in the real world: Only if you own it, you can access whatever it locks, and thus prove the validity of the key. However, this necessitates the secure transfer of a key from one person to another.</p><p>Precisely due to this issue, symmetric cryptography is not a good fit for blockchain. Blockchain uses the much more sophisticated method of <strong>asymmetric cryptography.</strong></p><p>Also referred to as public-key cryptography, the method works with two keys: a private key and a public key. The private key is only known to the signer of a message; the public key, a much shorter key derived from the private key, can be shared with anyone. Any signed message can be validated only by knowing the public key — that’s the beauty of the system.</p><p>There are two popular systems for key generation, ECC (Elliptic Curve Cryptography) and RSA (Rivest-Shamir-Adleman). Both work by creating a function that is easy to solve in one direction (deriving the public key from the private key) but sheer impossible to solve into the other direction (constructing a private key from a public key).</p><p><strong><em>Private keys are used for signing every transaction on blockchain networks, and they are your one and only proof of identity. If you forget, lose or leak a private key, any funds that are associated with it will likely be lost. A private key is your single most valuable item on the blockchain.</em></strong></p><p><strong><em>Do treat them extremely careful and keep them safe.</em></strong></p><h3>What else to know: Wallets, Accounts, MultiSig</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*kVsKaDzw6SF8t5Tg" /><figcaption>Photo by<a href="https://unsplash.com/@jonathandu?utm_source=medium&amp;utm_medium=referral"> Jonathan Duran</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Wallets</h3><p>Wallets are essentially stores for your private key. They pair security with convenience: On the one hand, they keep you private key safe; on the other hand, they are a direct access point to a blockchain network , so you can sign and send transactions directly from your wallet to the blockchain.</p><p>However, a decentralised application needs to support the wallet of your choice and oftentimes developers find themselves writing vendor-specific code or needing to rely on browser plugins. But there are chains like Flow that offer tools to provide a wallet discovery service (<a href="https://docs.onflow.org/fcl/">FCL</a>), so your favourite wallet can be used across all applications that use FCL.</p><h3>Accounts</h3><p>When choosing a blockchain, it is important to take a look at its account model, i.e. the relationship between cryptographic keys and accounts. Ethereum, for example, derives your address directly from the public key. Because you should rotate your keys from time to time due to privacy and security reasons, this comes at the overhead of using a new account every single time.</p><p>However, there are networks that follow a human-centred account model, most notably Flow. On Flow, your account address is not directly derived from the public key, and you can assign multiple key pairs to one account. This does not only shorten the length of your account address to 18 characters, but it also frees you from switching to a new account when rotating your keys , and it has multi-signature baked in.</p><h3>Multi-signature (MultiSig)</h3><p>Signing transactions can also be executed by multiple parties in a process that is called multi-signature (short: <em>multi-sig</em>). This is a highly practical use case for organisations or teams that need to collectively manage digital assets.</p><p>Ethereum necessitates the usage of specialised software to use multi-signature, while networks like Flow have multi-signature processes already baked into the protocol layer.</p><h3>Conclusion</h3><p>As we have seen, cryptography safeguards digital assets on the blockchain by providing a transparent and robust mechanism of verifying identity. Digital signatures powered by public-key cryptography are the essence of blockchain authentication, and your private key is the one and only tool to verify your ownership over digital assets — do treat it with the according caution.</p><p>Wallets, accounts and multi-signature flows are all connected to the cryptographic layer of a blockchain, and the type of blockchain you choose can greatly influence if and how you can leverage these features.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89a1988a342" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/cryptography-for-blockchain-simplified-89a1988a342">Cryptography for Blockchain — Simplified</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blockchain in a Nutshell]]></title>
            <link>https://medium.com/coinmonks/blockchain-in-a-nutshell-85ea14e6c2fe?source=rss-e0a9d756dafc------2</link>
            <guid isPermaLink="false">https://medium.com/p/85ea14e6c2fe</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Benjamin Ebner]]></dc:creator>
            <pubDate>Wed, 22 Sep 2021 21:23:28 GMT</pubDate>
            <atom:updated>2021-09-27T05:05:58.533Z</atom:updated>
            <content:encoded><![CDATA[<h4>Blockchain Basics Revisited</h4><h4>Understanding the high-level processes behind the technology</h4><p><em>Blockchain is easy to understand — there’s just a lot of technical terms and jargon dominating the discourse of the industry. Let’s take a birds eye view on how it all works.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*PxJvhZFIqiV33Dw3" /><figcaption>Photo by<a href="https://unsplash.com/@chuttersnap?utm_source=medium&amp;utm_medium=referral"> CHUTTERSNAP</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Blockchain Terminology</h3><p><em>Start to think about a blockchain like a computer — now you simply need to adjust some terminology and realise the fact that it’s not one, but a thousand of computers running across the whole world.</em></p><h4>Data = state</h4><p>Just like a computer stores word documents, excel sheets and powerpoint presentations, a blockchain stores data. In blockchain terms, the combined amount of data is called the <em>state</em> of a blockchain. This data is available to all network participants as a universal state layer. That’s how a blockchain is different from the internet: There’s a global state that everyone can access — just like you can access every file on your hard-drive.</p><h4>Computers = nodes</h4><p>The blockchain is not a single computer; it consists of hundreds or thousands of different computers that all provide their processing power to form a global, decentralised virtual machine. The individual computers are called <em>nodes</em> or <em>validators</em>, and they are being rewarded for their effort, mostly with native tokens of the network. That’s for example the infamous process of <em>mining</em> Bitcoin: because they keep the network running, nodes get rewards.</p><h4>Programs = smart contracts</h4><p>Exactly like you can open, change and delete files on your computer, a blockchain can mutate its data. On your computer, this is mostly done with programs, for example a text editor or an image processing program. On the blockchain, programs are most commonly called <em>smart contracts</em>. Some blockchains can do without them, but blockchains with smart contract functionality can usually cater to much more sophisticated use cases.</p><h4>Transactions = user actions</h4><p>In order to execute a functionality of a program (aka. a method of a smart contract), you have to submit a transaction to the network. Blockchain networks are — just like applications on the internet — vulnerable to spamming. This mostly happens in the form of an attacker submitting endless transactions to the network and clogging up its capacity. In order to stop that from happening, each transaction is usually associated with a transaction cost, oftentimes referred to as <em>Gas</em>. This is a safety mechanism against network spamming.</p><h4>Private key = identity</h4><p>For most transactions, it is important to know that the person sending it is authorised to do so. This is being ensured by elliptic cryptography. Each user has a key pair consisting of a private and a public key. Every transaction is signed with the user’s private key, that only the user has access to. After signing, anyone can verify this signature only by looking at the public key of the user, without needing to know the private key.</p><h4>Wallets = identity managers &amp; access points</h4><p>Most user transactions are sent by means of a wallet — programs that store the private key of a user and can act as an access point to the blockchain, in order to submit transactions directly from the wallet. The benefit of using a wallet is that the user does not need to manually insert and manage the private key. Wallets come in all shapes and sizes, from software to hardware to paper-based wallets.</p><h3>A Real World Example</h3><p>Now that we have learned the basic terminology, let’s walk through a real-world example: a blockchain-based currency, aka. cryptocurrency.</p><h4>Cryptocurrencies = balance sheets</h4><p>Most cryptocurrencies are based on smart contracts, and oftentimes these programs store not much more than a simple balance sheet: One column lists the user’s account address, another column lists the according amount of tokens. The program allows for basic functionality by exposing a few methods, for example transferring tokens or getting a user’s balance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sOei6VhVvybTl2jF" /><figcaption>Photo by <a href="https://unsplash.com/@silverhousehd?utm_source=medium&amp;utm_medium=referral">André François McKenzie</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>If a user wants to transfer some tokens to another account, they specify to what address they want to send how many tokens, sign the transaction with their private key and send it to the network via their wallet. The smart contract then checks the user’s signature; if it is correct and the user has a sufficient balance, the user transaction can run, transferring tokens to another account.</p><p>The transfer itself needs only an update of the global state: The sender’s balance is decreased, the recipient’s balance is increased by the specified amount, minus any transaction fee that was necessary for the transaction to be accepted to the network.</p><h4>Security by decentralisation</h4><p>This example highlights the power of decentralisation. A safe transfer of the cryptocurrency as outlined above is only possible because the data does not lie on a central computer, where one party could just arbitrarily mutate it to change the user’s balances; it is safeguarded by cryptographic methods and a decentralised network of thousands of computers, that are distributed globally and check each other’s work continuously.</p><p>The method the computers check each other’s work is called the <em>consensus algorithm</em>. This mechanism prevents a malicious actor from submitting manipulated data to the network, for example a mutated balance sheet for our cryptocurrency above. While there are many different kinds of consensus algorithms available (<em>proof-of-work</em>, <em>proof-of-stake</em>, <em>proof-of-delegated-stake</em>, <em>proof-of-authority</em> and much more), they all have the same underlying goal: Making malicious behaviour highly infeasible and thus, highly unlikely.</p><h3>What Blockchain Enables</h3><p><em>The main feature of blockchain is that it enables you to take real-world value into the digital sphere by means of cryptocurrencies, NFTs and much more.</em></p><h4>Currencies = fungible tokens</h4><p>They are by far not the only use case for blockchain technology, but probably the most prominent one: cryptocurrencies. The first blockchain network — bitcoin — did provide this use case. With cryptocurrencies, financial value can be taken to the digital sphere, and by means of smart contracts, it can be programmed to enable more transparent and efficient payment processes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*v429zR8-YHCA9vCL" /><figcaption>Photo by <a href="https://unsplash.com/@alschim?utm_source=medium&amp;utm_medium=referral">Alexander Schimmeck</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Art &amp; collectibles = non-fungible tokens (NFTs)</h4><p>Besides money, any individual work of art, collectibles, game items and much more can be created in the digital sphere by means of non-fungible tokens (NFTs). Non-fungibility simply means that each item is unique, and cannot be used interchangeably with other items — as is for example the case with art. The NFT sector is already a multi-billion dollar market, and growing every day.</p><h4>Something you haven’t seen yet</h4><p>Beyond fungible and non-fungible tokens, blockchain technology can be used anywhere where transparent, secure and reliable outcomes are paramount, for example identification, voting and governance, supply chain transparency and much more. The technology is still in its infancy, and there are likely thousands of new use cases still to be explored.</p><blockquote>Join Coinmonks <a href="https://t.me/coincodecap">Telegram Channel</a> and <a href="https://www.youtube.com/c/coinmonks/videos">Youtube Channel</a> learn about crypto trading and investing</blockquote><h4>Also, Read</h4><ul><li><a href="https://blog.coincodecap.com/margin-trading">What is Margin Trading</a> | <a href="https://blog.coincodecap.com/dca">Dollar-Cost Averaging</a></li><li><a href="https://medium.com/coinmonks/bigone-exchange-review-64705d85a1d4">BigONE Exchange Review</a> | <a href="https://blog.coincodecap.com/grid-trading">Grid Trading Bot</a></li><li><a href="https://blog.coincodecap.com/crypto-exchange-in-singapore">10 Best Crypto Exchange in Singapore</a> | <a href="https://blog.coincodecap.com/buy-axs-token">Buy AXS</a></li><li><a href="https://blog.coincodecap.com/best-crypto-to-invest-in-india-in-2021">Best Crypto to Invest in India</a> | <a href="https://blog.coincodecap.com/wazirx-p2p">WazirX P2P</a></li><li><a href="https://blog.coincodecap.com/zero-fee-crypto-exchanges">7 Best Zero Fee Crypto Exchange Platforms</a></li><li><a href="https://blog.coincodecap.com/what-are-decentralized-exchanges">Decentralized Exchanges</a> | <a href="https://blog.coincodecap.com/bitbns-fip">Bitbns FIP</a></li><li><a href="https://blog.coincodecap.com/buy-crypto-with-credit-card">10 Best Places to Buy Crypto with Credit Card</a></li><li><a href="https://blog.coincodecap.com/5-best-crypto-trading-bots-in-canada">Best Crypto Trading bots in Canada</a> | <a href="https://blog.coincodecap.com/bybit-binance-moonxbt">Bybit vs Binance</a></li><li><a href="https://blog.coincodecap.com/huobi-crypto-trading-signals">Crypto Trading Signals for Huobi</a> | <a href="https://medium.com/coinmonks/swapzone-review-crypto-exchange-data-aggregator-e0ad78e55ed7">Swapzone Review</a></li><li>Best <a href="https://blog.coincodecap.com/best-crypto-trading-bots">Crypto Trading Bots</a> | <a href="https://blog.coincodecap.com/buy-solana">Buy Solana</a> | <a href="https://blog.coincodecap.com/matrixport-review">MatrixPort Review</a></li><li><a href="https://blog.coincodecap.com/coldcard-review">Coldcard Review</a> | <a href="https://blog.coincodecap.com/boxtradex-review">BOXtradEX Review</a> | <a href="https://blog.coincodecap.com/uniswap">A Guide to Uniswap</a></li><li><a href="https://blog.coincodecap.com/best-crypto-exchanges-in-uae">5 Best Crypto Exchanges in UAE</a> | <a href="https://blog.coincodecap.com/simpleswap-review">SimpleSwap Review</a></li><li><a href="https://blog.coincodecap.com/ways-to-buy-dogecoin">7 Best Ways to buy Dogecoin</a> | <a href="https://blog.coincodecap.com/zebpay-review">ZebPay Review</a></li><li><a href="https://blog.coincodecap.com/futures-trading-signals">Best Futures Trading Signals</a> | <a href="https://blog.coincodecap.com/liquid-exchange-review">Liquid Exchange Review</a></li><li><a href="https://medium.com/coinmonks/3commas-review-an-excellent-crypto-trading-bot-2020-1313a58bec92">3Commas Review</a> | <a href="https://medium.com/coinmonks/pionex-review-exchange-with-crypto-trading-bot-1e459d0191ea">Pionex Review</a> | <a href="https://medium.com/coinmonks/coinrule-review-2021-a-beginner-friendly-crypto-trading-bot-daf0504848ba">Coinrule review</a></li><li><a href="https://medium.com/coinmonks/ledger-vs-ngrave-zero-7e40f0c1d694">Ledger vs Ngrave</a> | <a href="https://medium.com/coinmonks/ledger-nano-s-vs-x-battery-hardware-price-storage-59a6663fe3b0">Ledger nano s vs x</a> | <a href="https://medium.com/coinmonks/binance-review-ee10d3bf3b6e">Binance Review</a></li><li><a href="https://medium.com/coinmonks/bybit-exchange-review-dbd570019b71">Bybit Exchange Review</a> | <a href="https://blog.coincodecap.com/bityard-reivew">Bityard Review</a> | <a href="https://blog.coincodecap.com/coinspot-review">CoinSpot Review</a></li><li><a href="https://medium.com/coinmonks/3commas-vs-pionex-vs-cryptohopper-best-crypto-bot-6a98d2baa203">3Commas vs Cryptohopper</a> | <a href="https://medium.com/coinmonks/earn-crypto-interest-b10b810fdda3">Earn crypto interest</a></li><li>The Best Bitcoin <a href="https://medium.com/coinmonks/hardware-wallets-dfa1211730c6">Hardware wallet</a> | <a href="https://medium.com/coinmonks/bitbox02-review-your-swiss-bitcoin-hardware-wallet-c36c88fff29">BitBox02 Review</a></li><li><a href="https://medium.com/coinmonks/blockfi-vs-celsius-vs-hodlnaut-8a1cc8c26630">BlockFi vs Celsius</a> | <a href="https://medium.com/coinmonks/hodlnaut-review-best-way-to-hodl-is-to-earn-interest-on-your-bitcoin-6658a8c19edf">Hodlnaut Review</a> | <a href="https://blog.coincodecap.com/kucoin-review">KuCoin Review</a></li><li><a href="https://medium.com/coinmonks/bitsgap-review-a-crypto-trading-bot-that-makes-easy-money-a5d88a336df2">Bitsgap review</a> | <a href="https://medium.com/coinmonks/quadency-review-a-crypto-trading-automation-platform-3068eaa374e1">Quadency Review</a> | <a href="https://medium.com/coinmonks/bitbns-review-38256a07e161">Bitbns Review</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85ea14e6c2fe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/blockchain-in-a-nutshell-85ea14e6c2fe">Blockchain in a Nutshell</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Basics Revisited: The Why of Blockchain]]></title>
            <link>https://medium.com/coinmonks/basics-revisited-the-why-of-blockchain-d4c4133d0b15?source=rss-e0a9d756dafc------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4c4133d0b15</guid>
            <category><![CDATA[flow]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <dc:creator><![CDATA[Benjamin Ebner]]></dc:creator>
            <pubDate>Mon, 20 Sep 2021 17:53:51 GMT</pubDate>
            <atom:updated>2021-09-21T13:41:44.530Z</atom:updated>
            <content:encoded><![CDATA[<h4>Blockchain Basics Revisited</h4><h3>The Why of Blockchain</h3><h4>Understanding the problems blockchain technology solves</h4><p><em>Many developers, creators and companies jump right into the technical details and implementations of blockchain projects without taking a moment to properly reflect on what underlying problem the technology actually solves. In this article, we’ll take this step back to revisit a key question to truly understand the difference blockchain makes: What’s the point of blockchain in the first place?</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VpRaKC9mbNVL6Dk6" /><figcaption>Photo by <a href="https://unsplash.com/@launchpresso?utm_source=medium&amp;utm_medium=referral">Launchpresso</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>The Old World: Mutability &amp; Centralised Trust</h3><h4>How mutability prevents digital ownership</h4><p>To kick things off, let’s take a step back and look at the beginning of the digital revolution. The reason why computers and their networks became popular so quickly, is largely based on what we call the <strong>mutability</strong> of digital data.</p><p>Mutability simply means that a data model can be altered freely; that includes the duplication of data, the transfer of data and deletion of data. Because digital data is so easy to copy, it can spread much faster than prior media like printed newspapers or postal mail. In a way, it was mutability that powered the rise of the internet, where data is sometimes only copied and transferred to a location in the world, so that you can access a website faster when you revisit it the next time.</p><p>However, mutability comes at a cost, because many analogue things that turn into digital data quickly lose their value. We have seen this for example in the music industry and journalism to a dramatic extent. But why is that so?</p><p>The reason why humans seem to attribute less value with digital things is exactly because of their mutability. Any digital music track that you hold as a file on your computer could easily be copied millions of times and sent around the globe, without anyone being able to stop that. The music industry had to come up with entirely new models of revenue generation to solve this problem, which is in essence a problem of ownership: When everyone can copy and alter, nobody is the true owner.</p><h4>The need to trust centralised parties</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_o5AM0bNPjy22h-l" /><figcaption>Photo by <a href="https://unsplash.com/@leoniezettl?utm_source=medium&amp;utm_medium=referral">Leonie Zettl</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The only really feasible way to address the problems of mutability on a day-to-day basis is <strong>trusting centralised parties</strong>. For example, only you can alter your Facebook profile, because you store your email address and a password in their database; whenever you can provide that data correctly, you can change anything about your account. But this system only works if you trust Facebook for handling your data securely.</p><p>Think about your e-banking as another example. In theory, there’s nothing that would stop an employee of that bank from going into the database and changing the balance of your account — after all, they are just numbers in a table. You trust the name and the reputation of the bank not to do that, but of course, they could.</p><p>This illustrates two major problems of trusting centralised entities:</p><ol><li>On the one hand, there is a <strong>high risk of large-scale attacks</strong>, because these entities are central honeypots for hackers, and there’s not one major social network that didn’t have a data leakage in the last years</li><li>On the other hand, our <strong>trust is oftentimes exploited</strong> by the very providers of the centralised services: For example, user behaviour is being tracked and sold to third parties, and data privacy is becoming an increasingly sensitive issue.</li></ol><p>So if trusting a centralised party is not the way forward, what can we do? This is where blockchain technology comes into play.</p><h3>A New Age: Decentralisation = Digital Ownership</h3><h4>Towards true digital ownership</h4><p>Data on the blockchain cannot be altered freely, at least if you cannot prove your ownership of it: You need to sign every transaction with your key pair, consisting of a private and public key. Other people can verify that a data item belongs to you only by looking at your public key. This way, blockchain allows you to actually own data; it enables <strong>true digital ownership</strong>.</p><p>The best thing about this is that there is no need to trust a centralised party, because blockchains are <strong>decentralised</strong> networks that operate in a fully trustless manner. That means that your data does not live on the server of a single company or organisation, but rather in a network that consists of thousands of computers. These computers check each other’s work with a consensus algorithm, which makes malicious behaviour highly infeasible and thus highly unlikely.</p><h4>Efficiency with programmability &amp; interoperability</h4><p>Decentralisation makes data on the network so secure that blockchain can even be used for currencies, rare digital collectibles and works of art. The great thing about these assets of native digital value is that they are <strong>programmable</strong>: On most blockchains, you could for example implement a mechanism that automatically pays out royalties to the creator of an artwork whenever it is put on auction.</p><p>In addition, most digital products on the blockchain are independent from the platform of their origin. NBA Top Shot moments, for example, will stay in the ownership of their collector even if the application ceases to exist one day. This makes blockchain-backed data valuable even in the long-term perspective; and it enables <strong>interoperability</strong>: The usage of digital items across different platforms. This is precisely why blockchain is becoming increasingly popular in the gaming industry: Items of one game can be used in another, and even peer-to-peer sales are possible on decentralised marketplaces.</p><h3>Conclusion</h3><p>In summary, blockchain can be highly beneficial for everyone: builders, creators, users and companies alike. The possibility of true digital ownership creates marketplaces for the digital world and allows people to bring their value to the digital sphere. Creators and IP holders benefit from transparency and programmability of digital value, while companies can leverage the interoperability of an open ecosystem, and end-users can rest assured that their assets are handled securely and censorship-resistant.</p><blockquote>Join Coinmonks <a href="https://t.me/coincodecap">Telegram Channel</a> and <a href="https://www.youtube.com/channel/UCbyDhTbOiKh2iUMKBi4-4Zg">Youtube Channel</a> learn about crypto trading and investing</blockquote><h4>Also, Read</h4><ul><li><a href="https://blog.coincodecap.com/crypto-exchange">Best Crypto Exchange | Top 10 cryptocurrency exchanges 2022 | CoinCodeCap</a></li><li><a href="https://blog.coincodecap.com/crypto-lending">10 Best Crypto Lending Platforms 2022 | CoinCodeCap</a></li><li><a href="https://medium.com/coinmonks/crypto-trading-bot-c2ffce8acb2a">10 Best FREE Crypto Trading Bots in 2023</a></li><li><a href="https://medium.com/coinmonks/best-crypto-signals-telegram-5785cdbc4b2b">5 Best Crypto Telegram Channels 2024 (Trading Signals)</a></li><li><a href="https://blog.coincodecap.com/blockfi-review">BlockFi Review 2021: Pros, Cons and Interest Rates | CoinCodeCap</a></li><li><a href="https://medium.com/coinmonks/buy-bitcoin-in-india-feb50ddfef94">Top 6 Crypto Trading Apps in India — Best Exchanges</a></li><li><a href="https://medium.com/coinmonks/best-crypto-tax-tool-for-my-money-72d4b430816b">10 Best FREE Crypto Tax Software in 2024</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4c4133d0b15" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/basics-revisited-the-why-of-blockchain-d4c4133d0b15">Basics Revisited: The Why of Blockchain</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cadence at a Glance]]></title>
            <link>https://medium.com/@ebner.benjamin/cadence-at-a-glance-4e685c34b544?source=rss-e0a9d756dafc------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e685c34b544</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[flow]]></category>
            <dc:creator><![CDATA[Benjamin Ebner]]></dc:creator>
            <pubDate>Fri, 17 Sep 2021 17:05:02 GMT</pubDate>
            <atom:updated>2021-09-17T17:05:02.184Z</atom:updated>
            <content:encoded><![CDATA[<p><em>The Cadence programming language accelerates and simplifies secure smart contract programming by introducing resources and capabilities, enabling advanced use cases like resource nesting and composition. At the same time, Cadence powers transactions and queries on Flow.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WGxn8AZj-gZXd_vipdBxSg.png" /></figure><h4>Resources to manage ownership</h4><p>Cadence is easy to learn, because it has many similarities with other programming languages like Rust, TypeScript and Swift. The big difference is that <strong>Cadence is all about resources</strong>.</p><p>Resources are easy to understand because <strong>they are the actual thing</strong><em> — </em>a vault for tokens, a NBA Topshot moment — and because <strong>they are stored right in the account of their owner</strong>. That’s why Cadence code is easy to read, maintain and talk about.</p><pre>pub <strong>resource</strong> NFT {<br>    pub let id: UInt64<br>    pub var metadata: {String: String}<br>    ...<br>}</pre><p>In technical terms, resource types are similar to classes — they represent a collection of data and functions. However, they introduce strict rules on how a developer can handle them:</p><ul><li>Resources can only exist in one exact place at one exact time</li><li>Resources cannot be copied</li><li>Resources have to be explicitly destroyed</li></ul><p>This prevents harmful duplication and accidental deletion of a resource, making them a good fit for blockchain applications. The move operator, a special operator for transferring resources, provides a visual cue when dealing with resources.</p><pre>let myResource <strong>&lt;-</strong> create NFT(...)</pre><p>Resources also allow for advanced use cases like composition and nesting. To group items, you simply create a collection resource as a wrapper. This makes batch transfers — the transfer of multiple resources at the same time — easy to implement.</p><h4>Capabilities for access-control</h4><p>Capabilities are similar to permissions: they control what actions a user can take on a given resource. If you want to call a resource’s method, you need to have a valid capability.</p><p><strong>Capabilities are the gateway to resources</strong>. Like a REST API, capabilities have a path. If that path lives in the public domain of an account, the capability can be obtained by anyone; capabilities in the private domain are only accessible by the owner of that account.</p><p>Regardless if in public or private domain, <strong>capabilities always link to a target</strong>. This target can be an entire resource or just a subset of its methods. For the latter, interfaces may act as a target for the capability. This is how capabilities allow fine-grained and human-readable access control.</p><p>To interact with a resource, you first have to get the specific capability before borrowing its underlying resource. This can be done within transactions.</p><pre>account.<strong>getCapability</strong>&lt;...&gt;(/public/MyCapability).<strong>borrow</strong>()</pre><h4>Interact with transactions and scripts</h4><p>Transactions allow you to mutate on-chain data. On Flow, transactions are written in Cadence. They usually consist of two stages: Prepare and execute.</p><pre>transaction {<br>  <strong>prepare</strong> (acct: AuthAccount) {<br>    ...<br>  } <br>  <strong>execute</strong> {<br>    ...<br>  }<br>}</pre><p>For each signer of the transaction, the corresponding AuthAccount is passed to the prepare phase of the transaction, providing full access to the storage as well as the private and public domains of the signing account.</p><p>If you only want to query on-chain data without mutating it you can run a script. In Cadence, scripts consist of a public function main that is run on execution:</p><pre>pub fun main () {<br>  log(&quot;Hello world!&quot;)<br>}</pre><h4>Further readings</h4><p>If you want to start building quickly with Cadence, check out the official tutorial series, in which you will code a whole marketplace with integrations for fungible and non-fungible tokens.</p><ul><li><a href="https://docs.onflow.org/cadence/tutorial/01-first-steps">Cadence tutorial series</a></li></ul><p>When you’re looking for a more comprehensive and in-depth documentation of the language, check out the thorough Cadence reference:</p><ul><li><a href="https://docs.onflow.org/cadence/language">Cadence language reference</a></li></ul><p>Anytime you want to try Cadence without having to set up a local development environment, take a look at the Cadence Playground:</p><ul><li><a href="https://play.onflow.org/">Cadence playground</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e685c34b544" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Cadence and Flow will revolutionize smart contract programming]]></title>
            <link>https://medium.com/coinmonks/how-cadence-and-flow-will-revolutionize-smart-contract-programming-607bd05b49b?source=rss-e0a9d756dafc------2</link>
            <guid isPermaLink="false">https://medium.com/p/607bd05b49b</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[cadence]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[flow]]></category>
            <dc:creator><![CDATA[Benjamin Ebner]]></dc:creator>
            <pubDate>Tue, 06 Apr 2021 08:52:04 GMT</pubDate>
            <atom:updated>2021-04-06T08:52:04.772Z</atom:updated>
            <content:encoded><![CDATA[<p>By leveraging the power of resources, the programming language of Flow — Cadence — brings exciting new ideas to the ledger-centered world of smart contracts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9aqBPbb70U9fJTQm" /><figcaption>Photo by <a href="https://unsplash.com/@ryanquintal?utm_source=medium&amp;utm_medium=referral">Ryan Quintal</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>At the very time of finishing this article, the news broke: Dapper Labs, the company behind the Flow blockchain, just managed to secure another financing round of $305 million. To me, this didn’t come as a surprise.</p><p>Yes, obviously there is NBA Top Shot. But to be honest, there are tons of other reasons why this project looks promising: the user-friendly and developer-oriented philosophy, the innovative scaling approach or simply the great team behind the project, which has already given the crypto world such wonderful innovations like Cryptokitties (and with it the ERC721-standard).</p><p>But in my view, the real innovation lies at the core of the technology, its smart contract language <strong>Cadence. </strong>This is why I am dedicating a whole series of articles exploring the language in-depth, starting with a general overview of the core principles.</p><h4>Spoiler: It’s not all about NFTs</h4><p>Before diving into the details, let’s get something straight. When talking about Flow, people seem to intuitively associate it with non-fungible tokens — no wonder, given the breathtaking success of NBA Top Shot. But you’re missing out on the best part if you stop there.</p><p>One of the most disruptive aspects of Cadence is actually the implementation of fungible tokens. As such, the fungible token implementation also happens to be a great illustration of one of the main disruptive paradigms of Cadence: <strong>Resource-orientation</strong>.</p><p>In order to grasp this concept, let’s have a look at something familiar and incrementally work our way towards the new ideas that Cadence brings to the table.</p><h4>Solidity and the ledger-centered approach</h4><p>Let’s start with an implementation of a fungible token on Ethereum, a very naive implementation indeed. It highlights the features of what I call a ledger-centered approach or the philosophy of the central mapping.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9ec7438854158a0634b0b15c8fe12de2/href">https://medium.com/media/9ec7438854158a0634b0b15c8fe12de2/href</a></iframe><p>We have a single smart contract with two functions: a mint function that allows us to print money out of thin air, and a send function, which opens up the possibility to send money to someone else. But the most important entity of this contract is the data structure at the top of the contract: <strong>The mapping of balances</strong>.</p><pre>mapping(address =&gt; uint) public balance;</pre><p>This is the essence, this is all we need; the data that creates value, that gives ether and takes ether. It is what essentially constitutes every fungible token on Ethereum: one piece of state. And that state, while being changed and transformed by somewhat complex contract functions, always remains the beating heart of everything: A central ledger.</p><h4>Problems with central ledgers</h4><p>For people in crypto, this makes perfect sense, but for people outside the space, chances are that it doesn’t. And honestly, why should it?</p><p>Yes, we may laugh at questions like “Wait, where are my Bitcoins actually stored?” or “How much Ether can my wallet hold?”. But just like the questions of a child, their answers turn out to be really hard to come by once we have finished laughing.</p><p>Let’s look at it this way: In our daily life we encounter money as a resource, something we can touch, something we can feel, something we can put under our pillow. Sure enough, when we put our money in the bank or we work in a company, we will certainly stumble upon ledgers, right. But the thing is, in our traditional money system, these ledgers all <em>reference</em> real-world resources, those things we can feel or touch or stash in our purse.</p><p>Unlike Ethereum. In Ethereum, as in many other blockchain networks, the ledger effectively <em>is </em>the currency, thereby creating a<strong> mismatch between different mental models of the user</strong>. To me, this is the main reason why newcomers to the crypto space have such a hard time wrapping their head around everything. And to be fair, the whole thing is somewhat counter-intuitive, wouldn’t you say?</p><p>Besides, the whole ledger-centric approach also gets us in some technical trouble. Let’s say we do not only own a stash of KittyCoins, but also some other tokens like DonkeyCoin and SquirrelCoin. If we want to see all the balances of all the different currencies we own, we will have to look into every single ledger of every single currency — that is every single smart contract at every single address — just to get an overview of our funds. This can be very tedious for developers and users alike, and things get even more complicated once you start interactions between different contracts themselves.</p><p>Now continue this line of thought to the criminal side of things. The central ledger poses a huge security risk. For users, it is a single store of value; for hackers, it’s a honeypot. Just think of the five-million dollar DAO-heist that almost killed Ethereum.</p><p>Enter: the resource-oriented paradigm.</p><h4>The resource-oriented paradigm</h4><p>Cadence shifts the paradigm from a central ledger to what I call distributed resources. Before we can look at the actual implementation, we have to talk about accounts on Flow and how they differ from accounts on Ethereum. There is a great article on this topic which you should check out:</p><p><a href="https://www.decentology.com/guides-and-tutorials/blockchain-accounts-flow-vs-ethereum">So, How Are Accounts on Flow Different from Accounts on Ethereum?</a></p><p>The key takeaway is: Unlike Ethereum, Flow does not have this idea of different accounts for users and contracts. In Flow, smart contracts (and any kind of resources) are actually stored in the account itself, and one account can store multiple smart contracts. They live in a specific sub-directory of the account and can be made public or private with certain capabilities, a topic beyond the scope of this article.</p><p>Why is this important? Because it allows for another level of digital asset ownership, where a user actually <em>owns</em> the resource in their account, rather than relying on an entry in an external ledger, stored in some remote smart contract.</p><p>So the interesting question now is: How does the resource look? Let’s continue where we left off and follow our fungible token example. The following is an implementation of a fungible token, taken from the Flow docs.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5686c4727c1f7064b33855bfbfdde68b/href">https://medium.com/media/5686c4727c1f7064b33855bfbfdde68b/href</a></iframe><p>As you can see, this poses a fundamentally different conception of ownership design. Rather than implementing a central contract with user balances, we create the balance of a user as an individual resource — a vault. And this vault is stored directly in the account of the respective user; it is <em>actually</em> owned by the user, thereby completely decentralizing ownership.</p><p>In order to receive tokens, a user simply has to implement the Receiver interface (containing the deposit function) into his or her account and make it publicly callable. Any other user can then call this function in order to deposit tokens to the users vault. Conversely, in order to send tokens, a user has to implement the Provider interface (containing the withdraw function), of course this time in a private manner.</p><h4>The real deal: Linear types and the move operator</h4><p>The withdraw function is the place where the true magic of Cadence becomes visible, and it is in my view the most interesting part of the whole implementation. The first line of the function body looks familiar: we simply subtract the amount of tokens from our own token balance. But now on to the special part:</p><pre>return &lt;- create Vault(balance: amount)</pre><p>As we can see, we do not simply send tokens and increment some recipient balance. What we actually do is create another resource in form of a vault (let’s call it our sub-vault) and we instantiate this sub-vault with the balance we want to send. As a sidenote, resources in Cadence can only be created in the scope that they are defined in, so we can instantiate our sub-vault, but we couldn’t create an instance of a resource that is not defined in our account.</p><p>This newly created sub-vault, an own resource by itself, is then sent off with the move operator (&lt;-), a small detail with huge impact. Here is a paragraph from the Cadence docs on the move operator:</p><blockquote>When a resource is used in an assignment, parameter, or return value, it is moved to a new location and the old location is invalidated. This ensures that the resource only ever exists in one location at a time.</blockquote><p>In short, the move operator (and with it the use of linear types) prevents a lot of bad things happening, bad things that can very well happen in any other blockchain network when interacting with smart contracts. It effectively makes it impossible to either loose nor wrongfully duplicate resources. The resource can only live in one location at one time, guaranteed. To me, this is a game changer in terms of digital asset ownership, usability and security.</p><h4>Advantages of resource-orientation</h4><p>The resource-oriented approach of Cadence outlined above has a few major advantages over central ledgers.</p><ul><li>First, the approach <strong>enhances decentralization</strong> that is at the heart of blockchain technology. If you think about it, the implementation of a Solidity-style fungible token is actually quite centralized: One contract to rule them all. In Cadence, instead of having a central point of failure, the currency is spread-across all accounts in form of resources (in this case: vaults).</li><li>Second, it enforces<strong> security</strong>. Building on the previous point, the enhanced decentralization effectively minimizes the area of vulnerability. We avoid building a central honeypot that attracts hackers. Instead of robbing one central contract, an attacker would have to infiltrate every single vault of every single user, effectively reducing the feasibility of large-scoped attacks.</li><li>Third, there is also improved <strong>usability</strong> for end-users. If the person you want to send tokens to does not have a receiver interface for this currency implemented, you can simply not call the deposit function of the account. This effectively puts an end to all those wrongfully sent and never recovered coins out there in the Ether.</li><li>Last but not least, the concept of a resource owned at the account-level is much <strong>closer to the mental models</strong> of the average user. The idea of actually possessing a vault where the tokens are stored is much more intuitive than having to grasp the idea of a ledger being the currency. It is basically like having your own purse with neatly organized compartments for the different coins your using.</li></ul><h4>So, what’s better?</h4><p>We are at a critical point in blockchain evolution. The first and second cycle have proven that there are many use-cases for the technology out there that even opened the gates for large scale institutional inflows to the space. In my view, there is still one main hurdle ahead: the mass-adoption of the technology by end-users and developers alike, an adoption that goes beyond speculative involvement. And this is where Flow really shines. As we have seen, it is the smart design of the underlying technology that legitimately backs their promise of a user-friendly, developer-friendly ecosystem.</p><p>Having said that, I don’t think that Flow will be the only way forward. Let’s face it: Ethereum will not be going anywhere in the foreseeable future, especially with layer two scaling solutions flourishing now. Its ecosystem is huge and many major smart contracts are battle-tested and audited, a very crucial argument that cannot be made for any implementation on Flow just yet.</p><p>But of course, maximalist arguments almost always miss the point, and the team of Flow has (opposed to some other projects) made it very clear that they do not want to be part of the “Ethereum killer” narrative in any way.</p><h4>A multi-chain future</h4><p>I am convinced that the future is multi-chain, and Flow might take the first step in the onboarding of new users to the space, together with easy-to-use, semi-custodial wallets like Blocto. Covering these use-cases where blockchain technology can slowly be mixed into familiar experiences of users is a task I think Flow is very well suited to do. It also aligns very well with their overall focus and the selection of partners and product launches on the chain. If a user is more technical or a use-case requires more complex workflows, there will always be Ethereum, enabling more mission-critical, technically fine-grained implementations.</p><p>Either way, Flow is a huge enrichment to space, disrupting the current state of smart contract programming and bringing fundamentally new concepts to the table. The root of all this innovation, essentially what I wanted to show in this article, lies in Cadence, the smart contract language of Flow.</p><p>This is why I want to give a huge shout-out to the Flow-team for proposing such an innovative approach and wish them all the best for their future plans!</p><blockquote>Join Coinmonks <a href="https://t.me/joinchat/EPmjKpNYwRMsBI4p">Telegram group</a> and learn about crypto trading and investing</blockquote><h4>Also, Read</h4><ul><li>The Best <a href="https://medium.com/coinmonks/crypto-trading-bot-c2ffce8acb2a">Crypto Trading Bot</a> | <a href="https://blog.coincodecap.com/grid-trading">Grid Trading</a></li><li><a href="https://medium.com/coinmonks/top-10-crypto-copy-trading-platforms-for-beginners-d0c37c7d698c">Crypto Copy Trading Platforms</a> |<a href="https://medium.com/coinmonks/buy-bitcoin-on-wazirx-2d12b7989af1">How to buy Bitcoin on WazirX</a></li><li><a href="https://medium.com/coinmonks/coinloan-review-18128b9badc4">CoinLoan Review</a> | <a href="https://medium.com/coinmonks/crypto-com-review-f143dca1f74c">Crypto.com Review</a> | <a href="https://medium.com/coinmonks/huobi-margin-trading-b3b06cdc1519">Huobi Margin Trading</a></li><li><a href="https://medium.com/coinmonks/youhodler-vs-coinloan-vs-hodlnaut-b1050acde55a">YouHodler vs CoinLoan vs Hodlnaut</a> | <a href="https://blog.coincodecap.com/cryptohopper-vs-haasbot">Cryptohopper vs HaasBot</a></li><li><a href="https://medium.com/coinmonks/leveraged-token-3f5257808b22">Leveraged Token</a> | <a href="https://medium.com/coinmonks/crypto-exchange-dd2f9d6f3769">Best Crypto Exchange</a> | <a href="https://medium.com/coinmonks/paxful-review-4daf2354ab70">Paxful Review</a></li><li><a href="https://medium.com/coinmonks/crypto-arbitrage-guide-how-to-make-money-as-a-beginner-62bfe5c868f6">Crypto arbitrage</a> Guide | <a href="https://medium.com/coinmonks/how-to-short-bitcoin-568a2d0b4ae5">How to Short Bitcoin</a></li><li><a href="https://medium.com/coinmonks/buy-bitcoin-in-india-feb50ddfef94">How to buy Bitcoin in India?</a> | <a href="https://medium.com/coinmonks/wazirx-review-5c811b074f5b">WazirX Review</a></li><li><a href="https://medium.com/coinmonks/bitcoin-exchange-in-india-7f1fe79715c9">Bitcoin exchange in India</a> | <a href="https://medium.com/coinmonks/bitcoin-savings-account-e65b13f92451">Bitcoin Savings Account</a></li><li><a href="https://medium.com/coinmonks/binance-fees-8588ec17965">Binance Fees</a> | <a href="https://medium.com/coinmonks/botcrypto-review-2021-build-your-own-trading-bot-coincodecap-6b8332d736c7">Botcrypto Review</a> | <a href="https://medium.com/coinmonks/hotbit-review-cd5bec41dafb">Hotbit Review</a></li><li><a href="https://medium.com/coinmonks/my-experience-with-crypto-copy-trading-d6feb2ce3ac5">My Experience with Crypto Copy Trading</a> | <a href="https://blog.coincodecap.com/buycoins-review">BuyCoins Review</a></li><li><a href="https://medium.com/coinmonks/bybit-margin-trading-e5071676244e">Bybit Margin Trading</a> | <a href="https://medium.com/coinmonks/binance-margin-trading-c9eb5e9d2116">Binance Margin Trading</a> | <a href="https://medium.com/coinmonks/overbit-review-9446ed4f2188">Overbit Review</a></li><li><a href="https://medium.com/coinmonks/cryptocurrency-savings-accounts-be3bc0feffbf">Cryptocurrency Savings Accounts</a> | <a href="https://medium.com/coinmonks/yobit-review-175464162c62">YoBit Review</a> | <a href="https://medium.com/coinmonks/bitbns-review-38256a07e161">Bitbns Review</a></li><li><a href="https://medium.com/coinmonks/botsfolio-vs-napbots-vs-mudrex-c81344970c02">Botsfolio vs Napbots vs Mudrex</a> | <a href="https://medium.com/coinmonks/gate-io-exchange-review-61bf87b7078f">Gate.io Exchange Review</a></li><li><a href="https://medium.com/coinmonks/bitcoin-margin-trading-exchange-bcbfcbf7b8e3">Best Bitcoin Margin Trading</a> | <a href="https://medium.com/coinmonks/lolli-review-e6ddc7895ad8">Lolli Review</a> | <a href="https://blog.coincodecap.com/bityard-margin-trading">Bityard Margin Trading</a></li><li><a href="https://blog.coincodecap.com/create-nft">Create and sell your first NFT</a> | <a href="https://medium.com/coinmonks/localbitcoins-review-6cc001c6ed56">LocalBitcoins review</a></li><li><a href="https://medium.com/coinmonks/crypto-margin-trading-exchanges-428b1f7ad108">Crypto Margin Trading Exchanges</a> | <a href="https://medium.com/coinmonks/earn-bitcoin-6e8bd3c592d9">Earn Bitcoin</a> | <a href="https://blog.coincodecap.com/mudrex-invest-review-the-best-way-to-invest-in-crypto">Mudrex Invest</a></li><li><a href="https://blog.coincodecap.com/buy-ethereum-in-india">How to buy Ethereum in India?</a> | <a href="https://blog.coincodecap.com/buy-bitcoin-binance">How to buy Bitcoin on Binance</a></li><li><a href="https://blog.coincodecap.com/blockchain-courses">Top paid cryptocurrency and blockchain courses</a> | <a href="https://blog.coincodecap.com/pionex-vs-binance">Pionex vs Binance</a></li><li><a href="https://medium.com/coinmonks/mxc-exchange-review-3af0ec1cba8c">MXC Exchange Review</a></li></ul><blockquote><a href="https://medium.com/coinmonks/newsletters/coinmonks">Get Best Software Deals Directly In Your Inbox</a></blockquote><figure><a href="https://medium.com/coinmonks/newsletters/coinmonks"><img alt="" src="https://cdn-images-1.medium.com/max/584/1*BoDnKUyK8p4hitHAJZ5Pdw.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=607bd05b49b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/how-cadence-and-flow-will-revolutionize-smart-contract-programming-607bd05b49b">How Cadence and Flow will revolutionize smart contract programming</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>