<?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 helvantine on Medium]]></title>
        <description><![CDATA[Stories by helvantine on Medium]]></description>
        <link>https://medium.com/@helvantine?source=rss-47a88900b404------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9dtxuj0vzBHeRpU9utjcvg@2x.jpeg</url>
            <title>Stories by helvantine on Medium</title>
            <link>https://medium.com/@helvantine?source=rss-47a88900b404------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 13:26:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@helvantine/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[Building on Tezos: The Developer Stack]]></title>
            <link>https://levelup.gitconnected.com/the-tezos-developer-stack-cf49598f70c3?source=rss-47a88900b404------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf49598f70c3</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[tezos]]></category>
            <dc:creator><![CDATA[helvantine]]></dc:creator>
            <pubDate>Tue, 17 Jan 2023 07:09:33 GMT</pubDate>
            <atom:updated>2023-01-28T09:20:26.880Z</atom:updated>
            <content:encoded><![CDATA[<p>In the past year, the infrastructure and tools available to Tezos developers have matured into a world-class “developer stack”. In this blog post, I give readers an introductory overview of the toolbox.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FaANtB4drVD7dPVN.jpeg" /><figcaption>Courtesy of<a href="https://www.tzapac.com/articles/the-tezos-protocol-an-overview/"> TZ APAC</a></figcaption></figure><p><strong>Smart Contract Languages</strong></p><p>The center of any blockchain-based application is its smart contract suite. Typically, smart contract blockchain ecosystems have high-level programming languages that compile to a low-level language understood by the blockchain’s virtual machine.</p><p>Today, smart contract developers on Tezos can use multiple languages that compile down to Michelson, primarily the <a href="https://tezos.com/developers/languages/#ligo">following</a>:</p><ol><li><a href="https://smartpy.io/ide">SmartPy</a>. A Python library that allows you to write smart contracts in one of the world’s most popular languages. The features that stand out include an integrated testing framework and highly convenient <a href="https://smartpy.io/ide">web IDE</a>.</li><li><a href="https://ligolang.org/">Ligo</a>. A smart contract language available in multiple syntaxes, Ligo is the choice for functional programers. A notable feature of Ligo is its support for mutation testing, whereby certain elements of the source code are changed to check if test cases fail.</li><li><a href="https://archetype-lang.org/">Archetype</a>. Used by both <a href="https://github.com/rarible/tezos-protocol-contracts">Rarible</a> and <a href="https://github.com/ubisoft/quartz-tezos-contracts">Ubisoft</a> for their Tezos integration, Archetype is syntactically quite delightful as a smart contract language. Its maintainers offer an abundance of <a href="https://completium.com/docs/templates">examples</a>, in addition to a comprehensive and user-friendly <a href="https://completium.com/docs/cli">IDE</a>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/0*GX3DIzUghKDp3egX.png" /><figcaption>Courtesy of <a href="https://smartpy-io.medium.com/">SmartPy.io</a> on Medium.</figcaption></figure><p><strong>Integrated Development Environments</strong></p><p>Both SmartPy and Ligo offer web IDEs. For local development, however, there are several options for the development, testing and origination of smart contracts:</p><ol><li><a href="https://completium.com/docs/cli"><strong>Completium</strong></a><strong> </strong>is focused on Archetype only, but offers a great interface and rich documentation for all user actions, from account generation to Github workflows.</li><li><a href="https://chinstrap.io/"><strong>Chinstrap</strong></a>. A comprehensive framework supporting all smart contract languages on Tezos. Convenient and well-documented, but unclear whether maintained.</li><li><a href="https://taqueria.io/"><strong>Taqueria</strong></a> supports all smart contract languages on Tezos. Its features include a local sandbox and contract type bindings that can be used with Taquito, Tezos’ Typescript library. It is officially still in “beta”, but highly promising!</li><li><a href="https://github.com/alis-is/tea"><strong>TEA</strong></a> is developed by the team building the “<a href="https://docs.tez.capital/">tez.capital</a>” suite of baker tools. It currently supports the testing and development of Ligo smart contracts only.</li><li><strong>SmartPy</strong> offers a simple <a href="https://smartpy.io/docs/introduction/start_project/">CLI interface</a> for local development, testing and deployment.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*XuqUUmNmjmQ554yfP0MkfQ.png" /><figcaption>Courtesy of Taqueria</figcaption></figure><p>If you want to use a sandbox that is “separate” from the above IDEs , you can run <a href="https://tezos.gitlab.io/flextesa/"><em>flextesa</em></a><em> </em>on a Docker container.</p><p>For an alternative experience, <a href="https://visualtez.com/">VisualTez</a> offers a visual programming interface to develop smart contracts on Tezos.</p><p><strong>Interaction Libraries</strong></p><p>Client libraries are tremendously helpful for interacting with a blockchain, including with any smart contracts you write. In this respect, the Tezos ecosystem offers options across languages and frameworks:</p><ol><li><a href="https://tezostaquito.io/">Taquito</a> (Typescript) (maintained by ECAD Labs)</li><li><a href="https://pytezos.org/">Pytezos</a> (Python) (maintained by Baking Bad)</li><li><a href="https://netezos.dev/">Netezos</a> (.NET) (maintained by Baking Bad)</li><li><a href="https://blockwatch.cc/blog/introducing-tzgo-a-low-level-golang-library-for-tezos/">TzGo</a> (Golang) (maintained by Blockwatch)</li><li><a href="https://github.com/airgap-it/tezos-rust-sdk">Tezos Rust SDK</a> (maintained by Airgap)</li><li><a href="https://github.com/airgap-it/tezos-swift-sdk">Tezos Swift SDK</a> (maintained by Airgap)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*zmqt5WJ-5B2T-gBP1p9Yhw.png" /><figcaption>Courtesy of BakingBad.</figcaption></figure><p><strong>Indexers</strong></p><p>In order to minimize gas and storage fees, smart contracts (and the blockchain itself) are typically optimized for “write” operations. For this reason, off-chain indexers are used by applications to store on-chain data in a way that optimizes for “read” requirements.</p><p>There are three open-source indexing frameworks on Tezos:</p><ol><li><a href="https://dipdup.io/">DipDup</a>, a Python framework by Baking Bad.</li><li><a href="https://dappetizer.dev/">Dappetizer</a>, a Typescript framework by Agile Ventures.</li><li><a href="https://github.com/blockwatch-cc/tzindex">TzIndex</a>, a Golang framework by Blockwatch.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OAVYQFG3vlkePyYFFig_Mg.gif" /><figcaption>Dappetizer in action</figcaption></figure><p><strong>RPCs</strong></p><p>The Tezos ecosystem offers <a href="https://levelup.gitconnected.com/the-tezos-developer-stack-cf49598f70c3">multiple free RPC nodes</a> for use by the general public. For more advanced requirements, the following paid options are available:</p><ol><li><a href="http://midl.dev/">MIDL.DEV</a> (operated by a core protocol contributor)</li><li><a href="https://node.exaion.com/">Exaion</a> (operated by a subsidiary of the French electric utility EDF)</li><li><a href="https://chainstack.com/protocols/tezos/">Chainstack</a></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*30yxIONMPu-jE6hl.png" /><figcaption>MIDL.DEV also operates ecosystem initiatives like the Impact Baker for Ukraine and tezocracy.xyz</figcaption></figure><p><strong>Testnet Faucets</strong></p><p>Testnets are a fundamental tool for developing blockchain-based applications. Tezos’ permanent testnet is called Ghostnet.</p><p>To get testnet tez on Ghostnet, you can:</p><ul><li>Use <a href="https://faucet.marigold.dev/">https://faucet.marigold.dev/</a> (FA2 tokens also available)</li><li>Use <a href="https://faucet.ghostnet.teztnets.xyz/">https://faucet.ghostnet.teztnets.xyz/</a></li><li>Use @tezos_faucet_bot on Telegram.</li></ul><p><strong>Wallets</strong></p><p>Finally, dapp builders will typically want to integrate with wallets on the frontend. On Tezos, the norm is to use <a href="https://docs.walletbeacon.io/">Beacon</a>, an SDK that allows you to integrate all ecosystem wallets in a few lines of code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*cSINSS4GSRIeaXwMi-PBSg.png" /><figcaption>The Beacon modal on objkt.com</figcaption></figure><p>—</p><p>Happy coding! 🚀</p><h3>Level Up Coding</h3><p>Thanks for being a part of our community! Before you go:</p><ul><li>👏 Clap for the story and follow the author 👉</li><li>📰 View more content in the <a href="https://levelup.gitconnected.com/?utm_source=pub&amp;utm_medium=post">Level Up Coding publication</a></li><li>🔔 Follow us: <a href="https://twitter.com/gitconnected">Twitter</a> | <a href="https://www.linkedin.com/company/gitconnected">LinkedIn</a> | <a href="https://newsletter.levelup.dev/">Newsletter</a></li></ul><p>🚀👉 <a href="https://jobs.levelup.dev/talent/welcome?referral=true"><strong>Join the Level Up talent collective and find an amazing job</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf49598f70c3" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/the-tezos-developer-stack-cf49598f70c3">Building on Tezos: The Developer Stack</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DeFi: The Road (Back) to Censorship Resistance]]></title>
            <link>https://medium.com/geekculture/defi-the-road-back-to-censorship-resistance-e376c6c9a668?source=rss-47a88900b404------2</link>
            <guid isPermaLink="false">https://medium.com/p/e376c6c9a668</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[helvantine]]></dc:creator>
            <pubDate>Sun, 25 Dec 2022 14:47:22 GMT</pubDate>
            <atom:updated>2022-12-26T16:14:17.499Z</atom:updated>
            <content:encoded><![CDATA[<p>As the year draws to a close, the term “decentralized finance” might evoke visions of a collapsed casino that transferred generational wealth to North Korea.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*A8Xystp0eAo2BI7U" /><figcaption>North Korean hackers are understood to have stolen $1.2 billion in crypto since 2017, mostly from DeFi. (<a href="https://decrypt.co/117857/north-korean-hackers-have-stolen-1-2b-crypto-since-2017">Decrypt</a>)</figcaption></figure><p>If we look past the various protocol exploits and illusory-value applications, however, decentralized finance has delivered primitives that hold the promise of a radically-improved financial system, based on the following qualities:</p><ol><li>efficiency</li><li>transparency</li><li>resilience</li><li>inclusion</li><li>self-sovereignty via censorship resistance</li></ol><p>Surveying the landscape today, the space appears to have executed successful proofs-of-concept on the first <em>four </em>dimensions. Using protocols like Aave, Enzyme and Uniswap, anyone with a crypto-wallet can — respectively — save, invest and trade instantaneously with no custodial intermediaries. Activity is governed and recorded transparently on the blockchain, and blue-chip protocols have shown more resilience than many centralized counterparts in adverse conditions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NAf68lUn-dCsWUmi.png" /><figcaption>On Aave, users can borrow against collateral and earn interest on their deposits. Essentially – it is an autonomous, borderless and permissionless bank.</figcaption></figure><p>On the final dimension, however, the movement is falling short: resistance to censorship, the pillar of self-sovereignty, depends not only on the success of the application layer, but also on the healthy construction of the <em>asset</em> layer.</p><p>Today, if we consider Ethereum, the most relevant chain for decentralized finance, key assets have censorable “backends”:</p><ol><li>USDC, USDT, BUSD and other fiat-collateralized stablecoins managed by entities that can freeze users’ on-chain balances.</li><li>WBTC, whose underlying Bitcoin reserve is held by U.S. custodian Bitgo.</li><li>DAI, a synthetic USD issued permissionlessly against a base of collateral consisting in large part of fiat-collateralized stablecoins.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*sAtO1lu2gED-Hmuq.png" /><figcaption>Ethereum’s stablecoin majors are all directly or indirectly dependent on censorable assets. (Courtesy of <a href="https://www.coingecko.com/learn/what-are-stablecoins-top-5-stablecoins-by-market-cap">CoinGecko</a>)</figcaption></figure><p>While these monetary assets certainly bring value to the on-chain economy, they also undermine the sovereignty of Ethereum by competing with its native asset. To understand the importance of monetary premium for <em>any</em> blockchain, listen to this <a href="https://zeroknowledge.fm/258-2/">podcast</a> by EF researcher Justin Drake or read my previous <a href="https://medium.com/geekculture/public-blockchains-an-endgame-thesis-bb0351a03e02">article</a>. But for simplicity, consider the following scenarios using Ethereum for illustrative purposes:</p><ol><li>The mass adoption of Ethereum happens, but transactions are mostly denominated in stablecoins like USDC. This undermines ether’s adoption as a monetary asset, leaving the chain without sufficient “economic security” to resist a state-level attack based on stake acquisition.</li><li>With Metamask tracking user IP addresses and large share of economic activity denominated in regulated stablecoins, balances can be seized “at whim” by the authorities.</li><li>Ethereum is undergoing a contentious hard fork, and stablecoin issuers must choose where their coins are redeemable. As stablecoins play a significant role in the on-chain economy, the issuers’ decision — or those of the applicable regulator(s) — will have a decisive impact, circumscribing the sovereignty of the chain.</li><li>The U.S. government decides that DAI, a permissionless and unregulated representation of the U.S. dollar, should not exist. It asks actors like Circle to freeze any balances in Maker CDPs. DAI depegs precipitously and an (un)healthy dose of on-chain chaos ensues.</li></ol><p>These scenarios are not likely, but neither are they outlandish. All defeat foundational purposes of cryptocurrency, namely financial self-sovereignty and the separation of money and state. If a public blockchain must be “sovereign” to realize this vision, its native currency must succeed as a monetary asset. And today, rather than taking this vision forward, segments of “decentralized” finance risk acting as a Trojan horse for U.S. financial dominance through entities like Circle.</p><p>This does <em>not </em>mean that the current suite of applications lacks utility. On the contrary, anyone with a cryptocurrency wallet can now access a full range of financial services, and this is monumental. Whether it is “decentralized”, however, is a more complicated matter. If it is not decentralized, it is simply better categorized as a “fintech” innovation, not a monetary, political or moral one.</p><p>In a certain sense, this highlights the value of Bitcoin. Its focus on being a monetary asset, rather than a global computer, makes it insusceptible to “capture” by decentralized finance. However, smart-contract blockchain ecosystems <em>can</em> mitigate the risk of capture with a few strategic efforts:</p><ol><li>The ecosystem should unite around a stablecoin collateralized <em>solely</em> by the native asset, de-prioritizing those relying on centralized intermediaries. This not only removes the censorship vectors, but also promotes the usage of the native currency as collateral.*</li><li>The ecosystem should manage upgrades without hard forks via on-chain governance. If there is ever ambiguity on the canonical fork, stablecoin issuers are effectively in control. This attack vector is mitigated if an on-chain political system exists to offer a clear framework on what constitutes a legitimate evolution.</li><li>Linking the points above, the on-chain political system can be used to subsidize liquidity on the native asset and ecosystem stablecoin, prioritizing the “national” currencies. Read about <a href="https://news.tezoscommons.org/liquidity-baking-bridging-deep-liquidity-for-tez-3a3a21ccc3b4">liquidity baking</a> on Tezos as a related example.</li><li>Ecosystem applications should advance the native asset and/or ecosystem stablecoin as the main transactional currency/ies.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Cxj6kLRB08wBesj4.png" /><figcaption>RAI is an example of an Ethereum stablecoin backed solely by ETH.</figcaption></figure><p>And in general, the cryptocurrency industry might benefit from better terminology — for instance, “open finance” versus “self-sovereign finance”.</p><p>Naturally, the above steps require a cohesive socio-political layer capable of collective action. They are not intended as a conclusive manual, but as a tentative mental model to (re)build better.</p><p>Thank you for reading!</p><p>_________________________________________________________________</p><p><em>* Discussing the right design of algorithmic stablecoin is beyond the scope of this article, but — in a nutshell — it should be over-collateralized, have self-adjusting interest rates that can turn negative and depend on an oracle system with minimal censorship vectors.</em></p><p><em>Not investment advice. Interested in discussing these ideas? Reach out to helvantine@pm.me.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e376c6c9a668" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/defi-the-road-back-to-censorship-resistance-e376c6c9a668">DeFi: The Road (Back) to Censorship Resistance</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[Public Blockchains: An Endgame Thesis]]></title>
            <link>https://medium.com/geekculture/public-blockchains-an-endgame-thesis-bb0351a03e02?source=rss-47a88900b404------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb0351a03e02</guid>
            <category><![CDATA[tezos]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[helvantine]]></dc:creator>
            <pubDate>Mon, 28 Nov 2022 15:01:04 GMT</pubDate>
            <atom:updated>2022-11-29T10:06:02.655Z</atom:updated>
            <content:encoded><![CDATA[<h4>And a call to first principles.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*X9HD51aRg9UYrc_U.jpg" /></figure><p>When Aptos launched earlier this year, it joined a smorgasbord of public blockchains vying for prominence. And, considering the imminent launch of Sui, it won’t be the last.</p><p>This made me reflect on the endgame for public blockchains. Do all the layer-1 blockchains, from Algorand to Zilliqa, have a future? In fact, what must a layer-1 <em>be </em>in order to have long-term relevance?</p><p>Unfortunately, the question became more existential with the spectacular collapse of FTX. The frost of (self-)doubt has extended to many an old-timer. Is the grand experiment failing? Why are we here?</p><p>In this article, I articulate a thesis for the endgame of public blockchains.</p><p>The TL;DR is that a blockchain must, above all else, be a <strong>monetary</strong> and <strong>political</strong> project. If a blockchain is not creating a global store-of-value that underpins a sovereign digital economy (or “digital commonwealth”) — it is headed for a dead-end.</p><p>To understand why, let us begin by covering some fundamental principles.</p><h3>Principle I: technology is table stakes — only</h3><p>Solid technology is a minimum for any blockchain to compete, but — over a long-enough time frame — it can hardly create a unique selling point or economic moat in a space that is fundamentally open-source. If the narrative of a layer-1 blockchain is based on a technological angle such as throughput or virtual machine, a superior alternative will emerge soon enough, quite possibly building on the former’s code.</p><p>This is not an abstract, theoretical point: layer-1 blockchains like Avalanche, Binance Smart Chain and Polygon came to life as faster and cheaper clones of Ethereum, whereas Aptos is already described as the “<a href="https://decrypt.co/112219/solana-killer-aptos-launches-its-highly-anticipated-mainnet">Solana Killer</a>” for its anticipated throughput.</p><p>In short, even if having a technological edge is a prerequisite for relevance, it is not a mechanism for long-term value capture. A layer-1 blockchain must be something more.</p><h3>Principle II: fees will tend to zero</h3><p>Blockchains are locked in a fierce race to offer users the lowest network fees.</p><p>The incumbent smart contract platform Ethereum is shifting transactions <em>off</em> the main chain (L1) gradually via assorted “rollup” technologies. This will reduce demand for layer-1 blockspace, and — in turn — the price of gas. The combination of lower transaction volumes <em>and </em>transaction unit costs will trend Ethereum’s “fee revenue” downwards.</p><p>Meanwhile, every challenger to Ethereum is placing high throughput and low transaction fees at the core of their competing designs and narratives.</p><p>As Cosmos’ Sunny Agarwal and Zaki Manian explained recently, transaction fees should <a href="https://www.youtube.com/watch?v=pO5OO5vOlys&amp;t=6010s">“not be a meaningful source of revenue”</a> for layer-1 blockchains because <a href="https://www.youtube.com/watch?v=pO5OO5vOlys&amp;t=4680s">“block space is going to be cheap in the long-run”</a>.</p><p><em>Ergo</em>, narratives of value accrual based on fees will not hold in the long-term:</p><ol><li>Fees will not make a blockchain’s native token deflationary.</li><li>Fees will not represent meaningful yield on the native asset for proof-of-stake validators.</li><li>Fees cannot be relied upon to cover a network’s security budget.</li></ol><h3>Principle III: no (valuable) token, no security</h3><p>In proof-of-work, a valuable token incentivises miners to invest in hashing power. The higher a network’s <a href="https://www.investopedia.com/hash-rate-6746261">hash rate</a>, the lower its vulnerability to a 51% attack. In proof-of-stake, the price of the token is a key factor in the value of the total stake. The more valuable the total stake, the more expensive it is to undermine the network via stake acquisition. In short, the success of a network as a secure and credibly-neutral economic layer cannot be divorced from the success of its native token.</p><h3>A Thesis For Longevity</h3><p>Considering the three principles above, I propose that a public blockchain will only endure if it succeeds in delivering a self-sovereign currency that underpins a thriving digital commonwealth.</p><p>The concept of a digital commonwealth echoes the journey from “startup society” to “network state” described in Balaji Srinivasan’s <a href="https://thenetworkstate.com/">eponymous book</a>. It can be understood as an online community united by shared interests, based on a <em>moral</em> innovation and capable of collective action.</p><p>It is important that a startup society’s basic innovation has a moral basis. It attracts “citizens”, rather than consumers or mercenaries. Bitcoin’s moral innovation — in essence, the separation of money and state — has demonstrated its staying power. An innovation focused on cost or scalability, on the other hand, can hardly form the basis of a new society.</p><p>With a moral innovation at its core, a startup society must also clearly build a strong social layer. As Balaji says, “community building on steroids”. But if this society is based on a blockchain, I believe two other aspects merit particular focus: the social smart contract and the native currency.</p><h4>Social Smart Contract</h4><p>A portmanteau combining Rousseau’s concept of the social contract with the blockchain concept of the smart contract, the term “social smart contract” denotes the programmatic governance parameters (or terms and conditions) that bind a blockchain’s participants.</p><p>At a minimum, a blockchain’s social smart contract should uphold censorship-resistance and credible neutrality. If OFAC can meaningfully initiate or cause the exclusion of Iranian or Russian users from a given blockchain, it becomes hard to find a moral premise for this blockchain’s existence. In fact, one could even question the commercial premise, as such a blockchain effectively competes with permissioned systems ranging from Google Cloud to Visa.</p><p>Beyond this, a blockchain’s social smart contract should offer democratic mechanisms for evolutionary change and collective action. This is not only about the political importance of empowering “citizens” to shape the future of their “society”, but also about absorbing innovation and funding public goods. Tezos’ community governance model is an early example, having facilitated several chain upgrades and a <a href="https://news.tezoscommons.org/what-is-liquidity-baking-a-k-a-sirius-dex-140fc2bd0ac9">subsidy mechanism</a> (via inflation) for tez liquidity.</p><h4>Native Asset</h4><p>A public blockchain’s native currency is its backbone, for the following reasons:</p><ol><li>As per principle I, technology can be copied, making the native asset a key instrument for creating sticky network effects.</li><li>As per principle II, blockspace is ultimately a cheap commodity, leaving the native asset as the blockchain’s only pathway to value capture.</li><li>As per principle III, the blockchain’s social smart contract is vulnerable to a coordinated attack if the market capitalization of the native asset does not reach critical mass.</li><li>A digital commonwealth without a sovereign currency is not sovereign, rendering it pointless existentially.</li></ol><p>Rather than focus on the native currency, many layer-1s optimize for the application layer with priorities like scalability and throughput. Setting aside the resulting blockchain designs that have compromised the social smart contract, this approach puts the cart before the horse. As Lyn Alden <a href="https://www.lynalden.com/lightning-network/">explains</a>, it is analogous to building Mastercard or Visa without an underlying dollar system:</p><blockquote>These [projects] [sacrificed] some degree of stability, decentralization, immutability or auditability in order to optimize themselves as higher-throughput media of exchange, even though hardly anyone was using them as a store of value yet. They were basically just building fintech payments companies and expecting to compete with Visa, despite having way worse user experience, way slower speeds, and way less transaction throughput.</blockquote><p>For clarity, a blockchain’s application layer is crucial to attract developer talent and export utility to the world. However, without a strong native currency, it becomes <a href="https://twitter.com/LynAldenContact/status/1592331973858557952">“an extension of the incumbent fiat system”</a>. This not only kills the moral innovation, it is also economically precarious for an open-source technology that charges fees tending towards zero. It is for these reasons that Ethereum Foundation researcher Justin Drake is pushing the Ethereum ecosystem to <a href="https://www.youtube.com/watch?v=9q6RAQVkeZ4">“make ether succeed”</a> as a monetary asset.</p><p>Does optimizing for the native currency sacrifice the application layer? With the rise of modular blockchain construction, not really. The vision of high-throughput, custom-VM rollups secured by a maximally decentralized chain is not far from reality. In other words, the “blockchain trilemma” is ultimately solved.</p><p>The most compelling pathway to critical mass is to design the native asset as <strong>universal money</strong>.</p><p>Partially, money is a meme, whether centered on the Federal Reserve, EIP-1559 or the face of a Golden Retriever. Yet, it also has design aspects. In the latter respect, how do you optimally craft blockchain-powered money?</p><p>To begin with, just as a social smart contract requires a strong cryptocurrency to be credible, a cryptocurrency requires a credible social smart contract to be strong. It is difficult to envision anything that is not credibly-neutral and censorship resistant being an alternative to the yuan or dollar systems. The following choices are therefore problematic:</p><ol><li><strong>A high barrier of entry for block producers. </strong>The social smart contract is more resilient if it is upheld by a set of block producers that is broad-based and easily accessible. Conversely, a restricted validator set (whether by design or <em>de facto</em>) leads to censorship vectors and a form of “elite capture”. This is a function of hardware requirements, minimum stake, ease of setup and the severity of downtime penalties — among other things.</li><li><strong>An</strong> <strong>investor-centric initial distribution. </strong>It is hard to envision a<em> real</em> future alternative economic system being owned or orchestrated by a small clique of exchanges and venture capitalists.</li><li><strong>A weak or ill-defined framework to alter the social smart contract. </strong>A social smart contract that can be altered through clear democratic procedures is more credible than one that can be altered via informal, backchannel consensus — or worse, a set of admin keys.</li><li><strong>Illiquid proof-of-stake. </strong>This design requires locking up native tokens and, in some cases, exposing them to slashing risk in order to accrue inflationary block rewards. The ensuing friction reduces the percentage of total circulation dedicated to securing the network — e.g. Ethereum is secured by only <a href="https://dune.com/hildobby/ETH2-Deposits">~12%</a> of ETH supply, a number that is closer to 75% for <a href="https://tzstats.com/">Tezos</a> and <a href="https://cardanoscan.io/">Cardano</a>. It also inevitably leads to the rise of liquid staking derivatives. As LSDs tend to concentrate the native token with a handful of issuers, they have been described as a <a href="https://notes.ethereum.org/@djrtwo/risks-of-lsd">“stratum for cartelization”</a>. (And, if LSDs do not emerge, the native token is subject to an inflation tax if you want it available for usage, which is not a compelling design for money)</li></ol><p>A final reflection is that tokenomics must elegantly balance the objectives of network security and monetary soundness. Here, the first principle is that supply caps are a design flaw memed into credibility. Namely, if fees cannot be a compelling source of revenue as per principle I, the only long-term compensation mechanism for block producers is inflationary rewards. You can read more in <a href="https://ex.rs/on-supply-caps/">this post</a> by Arthur Breitman.</p><p>If inflation is a must, the chain should be designed to dynamically find a level of inflation that is high enough to compensate block producers, but not <em>too</em> high as to undermine store-of-value qualities.</p><p>There is no conclusive design in the industry, but I find that liquid proof-of-stake is the most compelling. Under this paradigm, the average user can delegate without lock-ups or slashing risks to a validator. By facilitating broader access to inflationary block rewards, liquid proof-of-stake makes inflation less <em>dilutive</em>. If inflation dilutes nobody, it is functionally irrelevant. As for the security budget, it is the aggregate of commissions charged by validators, which can evolve based on market dynamics.</p><p>_________________________________________________________________</p><p>In summary, the only endgame for a public blockchain is to enable digital economy anchored in a strong, self-sovereign currency. All technical and social design decisions must reflect this.</p><p>I have no intention of ending this article with a pontification about what layer-1s are better and worse. Maybe Bitcoin has already won, or maybe we are too early. In truth, I believe that this is still all a grand experiment, and that no blockchain ticks all the boxes.</p><p>But I will end it with a call to action. If blockchain technology succeeds as a political and monetary project, it will offer humanity something monumental. If it merely offers an open-source extension to the fiat system, or a <a href="https://www.nicolasbustamante.com/p/the-end-of-my-crypto-explorations?sd=pf">“global, permissionless, gigantic casino of worthless digital assets”</a>, it becomes hard to see the point.</p><p>So, let us stand against the current and return to first principles.</p><p>In our industry filled with smoke, mirrors and grift, too many builders have made decisions based on mindless pattern-matching and deceptive social proof criteria. We must call this out; the change starts with us.</p><p>And, in a world where even Canada can <a href="https://www.businessinsider.com/trudeau-canada-freeze-bank-accounts-freedom-convoy-truckers-2022-2">freeze the bank accounts</a> of those who protest government policy, blockchain technology is the only visible spearhead for human freedom. Its success in delivering this vision should be top-of-mind — not for reasons of ideological pontification, but because it is core to whether this industry makes any existential sense.</p><p>_________________________________________________________________</p><p><em>Not financial advice. Special thanks to </em><a href="https://medium.com/u/50f422e6e1a9"><em>Arthur Breitman</em></a><em>, </em><a href="https://medium.com/u/f5a2e83d6d8f"><em>Balaji S. Srinivasan</em></a><em>, </em><a href="https://medium.com/u/56936bc12146"><em>Lyn Alden</em></a><em>, </em><a href="https://medium.com/u/923c922a6d67"><em>Polynya</em></a><em> and others for inspiring this article with their insights.</em></p><p><em>Interested in discussing these ideas? Reach out to helvantine@pm.me</em>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb0351a03e02" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/public-blockchains-an-endgame-thesis-bb0351a03e02">Public Blockchains: An Endgame Thesis</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[CBDCs and Stablecoins: Co-Existence or Competition?]]></title>
            <link>https://medium.com/geekculture/can-cbdcs-co-exist-with-stablecoins-87b878d666e3?source=rss-47a88900b404------2</link>
            <guid isPermaLink="false">https://medium.com/p/87b878d666e3</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[stable-coin]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[helvantine]]></dc:creator>
            <pubDate>Sun, 09 Oct 2022 07:50:18 GMT</pubDate>
            <atom:updated>2022-10-10T07:10:15.017Z</atom:updated>
            <content:encoded><![CDATA[<p>In line with the Fed and ECB definitions, a central bank digital currency (CBDC) is a digital liability from a central bank accessible to the general public.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iWyTABdp2PvMcIsUX8WTDw.png" /><figcaption>Courtesy of <a href="https://www.ceps.eu/ceps-publications/central-bank-digital-currencies/">ceps.eu</a></figcaption></figure><p>A <a href="https://www.coindesk.com/policy/2022/05/06/nine-out-of-ten-central-banks-exploring-digital-currency-bis-says/">recent survey</a> conducted by the Bank for International Settlements revealed that most central banks are exploring the issuance of digital money. If CBDCs are made available by the world’s major central banks, will private stablecoins (like Circle’s USDC) have a role to play?</p><p>The answer depends in large part on the scope of a given central bank digital currency.</p><p>At present, private stablecoins issuers are innovating at the <em>transaction</em> layer by bringing fiat currency to public blockchains. In the same way that Revolut brings euros to a closed ecosystem of digitized financial services, Circle brings dollars to open ecosystems of smart-contract-powered applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*u0JTL2UmggjCGXW4.png" /><figcaption>Courtesy of <a href="https://www.trtworld.com/magazine/what-are-stablecoins-and-how-did-they-trigger-a-crypto-market-crash-57370">TRT World</a></figcaption></figure><p>In contrast, central banks are active at the <em>base</em> layer, issuing a public monetary asset and operating settlement systems like Fedwire. This asset is accessible to the public as physical cash, but the vast majority of retail transactions take place on rails provided by the private sector — whether fintechs, commercial banks or payment processors.</p><p>Therefore, the fundamental question is whether a CBDC would be designed to extend or replace the existing model, whereby public money serves as the anchor to the private monetary instruments and rails that dominate consumer transactions.</p><p>Reading Christine Lagarde’s most <a href="https://www.ecb.europa.eu/press/blog/date/2022/html/ecb.blog220713~34e21c3240.en.html">recent thoughts</a> on the topic, we discern three objectives for a digital euro:</p><ol><li>In the context of diminishing cash acceptance and usage, giving citizens a digital means of accessing public money directly in order to enhance their “trust in the monetary anchor behind their digital payments”.</li><li>Promoting the strategic autonomy of the European monetary system in the face of non-EU technology providers that can become dominant.</li><li>Improving the efficiency of the European payment system and fostering private sector innovation.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YM8iB-4x3Uv9VKeW" /><figcaption>Courtesy of the <a href="https://twitter.com/bis_org/status/1314461851846094853?lang=pl">BIS</a></figcaption></figure><p>Across the Atlantic, the Federal Reserve views a Fed-issued digital dollar through a similar lens: it is a digital analogy to cash, providing the public with an option to hold dollars digitally with no private sector risk, as well as an instrument to promote private innovation and the international role of the dollar.</p><p>Importantly, the Federal Reserve <a href="https://www.federalreserve.gov/publications/files/money-and-payments-20220120.pdf">believes</a> that a central bank digital currency should be intermediated:</p><blockquote>The intermediated model would facilitate use of the private sector’s existing privacy and identity-management frameworks; leverage the private sector’s ability to innovate; and reduce the prospects for destabilizing disruptions to the well-functioning U.S. financial system.</blockquote><p>Conversely, a digital dollar that is <em>not</em> intermediated would represent a “significant expansion of the Federal Reserve’s role in the financial system and economy”. In this respect, the European Central Bank joins the Fed in recognizing the risk of a CBDC being <a href="https://www.ecb.europa.eu/press/key/date/2022/html/ecb.sp220218_1~938e881b13.en.html">“too successful”</a>, crowding out private payment solutions and destabilizing financial intermediation. As such, they are both examining limits on individual holdings and interest distribution.</p><p>In my view, privately-issued stablecoins can thrive alongside CBDCs if the latter are designed to respect the role of the private sector at the transaction layer. In reality, they would operate in different spheres:</p><ol><li>A CBDC would exist on a central bank ledger and give citizens the option of holding digital fiat with no intermediary risk.</li><li>A privately-issued stablecoin would be issued on public blockchains, where the private sector would drive its adoption in innovative transaction frameworks powered by smart contracts.</li></ol><p>On the other hand, if a central bank expand its scope to the transactional sphere, the resulting questions would not only concern stablecoins. Would the ECB compete with Revolut or Visa for payment processing? Would it compete with commercial banks for deposits? Would it be deciding which transactional innovations (i.e. public blockchains and L2s) are worthy of its digital currency?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Qqk74X4zd11xm0_u" /><figcaption>If CBDCs cannot co-exist with stablecoins, will they co-exist with PayPal?</figcaption></figure><p>With policymakers appearing to agree that CBDCs should not destabilize the existing financial system or interfere with private sector innovation, it appears that stablecoins will have their space. In fact, Lael Brainard (Vice Chair of the Fed) has stated this <a href="https://www.coindesk.com/policy/2022/05/26/federal-vice-chair-lael-brainard-says-cbdc-could-coexist-with-stablecoins/">explicitly</a>:</p><blockquote>CBDC could coexist with and be complementary to stablecoins and commercial bank money by providing a safe central bank liability in the digital financial ecosystem, much like cash currently coexists with commercial bank money.</blockquote><p>In conclusion, it is worth asking what “type” of stablecoins have the greatest chance of success alongside CBDCs. Most probably, stablecoins that are <strong>collateralized reliably</strong> and <strong>operating firmly within the scope of regulation</strong>. Such stablecoins would not undermine a monetary system, but promote its international role.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87b878d666e3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/can-cbdcs-co-exist-with-stablecoins-87b878d666e3">CBDCs and Stablecoins: Co-Existence or Competition?</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[Polkadot: A Pessimistic Rollup World]]></title>
            <link>https://medium.com/coinmonks/polkadot-a-pessimistic-rollup-world-89fee1cfcd5f?source=rss-47a88900b404------2</link>
            <guid isPermaLink="false">https://medium.com/p/89fee1cfcd5f</guid>
            <category><![CDATA[polkadot]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[zero-knowledge-proofs]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[tezos]]></category>
            <dc:creator><![CDATA[helvantine]]></dc:creator>
            <pubDate>Sun, 19 Dec 2021 10:40:26 GMT</pubDate>
            <atom:updated>2021-12-21T15:48:36.569Z</atom:updated>
            <content:encoded><![CDATA[<h4>Does the rollup-centric future make Polkadot obsolete?</h4><p>Scalability, interoperability, and modularity. These terms are all part of the web3 future, and core to Polkadot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4PdS4jMs629kzeo6eRLQSg.png" /></figure><p>A leading layer-zero, Polkadot provides a shared security layer (“relay chain”) for distinct execution environments (“parachains”), each suited to their respective use case. Parachains can interact and exchange value, achieving vaunted cross-chain interoperability. With its elaborate system of on-chain governance, whereby decisions are enacted autonomously on-chain, Polkadot has a meaningful tool for absorbing innovation and adapting to change. What’s not to like?</p><p>The decisive emergence of rollups. <a href="https://vitalik.ca/general/2021/12/06/endgame.html">On Ethereum</a>.</p><p>In my mind, rollup-centric Ethereum achieves the vision of Polkadot with two key differences: it makes no compromises on decentralisation, and preserves an ecosystem tied by a single “money”.</p><h3>What are rollups?</h3><p>Generically, a rollup is a means of moving execution off the main chain without sacrificing its security properties. There are two categories of rollup: optimistic rollups and zk-rollups.</p><p>An optimistic rollup batches transactions and commits a representative hash to the main chain. The rollup is said to be optimistic because state transitions are assumed to be correct unless challenged. A withdrawal of funds from the rollup requires the user to post a bond, and is subject to a challenge period. In a process arbitrated entirely on the main chain, challengers can submit “fraud proofs” and — if successful — win the exit bond. Today, live optimistic rollups include Arbitrum, Boba and Optimism.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*ccmekvd-pRBUb7SR.jpeg" /><figcaption>Arbitrum is currently the rollup with the <a href="https://l2beat.com/">highest total value locked</a> (TVL) on DeFi</figcaption></figure><p>A zk-rollup, on the other hand, leverages zero-knowledge cryptography to condense transactions into a “validity proof”. This proof, which represents a general state transition, is verified on the rollup’s main chain smart contract. As a consequence, any given state is considered valid, and withdrawals to the main chain are not subject to a challenge period. Today, StarkWare and zkSync are leading the development of zk-rollups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iRnNzjNkKnoXFAeu" /></figure><h3>Rollups tick the (Polkadot) boxes</h3><p>The shift towards rollup-centric Ethereum is defined by a modular separation of key responsibilities: security, execution and data availability.</p><p>Security will be the responsibility of the Ethereum main chain. Similarly to the relay chain, its role will be to provide a decentralized, stable and secure consensus layer.</p><p>Execution, on the other hand, will shift towards rollups. Like parachains, rollups are customizable, scalable and interoperable execution layers tethered to a shared security layer.</p><p>They are customizable because the concept of rollup is agnostic to execution environment. A rollup can have whatever execution environment is most suited to its use case as long as its state transitions are committed to the security layer. Both Sorare and dYdX are rollups (<a href="https://l2beat.com/">validiums</a>, to be precise) optimizing for their respective business logic.</p><p>They are scalable because they can scale vertically to an infinite degree without sacrificing trustlessness. A rollup can be a throughput-focused blockchain like Solana or a single, ultra-powerful machine — either way, its trust properties depend on the main chain.</p><p>They are interoperable because a competitive, creative space has already emerged for interoperability protocols. Solutions like <a href="https://xpollinate.io/">Connext</a>, <a href="https://synapseprotocol.com/">Synapse</a> and <a href="https://hop.exchange/">Hop</a> already allow users to bridge assets across L2s seamlessly, and they continue to iterate.</p><p>In all these respects, rollup-centric Ethereum will bring Polkadot’s vision to life.</p><h3>And rollups have the upper hand</h3><p>Let us begin with decentralization. Currently, the number of validators on Polkadot is capped at 297, and it takes around <a href="https://ipfs.io/ipns/polkadot.dotapps.io/#/staking/targets">1.75 million DOT</a> (~$43 million) of proprietary and nominated stake to enter the validator set. By contrast, the Ethereum Beacon Chain has over <a href="https://beincrypto.com/eth-2-0-surpasses-200k-validators/">200,000 validator nodes</a> and the entry ticket is <a href="https://ethereum.org/en/eth2/staking/">32 ETH</a> (~$128,000).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/0*g5yzbjcXZRMTO6fM" /><figcaption>Snapshot from <a href="https://cloudflare-ipfs.com/ipns/polkadot.dotapps.io/#/staking/targets">polkadot.dotapps.io</a> taken on December 18th 2021</figcaption></figure><p>Is decentralization an advantage? Only if you believe censorship resistance and credible neutrality to be important properties for a public blockchain. The point is moot, however, because rollups sacrifice nothing for the benefits of decentralization.</p><p>Furthermore, rollups are in a better position to capture Ethereum’s vast network effects. In addition to relying on Ethereum’s security properties, they are shaping up to share its applications, infrastructure, developer tools and beyond.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iLXtMJ5-vN2dvXhasgyxWA.png" /><figcaption>Ethereum developer platform A<a href="https://blog.alchemy.com/blog/alchemy-optimism">lchemy recently extended its service to Optimism</a>.</figcaption></figure><p>Most importantly, rollups share Ethereum’s base currency. Ether is currently the base currency of Arbitrum, Boba and Optimism. Tokens associated with these platforms (present and future) are likely to have utility in governance and staking, <em>but</em> <em>not as money</em>.</p><p>This is important because network effects solidify around assets rather than execution environments. To illustrate this point, how do alternative Ethereum Virtual Machines (such as Binance Smart Chain, Celo or Avalanche) distinguish themselves in the long-term if they all do the same thing?</p><p>In order to achieve network effects, an asset must optimize for “money-ness”. Since the deflationary economics of EIP-1559 came into force, ether has complemented its status as a widely used medium of exchange with a clear store-of-value proposition. The monetary soundness of deflation is an open question, but the meme is certainly entrenched. In contrast, despite its utility in bonding, governance and staking, DOT is not designed as a currency in the Polkadot universe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hSvANjS3myDJUISM" /><figcaption>The EIP-1559 money meme (<a href="https://twitter.com/drakefjustin/status/1367900072252473345">Justin Drake</a>)</figcaption></figure><h3>The endgame</h3><p>Is rollup-centric Ethereum the endgame of competition between smart contract blockchains?</p><p>In my mind, modular construction powered by zero-knowledge proofs will become the dominant paradigm, and Ethereum is the obvious — yet flawed — leader. The network’s switch to proof-of-stake is blatantly still pending, and I am concerned that its illiquid staking model will centralize staked ether in Lido, the (<a href="https://www.theblockcrypto.com/linked/103874/eth2-staking-protocol-lido-raises-73-million-paradigm">partially VC-owned</a>) liquid staking protocol. Moreover, the absence of a formal and transparent governance system is a weakness for any aspiring digital commonwealth.</p><p>Perhaps the only other ecosystem with a <a href="https://ex.rs/scaling-tezos/">longstanding</a> rollup-based modular <a href="https://www.youtube.com/watch?v=oqBSs0DSuzQ">roadmap</a> is Tezos. Its liquid proof-of-stake, operational governance and formal verification readiness are a compelling design, but its cryptoverse mindshare remains small. That being said, the recent entry of <a href="https://www.coindesk.com/business/2021/12/07/crypto-fans-rejoice-gamers-revolt-as-ubisoft-announces-nft-plans/">Ubisoft</a>, <a href="https://www.coindesk.com/business/2021/12/09/pantone-color-of-the-year-gets-the-nft-treatment/">Pantone</a> and <a href="https://www.coindesk.com/business/2021/12/15/nft-marketplace-rarible-announces-integration-with-tezos/">Rarible</a> into its ecosystem are the latest signs of a bright future.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FoqBSs0DSuzQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DoqBSs0DSuzQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FoqBSs0DSuzQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a94519b4ee0c0768e270e515875ad822/href">https://medium.com/media/a94519b4ee0c0768e270e515875ad822/href</a></iframe><p>What about Polkadot? If the rollup-centric paradigm does emerge as dominant, Polkadot could act as a data availability layer.</p><p>Currently, persisting transaction data on-chain is <a href="https://notes.ethereum.org/@vbuterin/data_sharding_roadmap#Step-1-tx-calldata-expansion">what drives the cost of transactions</a> on Ethereum rollups. Not all applications require the trust characteristics of data persisted on the base layer. <a href="https://ethereum.org/en/developers/docs/scaling/validium/">Validiums</a> like Sorare submit validity proofs — but not transaction data — to Ethereum, and <a href="https://medium.com/starkware/volition-and-the-emerging-data-availability-spectrum-87e8bfa09bb">volitions</a> allow users to select a data availability preference at the transaction level. In this context, Polkadot’s model of heterogeneous, interoperable sharding could be an ideal solution for trust-minimized off-chain data availability.</p><p>Polkadot has bright minds, a dedicated community, a large financial war chest and an ability to upgrade — and these will certainly count. If not, however, Polkadot will be twiddling its thumbs in a rollup world. _________________________________________________________________</p><p><em>A note of thanks to </em><a href="https://medium.com/u/923c922a6d67"><em>Polynya</em></a><em> for helping me understand the vision of modular blockchains via Medium and Twitter.</em></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/5-best-crypto-trading-bots-in-canada">Best Crypto Trading bots in Canada</a> | <a href="https://blog.coincodecap.com/staking-crypto">Staking Crypto</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://blog.coincodecap.com/blockfi-vs-coinbase">Blockfi vs Coinbase</a> | <a href="https://blog.coincodecap.com/bitkan-review">BitKan Review</a> | <a href="https://medium.com/coinmonks/binance-review-ee10d3bf3b6e">Binance 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/itop-vpn-review">iTop VPN Review</a> | <a href="https://blog.coincodecap.com/mandala-exchange-review">Mandala Exchange Review</a></li><li><a href="https://blog.coincodecap.com/coinbase-vs-wazirx">Coinbase vs WazirX</a> | <a href="https://blog.coincodecap.com/bitrue-review">Bitrue Review</a> | <a href="https://blog.coincodecap.com/poloniex-vs-bittrex">Poloniex vs Bittrex</a></li><li><a href="https://blog.coincodecap.com/crypto-trading-bots-in-the-us">Best Crypto Trading Bots in the US</a> | <a href="https://blog.coincodecap.com/changelly-review">Changelly Review</a></li><li><a href="https://blog.coincodecap.com/a-ads-review">A-Ads Review</a> | <a href="https://blog.coincodecap.com/bingbon-review">Bingbon Review</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/best-cardano-wallets">Best Cardano Wallets</a> | <a href="https://blog.coincodecap.com/bingbon-copy-trading">Bingbon Copy Trading</a></li><li><a href="https://blog.coincodecap.com/p2p-crypto-exchanges-in-india">Best P2P Crypto Exchanges in India</a> | <a href="https://blog.coincodecap.com/baby-shiba-inu-wallets">Shiba Inu Wallets</a></li><li><a href="https://blog.coincodecap.com/crypto-affiliate-programs">Top 8 Crypto Affiliate Programs</a> | <a href="https://blog.coincodecap.com/etoro-vs-coinbase">eToro vs Coinbase</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89fee1cfcd5f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/polkadot-a-pessimistic-rollup-world-89fee1cfcd5f">Polkadot: A Pessimistic Rollup World</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[Set up a Tezos smart contract IDE with SmartPy and Taquito]]></title>
            <link>https://levelup.gitconnected.com/set-up-a-tezos-smart-contract-ide-with-smartpy-and-taquito-32fe445d274?source=rss-47a88900b404------2</link>
            <guid isPermaLink="false">https://medium.com/p/32fe445d274</guid>
            <category><![CDATA[tezos]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[helvantine]]></dc:creator>
            <pubDate>Tue, 21 Sep 2021 19:39:18 GMT</pubDate>
            <atom:updated>2021-09-22T13:05:54.846Z</atom:updated>
            <content:encoded><![CDATA[<h4>A step-by-step guide.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ED-RYIp8aZRXsawiF-RTGA.jpeg" /><figcaption>Courtesy of <a href="https://u.today/tezos-ecosystem-starts-six-grant-programs-invites-developers-to-build-on-tezos-xtz">u.today</a></figcaption></figure><p>Ethereum (or generically, EVM) smart contract developers have incredibly convenient development environments like <a href="http://hardhat.org/">Hardhat</a>. Tezos does not (yet) have a strict equivalent, but setting up an environment to compile, test, and deploy Tezos smart contracts is actually quite straightforward.</p><p>In this post, I offer a step-by-step guide.</p><h4><strong>Setup</strong></h4><p>To begin, install <a href="https://smartpy.io/">SmartPy</a>, a Python library for writing and testing Tezos smart contracts. <em>Note: A TypeScript version of SmartPy (called </em><a href="https://smartpy.io/ts-ide"><em>SmartTS</em></a><em>) is currently in beta. 🚀</em></p><pre>$ sh &lt;(curl -s <a href="https://smartpy.io/cli/install.sh">https://smartpy.io/cli/install.sh</a>)</pre><p>You can verify that it was properly installed by running:</p><pre>$ ~/smartpy-cli/SmartPy.sh — version</pre><p>Then, initialise an npm project with with three folders:build, contracts and deployment.</p><pre>$ npm init --yes<br>$ mdkir build contracts deployment</pre><p>Finally, install some required dependencies:</p><pre>$ npm install @taquito/taquito @taquito/signer ts-node dotenv</pre><h4><strong>Contract</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*u0xoV9IzrjZPLwY7mhVFsQ.png" /><figcaption>Courtesy of <a href="https://smartpy-io.medium.com/">SmartPy.io</a> on Medium.</figcaption></figure><p>For the purpose of this article, we will use a simple “counter” contract.</p><p>Create a file counter.py in the contracts folder. The file can also include tests — a powerful and convenient feature offered by SmartPy.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/51dafd1c18a4f3b8f60bc74a83d0c3e0/href">https://medium.com/media/51dafd1c18a4f3b8f60bc74a83d0c3e0/href</a></iframe><p><em>Note the </em><em>sp.add_compilation_target needed for the next step.</em></p><h4>Compilation</h4><p>In order to be understood by the Tezos Virtual Machine, our SmartPy contract must be compiled down to Michelson. This is the most (syntactic) sugar-free step — pun intended.</p><p>Simply create a file compile.sh and copy-paste this <a href="https://gist.github.com/kalouo/b80e4761c94c7768bbc295939a0688d8?file=compile.sh">bash script</a>. It is based on a <a href="https://github.com/Hover-Labs/murmuration/blob/main/smart_contracts/compile.sh">script</a> written at Hover Labs, the team behind <a href="https://harbinger.live/">Harbinger</a> and <a href="https://kolibri.finance/">Kolibri</a>.</p><p>Add a command &quot;compile-contracts&quot; to the scripts object of your package-json file, running ./compile.sh. You will need to make your file executable (once) by running chmod +x compile.sh.</p><p>Now, compile your contract with the following command:</p><pre>$ npm run compile-contracts counter </pre><p>This will output two files to the /build folder:</p><ul><li>counter.json: the compiled Michelson contract.</li><li>counter_storage.json : the initial contract storage defined in the compilation target (sp.add_compilation_target ) above.</li></ul><p>It will also run any tests you have written.</p><h4>Deployment</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*weIpAKzB-g_qXNEBNAztgg.png" /><figcaption>Courtesy of <a href="https://twitter.com/TezosTaquito/photo">Taquito</a></figcaption></figure><p>To deploy a smart contract, you will need to define a node through which you interact with the Tezos blockchain, as well an account to sign the deployment transaction and pay gas fees. Create a .env file with the following variables:</p><pre>TEZOS_RPC_URL=&lt;PUBLIC_NODE_URL&gt;<br>DEPLOYER_PRIVATE_KEY=&lt;YOUR_PRIVATE_KEY&gt;</pre><p>Taquito provides a <a href="https://tezostaquito.io/docs/rpc_nodes/">helpful list</a> of community-operated nodes. You can export your private key on Temple Wallet via Settings &gt; Reveal Private Key.</p><blockquote>If you are deploying on testnet, the most convenient way to fund your account with testnet XTZ is via the <a href="https://t.me/tezos_faucet_bot">Tezos Faucet Bot</a> on Telegram.</blockquote><p>Then, create a file deploy.ts in the /deploy folder:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/10c708bd9b17abf02cca0d10d86179f1/href">https://medium.com/media/10c708bd9b17abf02cca0d10d86179f1/href</a></iframe><p>Finally, add the command &quot;deploy-contracts”to your package.json, running ts-node deployment/deploy.ts. You can now deploy your contract with:</p><pre>$ npm run deploy-contracts</pre><p><em>Et voilà, </em>the address of the contract should be visible on the command line, and you can interact with it via <a href="https://better-call.dev/"><em>Better Call Dev</em></a><em>.</em></p><p>For further reference, you can see the full GitHub repository <a href="https://github.com/kalouo/tezos-ide">here</a>. <a href="https://tezostaquito.io/docs/quick_start">Taquito</a> and <a href="https://smartpy.io/reference.html">SmartPy</a> are well-documented, and you can always ask questions on the Tezos Developers <a href="https://t.me/TezosDevelopers">channel</a> on Telegram.</p><p>I hope you find this guide useful.</p><p>Happy coding 🚀 🚀 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32fe445d274" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/set-up-a-tezos-smart-contract-ide-with-smartpy-and-taquito-32fe445d274">Set up a Tezos smart contract IDE with SmartPy and Taquito</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Tezos Will Weather The Cryptoverse Wars]]></title>
            <link>https://medium.com/geekculture/why-tezos-will-weather-the-cryptoverse-wars-eb5d85e6f1e8?source=rss-47a88900b404------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb5d85e6f1e8</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[tezos]]></category>
            <dc:creator><![CDATA[helvantine]]></dc:creator>
            <pubDate>Wed, 07 Jul 2021 10:34:28 GMT</pubDate>
            <atom:updated>2021-07-08T10:52:25.701Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XOzR_nbb95pstpP0.png" /><figcaption>Courtesy of Kathleen Breitman on <a href="https://www.gemini.com/cryptopedia/what-is-tezos-xtz-governance-use-cases">Gemini</a></figcaption></figure><p>Between Polygon finding traction to rival Ethereum and Solana raising 314 million dollars, Tezos is an improbable topic. Correct, that mega ICO from 2017 that became embroiled in legal issues and went off the hype radar.</p><p>Yet, the Tezos ecosystem appears ready for take-off. <a href="https://www.hicetnunc.xyz/">Hic Et Nunc</a> and <a href="https://kalamint.io/">Kalamint</a> have become <a href="https://dappradar.com/rankings/category/marketplaces">top NFT marketplaces</a>, and plans announced by <a href="https://twitter.com/McLarenF1/status/1405495520987123717">McLaren</a>, <a href="https://www.coindesk.com/oneof-raises-63m-for-music-nft-platform-with-green-credentials">OneOf</a> and <a href="https://www.redbull.com/int-en/redbullracing/tezos-joins-as-official-blockchain-partner">Red Bull Racing</a> herald continued momentum. Likewise, DeFi is finding its wings on platforms like <a href="https://kolibri.finance/">Kolibri</a>, <a href="https://www.plentydefi.com/">Plenty</a>, <a href="https://quipuswap.com/swap">Quipuswap</a> and <a href="https://www.benderlabs.io/wrap">Wrap</a>. And, whether in <a href="https://cointelegraph.com/news/aspen-launches-on-tzero-amid-record-security-token-volume">Aspen</a> or <a href="https://www.bangkokpost.com/business/1643600/seamico-and-partners-seek-to-tokenise-property">Bangkok</a>, security token offerings on Tezos accounted for <a href="https://docsend.com/view/w4xkmby36qtduqae">12% of the global total</a> in 2020.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*NsMDlMzuyj5nYhnD66vQgg.png" /><figcaption>Smart contract interactions have multiplied fourteen-fold since January (<a href="https://better-call.dev/stats/mainnet/general">Better Call Dev</a>)</figcaption></figure><p>The case for Tezos, however, transcends this momentum. To articulate it, let us begin with a fiat analogy. What makes you chose the Swiss franc over the Lebanese pound?</p><p>Easy, you probably believe the Swiss franc to be a sounder and more usable asset. Similarly, cryptocurrencies are compelling if they are sound and have a robust ecosystem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*TiYI4Jz2r7d8BakhCFDdaQ.png" /><figcaption>The surge in active users tells a similar story of growth (<a href="https://charts.coinmetrics.io/network-data/#1304">CoinMetrics</a>)</figcaption></figure><p>These attributes go hand-in-hand. The US dollar has a massive network effect, but its long-term value is questionable if Fed policy dilutes the majority of holders. Conversely, Bitcoin offers algorithmic scarcity, but this only matters if people care.</p><p>What about technology?</p><p>Solid technology is a minimum, but it can hardly create a moat in a space that is fundamentally permissionless and open-source. If cryptocurrency is a social, political or economic construct, what future-proofs it goes beyond technology.</p><p>After all, why do Bitcoin and Ethereum dominate the space when they are, relatively speaking, technological dinosaurs?</p><h3>On Sound Money</h3><p>Bitcoin tells a simple story: hard-capped supply, and rising demand from individuals, institutions and states projecting it as the hard money of the digital era.</p><p>Ethereum, on the other hand, is more complicated. It has established a tremendous network effect, but it is only with EIP-1559 that its asset (ether) becomes non-inflationary and gains protocol-level utility — i.e. paying the transaction base fee.*</p><p>* <em>While</em> <em>highly impractical , fees can theoretically be</em><a href="https://docs.ethhub.io/questions-about-ethereum/is-ether-needed-for-transaction-fees/"><em> paid in other currencies</em></a><em> prior to EIP-1559, a point </em><a href="https://unchainedpodcast.com/ethereums-eip-1559-will-solve-some-problems-but-big-ones-will-remain/"><em>recently highlighted</em></a><em> by Ethereum core dev facilitator Tim Beiko.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PgFtbaqbklpxGYWF" /><figcaption>The EIP-1559 money meme (<a href="https://twitter.com/drakefjustin/status/1367900072252473345">Justin Drake</a>)</figcaption></figure><p>However, this utility remains minimal, which is a major reason for the bullish sentiment around Ethereum switching to proof-of-stake consensus. Namely, proof-of-stake would give ether a value capture mechanism: holders will have the right to produce blocks, and thereby earn inflationary block rewards and transaction fees.</p><p>If proof-of-stake secures itself by paying validators with inflation, the store-of-value quality of its native asset depends on the ensuing dilution of other holders. If rewards accrue to validators only, everyone else pays an inflation tax. If they accrue to all holders in proportion to their balance, inflation has no practical relevance.</p><p>Where does Tezos fit in? To begin with, it has been live as a feature-complete proof-of-stake network since mid-2018, more than you can say for Cardano or Ethereum 2.0. Roadmaps might be more exciting than functioning products, but a successful track record in production matters more.</p><p>Moreover, its delegation mechanism is highly favourable to non-dilutive inflation. Any address (including smart contracts) can delegate XTZ to a <a href="https://wiki.tezosagora.org/learn/baking">baker</a> without transferring custody or being exposed to slashing risk. As delegations increase a baker’s chance of producing the next block, bakers compete on the percentage of rewards they remit to delegators.</p><p>The non-dilutive nature of XTZ inflation is a key point. By way of analogy, imagine if the Fed conducted monetary policy by distributing fresh dollars to all holders in proportion to their balance. Bitcoin and Tezos might not compete, but this turns Bitcoin’s sound money framework on its head.</p><p>What about other proof-of-stake chains? <a href="https://www.algorand.com/technology/faq">Algorand</a> and <a href="https://cardanode.com.au/ep009-how-to-stake-cardano-for-rewards/">Cardano</a> have similar models, but <a href="https://docs.binance.org/faq/bsc/del.html">BSC</a>, <a href="https://bisontrails.co/delegate/celo/">Celo</a>, <a href="https://docs.matic.network/docs/validate/delegator-faq/#what-is-the-unbonding-period">Polygon</a>, <a href="https://docs.near.org/docs/validator/staking-overview">NEAR</a> and <a href="https://docs.solana.com/staking/stake-accounts#delegation-warmup-and-cooldown">Solana</a> all lock delegated tokens and subject them to an unbonding period. <a href="https://docs.matic.network/docs/validate/delegator/">Polygon</a> and <a href="https://docs.solana.com/staking">Solana</a> even expose delegators to slashing risk. Ethereum 2.0 is set to follow this model, which creates — in my mind — a tension between the usability of an asset and its quality as a store-of-value.</p><h3>On Sustaining Network Effects</h3><p>Bitcoin has a large, fervent community. Remember that <a href="https://www.youtube.com/watch?v=ENE15uAMZSE">strange moment</a> in Miami? To grow this network effect, the argument goes, Bitcoin only needs to be itself — digital scarcity backed by consistent, predictable technology. The Lindy effect is Bitcoin’s ally, and makes it harder to disrupt.</p><p>Ethereum, on the other hand, aspires to be a global computer. Despite having birthed a thriving ecosystem, it is more vulnerable to disruption by superior technologies. In fact, high fees and scaling problems have already caused Ethereum’s network effects to fragment into alternative EVMs like Polygon or BSC. Ethereum 2.0 continues to lag without a firm timeline, and this certainly hasn’t helped.</p><p>This speaks to a larger problem: a blockchain must upgrade itself to preserve its network effects, but upgrades are difficult to execute on decentralised systems. Solving this comes down to governance, an eminently subjective topic that can hardly be settled in a single article. What I do observe, however, is that <a href="https://docs.ethhub.io/ethereum-basics/governance/">governance on Ethereum</a> is neither scalable nor effective.</p><p>First, there is no formal mechanism to measure support towards an improvement proposal. This effectively places the responsibility on Ethereum core developers, <a href="https://twitter.com/lrettig/status/1112073071186403329">whose burden has grown </a>with the size of the ecosystem. Likewise, activating an upgrade requires significant amounts of coordination with node operators, a struggle whose collateral effects became visible when Ethereum applications “<a href="https://www.coindesk.com/ethereums-hard-fork-disruption">went dark</a>” in November 2020. Vitalik speaks of “<a href="https://cointelegraph.com/news/even-vitalik-buterin-is-surprised-at-just-how-long-eth2-is-taking">problems related with people</a>”, and the track record speaks for itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*iONO8tjhWBn7jn71v7kfRQ.png" /></figure><p>Tezos, on the other hand, starts with the principle that a blockchain — itself a mechanism for decentralised, trustless coordination — can be used for its own “self-amendment”. The canonical protocol is stored on-chain, and can be modified through a formal procedure.</p><p>In an open process, any baker can submit a proposal to amend the protocol. The most upvoted proposal continues through two rounds of voting and, if approved, is hot-swapped with the current protocol and activated on mainnet. Although bakers are casting the votes, users are given a concrete say through Tezos’ delegation mechanism. In what effectively gives Tezos a means of funding its development, the proposing baker can also include an invoice, which is settled in freshly minted XTZ if the proposal is approved.</p><p>Importantly, governance on Tezos is not a roadmap idea, it has a track record. Since inception, Tezos has delivered six upgrades, covering features and optimisations alike. Delphi, for instance, implemented gas optimisations with <a href="https://twitter.com/LukeYoungblood/status/1336220013666074625">concrete benefits</a> for ecosystem applications. <a href="https://medium.com/tezoscommons/tezos-blockchains-fast-pace-of-evolution-delivers-new-features-with-edo-upgrade-fec6a62a4b8b">Edo</a>, on the other hand, integrated technology from ZCash to enable privacy-conscious use cases on Tezos.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/1*1UdNWT3CrPr2PEuPl3DP2g.png" /><figcaption>Upgrades are named after ancient cities. You can watch them progress on <a href="https://www.tezosagora.org/">tezosagora.org</a>. <a href="https://www.tezosagora.org/period/49">Granada</a> is currently in progress. (<a href="http://Better Call Dev">Better Call Dev</a>)</figcaption></figure><p>This cadence of decentralised upgrades is not only important to preserving network effects, but also a means of turning the entire space into an R&amp;D department. Just as Tezos borrowed from ZCash on privacy, it is borrowing from Cosmos to activate a <a href="https://medium.com/tqtezos/rapid-innovation-tezos-tenderbake-testnet-spawned-9168da6599d9?source=linkShare-47a88900b404-1625638845">new consensus mechanism</a> based on Tendermint.</p><p>Ultimately, governance systems are complex, subjective and never conclusively designed. What Tezos can rightfully claim, however, is its place at the vanguard of decentralised L1 governance, battle-testing its model with every quarterly upgrade. And no need to take my word for it: Gavin Wood, co-founder of Ethereum and creator of Polkadot, <a href="https://www.coindesk.com/polkadot-gavin-wood-webassembly-smart-contracts-evm">recently stressed the importance of upgradability</a>, highlighting Tezos as “at the moment … the only one [that has] this kind of functionality”.</p><p>To conclude on a note of pre-industrial wisdom, Charles Darwin is said to have stated that “it is not the strongest of the species that survives, nor the most intelligent [but the] one most adaptable to change”. He would have liked Tezos.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*WEj2fQAIXbuUVaVO.png" /></figure><p>_________________________________________________________________</p><p><em>Not financial advice. Long all currencies mentioned in this article. Want to get started on Tezos? Activate your </em><a href="https://wallet.kukai.app/direct-auth"><em>Kukai</em></a><em> or </em><a href="https://chrome.google.com/webstore/detail/temple-tezos-wallet-ex-th/ookjlbkiijinhpmnjffcofjonbfbgaoc?hl=en"><em>Temple</em></a><em> wallet, and check out the </em><a href="https://better-call.dev/dapps/list"><em>dapp store</em></a><em>. 🚀</em></p><p><em>Shoutout to </em><a href="https://cryptocodeschool.in/tezos/"><em>cryptocodeschool.in</em></a><em> who coined the term “Cryptoverse Wars” before I did. Check out their Tezos development tutorials.</em></p><p><em>And, special thanks to </em><a href="https://medium.com/u/50f422e6e1a9"><em>Arthur Breitman</em></a><em>, early architect of Tezos, for helping me understand the Tezos vision through his blog posts and podcasts.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb5d85e6f1e8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/why-tezos-will-weather-the-cryptoverse-wars-eb5d85e6f1e8">Why Tezos Will Weather The Cryptoverse Wars</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[Deploying Smart Contracts with Hardhat]]></title>
            <link>https://levelup.gitconnected.com/deploying-smart-contracts-with-hardhat-e1a76212df94?source=rss-47a88900b404------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1a76212df94</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[helvantine]]></dc:creator>
            <pubDate>Sun, 13 Jun 2021 02:22:32 GMT</pubDate>
            <atom:updated>2021-06-20T15:41:34.472Z</atom:updated>
            <content:encoded><![CDATA[<h4>A step-by-step guide.</h4><p>I built my first Ethereum (prototype) dapp with <a href="https://www.trufflesuite.com/">Truffle</a>. It was, and still is, a Swiss army knife for Ethereum developers. Recently, however, I tried <a href="https://hardhat.org/">Hardhat</a> as an alternative and was blown away by its convenience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3IvC_NZlPPE5TB0A" /></figure><p>Hardhat and Truffle both provide an environment to compile, test and deploy Solidity smart contracts. Hardhat innovates on Truffle in several ways:</p><ul><li>It relies on <a href="https://docs.ethers.io/v5/">ethers.js</a>, the “second-generation” Ethereum JavaScript API library.</li><li>It integrates well with TypeScript — a second-generation JavaScript?</li><li>It provides a better debugging experience with <em>console.log </em>functionality in Solidity code.</li></ul><p>You can watch this <a href="https://www.youtube.com/watch?v=eR_9XSfF9p8">video</a> for a more detailed overview. In this post, we will focus on deploying an ERC-20 contract with Hardhat.</p><h3>Setup</h3><p>Initialise your project and install Hardhat as a dependency.</p><pre>$ npm init --yes<br>$ npm install --save-dev hardhat</pre><p>Run npx hardhat and select “Create an empty hardhat.config.js”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*USOwElZbO0uSM2fFuWuXVw.png" /></figure><p>Configure your project to be TypeScript-ready.</p><pre>$ npm install --save-dev ts-node typescript<br>$ npm install --save-dev chai @types/node @types/mocha @types/chai<br>$ mv hardhat.config.js hardhat.config.ts</pre><p>Install some Node packages.</p><pre>$ npm install --save-dev @nomiclabs/hardhat-waffle ethereum-waffle chai @nomiclabs/hardhat-ethers ethers @openzeppelin/contracts dotenv hardhat-deploy</pre><blockquote><a href="https://getwaffle.io/">Waffle</a> is a framework for testing smart contracts. <a href="https://github.com/OpenZeppelin/openzeppelin-contracts">OpenZeppelin</a> gives us a Solidity template for our ERC-20 contract. hardhat-deploy is a plugin for deployment.</blockquote><h3>Configuration</h3><p>The configuration file (hardhat.config.ts) is the core of your project.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2426e97f653c4780622230da26321304/href">https://medium.com/media/2426e97f653c4780622230da26321304/href</a></iframe><p>You can deploy to any network configured under the networks key using npx hardhat deploy --network &lt;name&gt;.</p><p>Each network takes a url corresponding to a blockchain node. In the above example, we rely on <a href="https://infura.io/">Infura</a> to interact with the Ethereum blockchain, which requires you to sign up and obtain an INFURA_PROJECT_ID.</p><p>The chainId is an additional safeguard to ensure that transactions are only valid on the intended network. You can find a full list of chain IDs for EVM-compatible blockchains <a href="https://chainid.network/">here</a>.</p><p>Finally, you will need to define the account(s) that will sign your deployment transaction and pay gas fees. This is configured in the accounts array, where you place your private key(s).</p><p>If you are using Metamask , you can export your private key(s) by following these <a href="https://metamask.zendesk.com/hc/en-us/articles/360015289632-How-to-Export-an-Account-Private-Key">steps</a>. If you are deploying on testnet, you can fund your account with testnet ETH using a faucet. For the Kovan testnet, see <a href="https://faucet.kovan.network/">here</a>.</p><h3>Contract</h3><p>For simplicity, we will import a Solidity contract from Open Zeppelin. Create a file called ERC20.sol under a new folder contracts. The ERC20 contract will take two arguments at deployment: name and symbol.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0087236c9ddac24dfdfa9209ac5e287d/href">https://medium.com/media/0087236c9ddac24dfdfa9209ac5e287d/href</a></iframe><h3>Deploy Script</h3><p>To deploy our contracts, we will leverage the hardhat-deploy plugin. It allows us to execute and track deployments, alongside a <a href="https://github.com/wighawag/hardhat-deploy">range of features</a>.</p><p>Our first deployment script, placed in the deploy folder, will be the following:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6551ee99026ff4e30f516be906a81c9d/href">https://medium.com/media/6551ee99026ff4e30f516be906a81c9d/href</a></iframe><p>The deployer constant is the namedAccounts feature in action. It allows you to associate custom names to addresses based on their index in the accounts array of the given network in hardhat.config.js</p><p>In our example, therefore, setting deployer to zero allows us to access the private key using const { deployer } = await getNamedAccounts().</p><p>Otherwise, the args must be in the order expected by the smart contract, and tags can be used to <a href="https://github.com/wighawag/hardhat-deploy#deploy-scripts-tags-and-dependencies">identify or group contracts</a> for deployment.</p><h3>Deployment 🚀</h3><p>Now, we can compile our contract with the following command:</p><pre>$ npx hardhat deploy --network kovan --tags ERC20</pre><p>The deployment will be recorded in the deployments folder under the given network — in this instance, deployments/kovan. This record will contain the <em>address</em> of the contract, as well as its EVM bytecode.</p><p><em>Et voilà</em>, we are finished deploying with Hardhat.</p><p>As a final highlight, you can use Hardhat with any EVM-compatible chain. To deploy on Binance Smart Chain, for instance, simply add it as follows in your configuration file:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7145d82d0e6cde9a18996db5db367b93/href">https://medium.com/media/7145d82d0e6cde9a18996db5db367b93/href</a></iframe><p>I hope you found this guide useful — you can find the full repo <a href="https://github.com/kalouo/hardhat-deployer">here</a>.</p><p>Happy coding 🚀 🚀 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1a76212df94" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/deploying-smart-contracts-with-hardhat-e1a76212df94">Deploying Smart Contracts with Hardhat</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bridges Between Chains: A Taxonomy]]></title>
            <link>https://medium.com/coinmonks/bridges-between-chains-a-taxonomy-46bc7ac767fd?source=rss-47a88900b404------2</link>
            <guid isPermaLink="false">https://medium.com/p/46bc7ac767fd</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[tezos]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[helvantine]]></dc:creator>
            <pubDate>Sun, 23 May 2021 13:08:43 GMT</pubDate>
            <atom:updated>2021-05-24T05:06:06.299Z</atom:updated>
            <content:encoded><![CDATA[<h4>… and introductory guide</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*crj202-9FtEf1OSN.jpg" /><figcaption>Courtesy of <a href="https://ccoingossip.com/blockchain-bridge/">ccoingossip.com</a></figcaption></figure><p>The cryptoverse defines interoperability as the ability of different chains to communicate.</p><p>For many, this is core to the vision of the decentralised web. No single chain can suit all use cases, so — the wisdom goes — the future will be multichain. <em>Ergo, </em>we need robust frameworks for different chains to communicate, lest the decentralised web become a Balkanised ecosystem of silos.</p><p>As it happens, this idea underpins Cosmos and Polkadot, two flagship projects building generalised architecture for inter-blockchain communication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*heyGMWxQ0o1OC1H36awEkA.png" /><figcaption>On Cosmos, Hubs connect different blockchains (Zones) via an inter-blockchain communication protocol. (Courtesy of Gavin Birch on <a href="https://figment.io/resources/inter-blockchain-communication-ibc-is-coming-to-cosmos/">Figment</a>)</figcaption></figure><p>With the rise of decentralised finance, however, asset bridges between specific chains have gained practical significance. Bitcoin “wrapped” on Ethereum has become a DeFi reserve asset, and alternative smart contract ecosystems prioritise bridges to Ethereum as a means of onboarding its liquidity.</p><p>I recently read the white paper for <a href="https://www.benderlabs.io/wrap">Wrap Protocol</a>, a bridge between Tezos and Ethereum. It discussed different approaches to creating a bridge, and inspired me to share an introductory guide.</p><h3><strong>Approach I: Centralised Custodian</strong></h3><p>Under this model, a trusted entity receives your funds on one chain and sends you the equivalent on another.</p><p>With over 6 billion US dollars in total value locked, <a href="https://wbtc.network/">WBTC</a> (an ERC-20 token backed 1:1 with Bitcoin) is the clearest example: BitGo custodies the BTC reserve, and permissioned “<a href="https://wbtc.network/dashboard/partners">merchants</a>” handle mint and redeem operations for KYC-verified users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/0*tu-dSYjJD6xg_lI1.png" /></figure><p>While centralised custodians may not fit into a purist vision of the decentralised web, the average user gravitates towards convenience over trustlessness. This trade-off will diminish with time as decentralised solutions mature, but — with over 180,000 Bitcoins wrapped as WBTC currently — the proof is in the pudding.</p><p>However, WBTC is clearly innovating on transparency with <a href="https://blog.bitgo.com/chainlink-brings-onchain-proof-of-reserve-to-wbtc-fcda00f2815c">a Proof-Of-Reserve mechanism</a> relying on Chainlink, the decentralised oracle network. Namely, Chainlink nodes continuously push the balance of BitGo’s (WBTC) custody wallets onto an Ethereum smart contract, allowing any Ethereum dapp to verify whether WBTC is fully collateralised.</p><p>Similarly, the accounting firm <a href="https://www.armaninollp.com/">Armanino LLP</a> has deployed Proof-Of-Reserve for fiat stablecoins, which — essentially — are bridges from the fiat system to the cryptosphere. Currently, their <a href="https://real-time-attest.trustexplorer.io/trusttoken">solution</a> allows you to verify in real-time whether stablecoins issued by TrustToken (i.e. TrueUSD, TrueGBP) are fully backed, and also makes this information available to smart contracts via Chainlink.</p><h3><strong>Approach II: Federated Signers</strong></h3><p>The idea of trustlessness remains core to the space, however, and other bridges have naturally opted for more decentralised architectures. Simplified, the idea is to process transactions by distributed consensus and incentivise consensus participants towards good behaviour.</p><p>RenVM (the issuer of renBTC) is a pioneer of this approach.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dmIwiUJctTB8I81B.png" /><figcaption>Learn more about RenVM on <a href="https://renproject.io/">renproject.io</a></figcaption></figure><p>In order to execute transfers across chains, RenVM nodes (Darknodes) must put up a bond. If they act maliciously or cause funds to be lost, this bond can be slashed. If they operate correctly, they earn transaction fees.</p><p>Wrap Protocol, the inspiration for this post, is also a federated bridge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*jeSGsDZzHO9OkR4l.jpg" /><figcaption>Read the Wrap Protocol whitepaper <a href="https://github.com/bender-labs/docs/blob/main/Wrap%20Protocol%20-%20Whitepaper.pdf">here</a>.</figcaption></figure><p>To wrap an Ethereum ERC-20 into a Tezos FA2, a user:</p><ul><li>Deposits the ERC-20 into an Ethereum deposit contract.</li><li>Waits for a threshold (“quorum”) of signers to issue signed instructions for minting the equivalent amount on Tezos.</li><li>Submits these signed instructions to the Tezos contract, and receives the wrapped tokens.</li></ul><p>Currently, the Signers have no hard incentive to behave correctly. However, a majority would have to collude for malicious behaviour to succeed. A more comprehensive incentive framework is on the roadmap.</p><h3><strong>Approach III: Oracles</strong></h3><p>A trustless bridge could also rely on a decentralised oracle. Instead of forging consensus off-chain, participants submit their observations to an oracle smart contract.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PmIAKcxz3mLcTGAjrLvKLA.png" /><figcaption>Courtesy of <a href="https://genesisblockhk.com/crypto-101-what-is-chainlink/">Genesis Block HK</a>.</figcaption></figure><p>This contract is then responsible for computing observations into a consensus and triggering mint and redeem actions accordingly. Any incentive framework (i.e. bonds and rewards) would also be codified in the smart contract.</p><p>Although Chainlink could easily power such a solution, its reliance on smart contract operations is a hurdle to adoption. Firstly, it would be incompatible with Bitcoin. Secondly, today’s bridges predominantly tie into Ethereum, where smart contract operations can be expensive.</p><h3><strong>Approach IV: Atomic Swaps</strong></h3><p>The previous approaches all rely on off-chain infrastructure, trustless or otherwise. Atomic swaps, however, can be executed on-chain(s) directly between users.</p><p>They are termed “atomic” because they must either execute entirely or be reverted, with any funds returned to the original owners.</p><p>Hash Time Locked Contracts (HTLCs) are the building block of atomic swaps. To illustrate HTLCs, let us imagine that Alice and Bob want to exchange ETH for XTZ:</p><ol><li>Alice generates a secret key for the purpose of the transaction, and derives its cryptographic hash.</li><li>Alice deposits ETH into a smart contract on Ethereum, referencing the cryptographic hash and Bob’s public key. For the duration of a specified time lock, only Bob can access the funds if he provides Alice’s secret key.</li><li>Bob deposits his XTZ into a smart contract on Tezos, referencing the same cryptographic hash and Alice’s public key. For the duration of a specified time lock, only Alice can access the funds if she provides her secret key.</li><li>Alice redeems the XTZ with her secret key, thereby revealing it to Bob.</li><li>Bob redeems the ETH with Alice’s secret key.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eU0HJuKyQiVG_7F1" /><figcaption>Courtesy of Baking Bad (creators of Atomex) and their solid illustration on <a href="https://medium.com/coinmonks/atomex-cross-chain-atomic-swaps-on-practice-8139571f0ee5">Coinmonks</a></figcaption></figure><p>Should Bob fail to deposit the XTZ, or should Alice fail to reveal her secret key, the funds can be reclaimed by their respective owners after the time lock(s). In that way, the swap is atomic.</p><p>Although a trustless solution with no intermediaries is certainly elegant, atomic swaps are not usable without a liquid market. Alice does not appear out of thin air if Bob wants to trade, so this market has to be created.</p><p><a href="https://atomex.me/">Atomex</a> is one live exchange leveraging atomic swaps.</p><h3><strong>Approach V: Synthetic Assets</strong></h3><p>A synthetic asset “mimics” the value of an underlying asset. DAI, for instance, approximates the value of the U.S. dollar. To create DAI, a user locks excess collateral — i.e. 200 USD worth of ETH in order to create 100 DAI. Should the value of the collateral drop beyond a defined threshold, it can be liquidated by other users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uEmuFlpwOkj-Aiyi.png" /><figcaption>Learn more about how DAI works on <a href="https://makerdao.com/en/whitepaper">makerdao.com</a></figcaption></figure><p>I hesitate to describe synthetic assets as bridges. They are a generic means of representing an external index on chain, whether the U.S. dollar on Ethereum or Litecoin on Binance Smart Chain. However, they cannot be used to redeem the underlying asset, and their price is subject to economic mechanisms that can achieve a <em>soft</em> peg only.</p><p>As innovative as DAI may be, it offers value as a decentralised alternative to fiat stablecoins, not as a bridge.</p><p>__ __ __ __</p><p>I hope you found this guide useful. Wander the cryptoverse safely. 🚀</p><ul><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></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46bc7ac767fd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/bridges-between-chains-a-taxonomy-46bc7ac767fd">Bridges Between Chains: A Taxonomy</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[Non-Custodial Crypto Wallets: Six Types Explored]]></title>
            <link>https://medium.com/coinmonks/non-custodial-crypto-wallets-six-types-explored-a8bc1187cf4a?source=rss-47a88900b404------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8bc1187cf4a</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[tezos]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[helvantine]]></dc:creator>
            <pubDate>Fri, 15 Jan 2021 05:44:01 GMT</pubDate>
            <atom:updated>2021-01-15T20:02:25.215Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vgghmmyhBR6oUEnt.jpg" /><figcaption>Image from <a href="https://edge.app/why-non-custodial-wallets-matter/">edge.app</a></figcaption></figure><p>With Bitcoin attracting unprecedented interest and decentralised finance taking the crypto world by storm, it is a good time to expand on a fundamental concept in the cryptocurrency movement: self-custody.</p><p>When you deposit money in the bank, you are trusting the bank to preserve your assets. Should the bank go bust or “lose” its internal ledger, your funds are — evidently — at risk. With the arrival of Bitcoin in 2009, humanity found the digital equivalent of stashing money under the mattress — namely, a means of holding units of digital value <em>directly</em> in what are often termed self-hosted or non-custodial wallets.</p><p>Whether self-custody is a good idea or not is another question. There is the principle of <a href="https://www.ledger.com/academy/not-your-keys-not-your-coins-why-it-matters">“not your keys, not your coins”</a>, but also a history of people losing these keys. Cryptocurrency exchanges holding your funds can get hacked, but so can you. One observer recently had an <a href="https://www.bloomberg.com/opinion/articles/2021-01-12/don-t-forget-your-bitcoins">interesting take</a> on the idea of being your own bank:</p><pre><em>Let me put it this way, do you make your own shoes? The reason we have banks is that we don’t want to deal with all those things that banks do</em>.</pre><p>If you can manage the risk of self-custody confidently, however, a non-custodial wallet not only gives you full control over your assets, but also the ability to interact within the burgeoning decentralised finance ecosystem.</p><p>In this post, I would like to shine a light on six different types of non-custodial wallet, and offer an introductory guide.</p><pre>Hold on, what exactly is a wallet?</pre><pre>In the cryptoverse, a wallet is an application holding pairs of public and private cryptographic keys, each corresponding to an account<em>.</em></pre><pre>The public key is used to track ownership or balances, as well as to receive payments. The private key is used to create signatures for transactions — for instance, one that transfers your funds.</pre><pre>With the mathematical primitives of <a href="https://en.wikipedia.org/wiki/Public-key_cryptography">public key cryptography</a>, one can establish whether a signature is valid by verifying it against the corresponding transaction and its sender’s public key. However, it is impossible to reverse engineer the private key from this information. In other words, you can prove that you possess a private key without ever revealing it.</pre><pre>A key factor in classifying wallets is their approach to securing private keys.</pre><h3>Browser Wallet</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*2KXAPKlu_3ArV5wj.jpg" /><figcaption>The Metamask Fox</figcaption></figure><p><a href="https://metamask.io/">Metamask</a> is — by far — the most widely used browser wallet. With Metamask, you can hold Ethereum-based tokens and interact with Ethereum dapps (like Compound or Uniswap) directly from your browser. Alongside its intuitive interface, this makes for an incredible user experience.</p><p>On the flip side, Metamask stores private keys on the browser. Although the private keys are password-protected, any data stored on a device that is connected to the internet is — by definition — more vulnerable to being hacked. By using Metamask <a href="https://metamask.zendesk.com/hc/en-us/articles/360020394612-How-to-connect-a-Trezor-or-Ledger-Hardware-Wallet">in conjunction with a hardware wallet</a>, however, you can address this vulnerability with minimal impact on convenience. Read more about hardware wallets below.</p><p><em>Are you a fan of Tezos? Check out </em><a href="https://thanoswallet.com/"><em>Thanos</em></a><em> as an equivalent.</em></p><h3>Mobile Wallet</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*-QHSPeGnnYiH9pjDEf9H6w.jpeg" /><figcaption>Sylo Smart Wallet</figcaption></figure><p>There is really quite a multitude here. <a href="https://wallet.coinbase.com/">Coinbase</a> and <a href="https://trustwallet.com/">Binance</a> have their official non-custodial mobile wallets. <a href="https://status.im/">Status</a> combines an Ethereum wallet with a messaging application. <a href="https://www.sylo.io/wallet/">Sylo</a> broadens the scope of Status to include Bitcoin and Tezos. <a href="https://www.argent.xyz/">Argent</a> integrates Ethereum DeFi natively. The list goes on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GyOZjx3a3WmHqX7NcsuMTw.png" /><figcaption>Ethereum DeFi on Argent</figcaption></figure><p>Increasingly, you can use mobile wallets with Ethereum dapps via an open protocol called <a href="https://walletconnect.org/">WalletConnect</a>. If the given dapp also integrates WalletConnect, you can sign transactions by scanning a QR code.</p><p>As with Metamask, while mobile wallets tend to be password-protected, storing private keys on a connected device is an inherent vulnerability.</p><p><em>Argent is also a smart contract wallet. Learn more below.</em></p><h3><strong>Hardware Wallet</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/0*1lhMQ1ReHYg9ddf9.png" /><figcaption>Ledger Nano X</figcaption></figure><p>A hardware wallet is an encrypted, offline device to store your private keys. It can sign transactions, but it <em>never</em> releases any private key in plain text. The functionality of the device is minimal, reducing its attack surface. As long as any recovery codes are also stored offline, this means hardware wallets are significantly less vulnerable to being hacked.</p><p><a href="https://www.ledger.com/">Ledger</a> is a flagship hardware wallet in the cryptosphere. It can interact with multiple blockchains via LedgerLive, and sign transactions through a range of ecosystem wallets like Metamask. In a nutshell, convenience with top-level security.</p><p>That being said, the Ledger <em>company</em> recently suffered a <a href="https://www.forbes.com/sites/kenrapoza/2021/12/28/after-ledger-hack-who-can-you-trust-for-bitcoin-storage/?sh=7caa593a3840">massive leak of customer information</a>. As the wallet is non-custodial, this cannot directly compromise any funds — but it has led to a string of phishing attacks.</p><h3>Smart Contract Wallet</h3><p>A smart contract wallet is a construct whereby tokens are held on a smart contract controlled by a private-public key pair. With that model, you can have logic for recovery, daily transaction limits, locking and beyond while remaining non-custodial. Using Argent, for instance, you can define one or more “<a href="https://support.argent.xyz/hc/en-us/articles/360022631992-About-guardians">Guardians</a>” that can lock your wallet, approve a wallet recovery or approve a transfer that exceeds your daily limit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vc1dVnwvW46enxXrxuGIaw.jpeg" /><figcaption>Selecting a Guardian on Argent</figcaption></figure><p>A smart contract wallet can easily be secured by a hardware wallet. If you add a Ledger account as Guardian on Argent, for instance, you can require your Ledger to approve any transfer beyond the limit you define.</p><p>More broadly, the concept of selecting trusted people or devices as wallet guardians is often termed “social recovery”. As the ecosystem continues to advance, smart contract wallets and social recovery are poised to play a key role in making self-custody more user-friendly.</p><h3>AirGap</h3><p><a href="https://airgap.it/">AirGap</a> innovates on security with the idea of “<a href="https://en.wikipedia.org/wiki/Air_gap_(networking)">air gapping</a>”, which isolates the private key <em>completely </em>from the internet or any other device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/338/1*nKGsr0TMbL-Wpi7Ul47tTg.png" /><figcaption>The air-gapped vault application holding your private key (left) and the wallet application (right)</figcaption></figure><p>A hardware wallet needs to be connected to your computer via USB in order to sign transactions. In theory, this makes it vulnerable to a <a href="https://en.wikipedia.org/wiki/Side-channel_attack">side-channel attack</a>. By reading the power consumption of the USB port, a sophisticated attacker could derive the private key, or at least limit the search spectrum to find it by brute force.</p><p>Ledger addresses side-channel attacks with a <a href="https://www.ledger.com/academy/security/the-secure-element-whistanding-security-attacks#:~:text=A%20Secure%20Element%20is%20a%20highly%20advanced%20chip%20that%20mitigates,security%20solution%20for%20crypto%20assets.">specialised secure chip</a>, but we won’t resolve the conversation in this post.</p><p>The AirGap idea is to have the AirGap Wallet on your everyday device, and the private key held in the AirGap Vault on an <em>offline</em> device. With this setup, you can execute a transaction in the following steps:</p><ol><li>Create a transaction on the AirGap Wallet to generate a QR code for the <em>unsigned </em>transaction.</li><li>Scan the first QR code with the AirGap Vault, generating a second QR code for the <em>signed </em>transaction.</li><li>Scan the second QR code with the AirGap Wallet to broadcast the signed transaction.</li></ol><p>You can visualise the flow <a href="https://www.youtube.com/watch?v=qbfFp2gw3MU">here</a>. The important point is that the private key remains completely isolated throughout the process.</p><p>As an added feature, AirGap supports social recovery through the concept of <a href="https://en.wikipedia.org/wiki/Shamir%27s_Secret_Sharing#High-level_explanation">Shamir’s Secret Sharing</a>. Your private key is divided into parts called <em>shares, </em>and each share is given to a trusted contact. To reconstruct the private key, a minimum number of shares — defined beforehand — is required.</p><p>The AirGap wallet currently supports multiple blockchains including Bitcoin, Ethereum, Tezos and Polkadot. Although early in its adoption curve, AirGap offers unique, compelling angles and I am excited to see it evolve.</p><h3>Torus</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*4-i4wYxgpql-l9qowTRcbA.gif" /><figcaption>Animation from the Torus website.</figcaption></figure><p>The <a href="https://tor.us/">Torus</a> protocol allows you to generate and access non-custodial wallets via Google, Twitter and other logins based on the <a href="https://en.wikipedia.org/wiki/OAuth">OAuth standard</a>. It even allows you to send funds to an <em>email address</em> or<em> social handle</em>. If the recipient does not have a wallet yet, they can access any funds once they set it up.</p><p>With no more mnemonic phrases to safeguard and a login flow that feels like the normal internet, the Torus user experience is a groundbreaker for mass adoption.</p><p>You can learn more <a href="https://docs.tor.us/">here</a> about the mechanics of Torus. It also leverages <a href="https://en.wikipedia.org/wiki/Shamir%27s_Secret_Sharing#High-level_explanation">Shamir’s Secret Sharing</a>. When you log in, the browser “reconstructs” the private key based on the information received by multiple Torus nodes. The private key is not stored anywhere else, and kept only for the session.</p><p>Check out <a href="https://app.tor.us/">Torus Wallet</a> for Ethereum and <a href="https://wallet.kukai.app/">Kukai Wallet</a> for Tezos.</p><p>__ __</p><p>Overall, there is no shortage of quality or innovation in the wallet ecosystem. I hope you found this guide useful.</p><pre>Disclaimer. None of the above is intended as advice on self-custody or endorsement of a particular wallet. Do your own research before holding funds on a non-custodial wallet.</pre><pre>HODL to the 🌒 safely 🔐 <br>🚀 🚀 🚀</pre><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><a href="http://blog.coincodecap.com/go/learn">Learn Ethereum and Web3 development</a></li><li>The Best <a href="https://medium.com/coinmonks/crypto-trading-bot-c2ffce8acb2a">Crypto Trading Bot</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://blog.coincodecap.com/coinrule-review-a-perfect-trading-bot">Coinrule review</a></li><li><a href="https://medium.com/coinmonks/aax-exchange-review-2021-67c5ea09330c">AAX Exchange Review</a> | <a href="https://medium.com/coinmonks/deribit-review-options-fees-apis-and-testnet-2ca16c4bbdb2">Deribit Review</a> |<a href="https://medium.com/coinmonks/ftx-crypto-exchange-review-53664ac1198f">FTX Crypto Exchange Review</a></li><li><a href="https://medium.com/coinmonks/ngrave-zero-review-c465cf8307fc">NGRAVE ZERO review</a></li><li><a href="https://medium.com/coinmonks/bybit-exchange-review-dbd570019b71">Bybit Exchange Review</a></li><li><a href="https://medium.com/coinmonks/3commas-vs-pionex-vs-cryptohopper-best-crypto-bot-6a98d2baa203">3Commas vs Cryptohopper</a></li><li>The Best Bitcoin <a href="https://medium.com/coinmonks/the-best-cryptocurrency-hardware-wallets-of-2020-e28b1c124069?source=friends_link&amp;sk=324dd9ff8556ab578d71e7ad7658ad7c">Hardware wallet</a></li><li><a href="https://medium.com/coinmonks/top-10-crypto-copy-trading-platforms-for-beginners-d0c37c7d698c">Crypto Copy Trading Platforms</a></li><li><a href="https://blog.coincodecap.com/ledger-nano-s-vs-x">ledger nano s vs x</a></li><li><a href="https://blog.coincodecap.com/vauld-review">Vauld Review</a> | <a href="https://medium.com/coinmonks/youhodler-4-easy-ways-to-make-money-98969b9689f2">YouHodler Review</a></li><li>The Best <a href="https://medium.com/coinmonks/best-crypto-tax-tool-for-my-money-72d4b430816b">Crypto Tax Software</a></li><li>Best <a href="https://medium.com/coinmonks/top-5-crypto-lending-platforms-in-2020-that-you-need-to-know-a1b675cec3fa">Crypto Lending Platforms</a></li><li><a href="https://blog.coincodecap.com/ledger-nano-s-vs-trezor-one-ledger-nano-x-trezor-t">Ledger Nano S vs Trezor one vs Trezor T vs Ledger Nano X</a></li><li><a href="https://medium.com/coinmonks/blockfi-vs-celsius-vs-hodlnaut-8a1cc8c26630">BlockFi vs Celsius</a> vs Hodlnaut</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></li><li><a href="https://medium.com/coinmonks/cointracking-review-a-reliable-cryptocurrency-tax-software-5114e3eb5737">CoinTracking Review</a></li><li><a href="https://medium.com/coinmonks/ellipal-titan-review-85e9071dd029">Ellipal Titan Review</a> | <a href="https://blog.coincodecap.com/secux-stone-hardware-wallet-review">SecuX Stone Review</a></li><li><a href="https://medium.com/coinmonks/blockfi-review-53096053c097">BlockFi Review</a> | Earn up to 8.6% interests in your Crypto</li><li><a href="https://explorer.bitquery.io/ethereum/dex">DEX Explorer</a> and <a href="https://explorer.bitquery.io/graphql">Blockchain APIs</a></li><li><a href="https://medium.com/coinmonks/crypto-arbitrage-guide-how-to-make-money-as-a-beginner-62bfe5c868f6">Crypto arbitrage</a> guide: How to make money as a beginner</li><li>Best <a href="https://medium.com/coinmonks/what-are-the-best-charting-platforms-for-cryptocurrency-trading-85aade584d80">Crypto Charting Tool</a></li><li>What are the <a href="https://medium.com/coinmonks/what-are-the-best-books-to-learn-bitcoin-409aeb9aff4b">best books to learn about Bitcoin</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=a8bc1187cf4a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/non-custodial-crypto-wallets-six-types-explored-a8bc1187cf4a">Non-Custodial Crypto Wallets: Six Types Explored</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>