<?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[Rivet Magazine - Medium]]></title>
        <description><![CDATA[The future has arrived. - Medium]]></description>
        <link>https://medium.com/rivet-magazine?source=rss----21c0442c1986---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Rivet Magazine - Medium</title>
            <link>https://medium.com/rivet-magazine?source=rss----21c0442c1986---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 20:39:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/rivet-magazine" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The next big thing from the team at Rivet]]></title>
            <link>https://medium.com/rivet-magazine/the-next-big-thing-from-the-team-at-rivet-bbe31afe4608?source=rss----21c0442c1986---4</link>
            <guid isPermaLink="false">https://medium.com/p/bbe31afe4608</guid>
            <category><![CDATA[node-infrastructure]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[evm]]></category>
            <category><![CDATA[ethereum-blockchain]]></category>
            <dc:creator><![CDATA[Greg Lang]]></dc:creator>
            <pubDate>Tue, 15 Feb 2022 00:22:09 GMT</pubDate>
            <atom:updated>2022-02-15T00:22:09.099Z</atom:updated>
            <content:encoded><![CDATA[<h4>It’s called Cardinal — and “upgrade” is an understatement. Learn what it is and how we’re rolling it out below.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6EFnJO8xRqswtG2dgQ4jIQ.jpeg" /></figure><p>At Rivet, we envision a future where anyone can effortlessly bring their ideas to life without limits — whether imposed by technical know-how, or gatekeepers of the status quo.</p><p>That’s why we’ve made it our mission to build the best possible node infrastructure APIs for the developers and teams who are building that future.</p><p>Our team has not only spared no effort to make Rivet a scale-on-demand, high-availability (99.95% uptime SLA) service — we’ve done it without compromising the values that inspire and animate the web3 movement.</p><p>Since we launched Rivet, we’ve continually added unique capabilities and features to empower developers even further — such as the ability to signup/login with web3, pay with DAI or ETH, and access indexed transaction/log data.</p><h4>Today, we’re beyond excited to announce our next big thing — Cardinal. So what is it?</h4><p>Without getting into too much detail (if you’re curious about digging deeper, you can read about it in-depth <a href="https://blog.openrelay.xyz/cardinal/">here</a>) — Cardinal is the open source technology we created to take Rivet to the next level.</p><p>With Cardinal, we will be able to provide availability, performance, and quality beyond even what you’ve already come to expect from Rivet — with no increase in cost — on an essentially unlimited number of blockchains. While we will soon be adding support for the most popular protocols, the first step is rolling out Cardinal for the networks we currently support.</p><p>We’ve been working on perfecting Cardinal for more than a year, so we expect the transition to be seamless. So to ensure we give you plenty of time to get comfortable with the Cardinal upgrade before we cut over, we’re rolling it out in <em>5 phases</em> over the course of <em>8 weeks</em>.</p><h4><strong>TLDR: Phase Overview Timeline</strong></h4><blockquote><strong>Phase 1: Universal Opt-in </strong>(~14 days) <strong>——— You are Here!</strong><em><br></em><strong>Phase 2: Testnet Cutover w/ Opt-out </strong>(~14 days)<em><br></em><strong>Phase 3: Mainnet Cutover w/ Opt-out </strong>(~7 days)<em><br></em><strong>Phase 4: Testnet Opt-out Disabled </strong>(~21 days)<em><br></em><strong>Phase 5: Mainnet Opt-out Disabled</strong></blockquote><h4><strong>Phase 1: Cardinal Opt-in Opens • ~14 Days</strong></h4><p>Starting on February 14 (today!), you may opt in to Cardinal to begin testing. To opt in, you don’t need to make any changes in your codebase — all you have to do is toggle it on in the Update Plan view of the Rivet dashboard.</p><p>Testnets, ETH Mainnet, and ETC Mainnet will all have separate toggles, so you can conduct tests on your testnet of choice before you decide to opt in on Mainnet.</p><p>During this phase, you can opt out in the Update Plan view at any time. If you do encounter issues that necessitate opting out, please contact us via email at support@rivet.cloud or hit us up on Discord and we’ll work with you to get it sorted out.</p><h4><strong>Phase 2: Testnets to Cardinal with Opt-out • ~14 Days</strong></h4><p>At the outset of this phase, <strong><em>all testnets will be cut over to Cardinal by default</em></strong>. As in Phase 1, if you need to opt out for any reason, you can do so from the Update Plan view of the Rivet dashboard. <strong><em>If you need to opt out of Cardinal due to any issues with your testnet-deployed applications, you will have to do so manually!</em></strong></p><p>Again, if you encounter issues, please contact us via our support email address so we can help get it resolved.</p><h4><strong>Phase 3: Mainnets to Cardinal with Opt-out • ~7 Days</strong></h4><p>In this phase, we’ll do the same thing we did in Phase 2 — this time for the ETH and ETC mainnets. <strong><em>If you need to opt out of Cardinal due to any issues with your mainnet-deployed applications, you will have to do so manually!</em></strong></p><h4><strong>Phase 4: Testnets Cutover to Cardinal • ~21 Days</strong></h4><p>At the outset of Phase 4, we will <strong><em>permanently cut over all testnets</em></strong> to Cardinal and <strong><em>disable the corresponding opt-out</em></strong>.</p><p>Note: we will not begin this phase if there are any outstanding issues identified by your reports to us or by our ongoing testing throughout the preceding phases.</p><h4><strong>Phase 5: Mainnets Cutover to Cardinal</strong></h4><p>At the outset of Phase 5, we will <strong><em>permanently cut over all mainnets</em></strong> to Cardinal and <strong><em>disable the corresponding opt-outs</em></strong>. As with Phase 4, if there are any outstanding issues, we will resolve them before beginning this phase.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*R_wUGNa2GWa40SLnI_AmBA.png" /><figcaption>Q: Will there be a Cardinal mascot NFT pfp collection? • A: 🤔 Yes. No. Maybe. 🤫 😉</figcaption></figure><p><strong>Epilogue: What’s Next for Rivet 2.x</strong></p><p>We’ve got big plans for 2022, and the Cardinal rollout is just the beginning. So what’s next on the roadmap?</p><p><em>• Support for EVM-based chains like Polygon, Arbitrum, BSC, and more. (Any special requests? Email support@rivet.cloud or </em><a href="https://discord.gg/GdWwbSMSk6"><em>hit us up on Discord</em></a><em> to start a conversation!)</em></p><p><em>• A brand new Rivet Dashboard experience, optimized to make working with multiple keys across multiple chains, managing your account/plan preferences, and visualizing your usage data a breeze.</em></p><p><em>• Tokenized request capacity. A pure utility token that will enable you to mint tokens with your unused request capacity, burn them to add that capacity to a new or exiting Rivet account. Send them to a friend/hackathon winner/bug bounty/Gitcoin grant/portfolio company/MOOC student/DAO treasury/smart contract/etc. (Cool, right?!)</em></p><p><em>• And more!</em></p><p>This is just a high-level snapshot of where we’re headed — stay tuned for more details as 2022 progresses. And as always, we can’t wait to see what you’ll BUIDL. Cheers!!!</p><p>— ❤️ The Rivet Team</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbe31afe4608" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rivet-magazine/the-next-big-thing-from-the-team-at-rivet-bbe31afe4608">The next big thing from the team at Rivet</a> was originally published in <a href="https://medium.com/rivet-magazine">Rivet Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rivet’s expanded free tier, and how it stacks up against competing Ethereum node infrastructure…]]></title>
            <link>https://medium.com/rivet-magazine/rivets-expanded-free-tier-and-how-it-stacks-up-against-competing-ethereum-node-infrastructure-e5db667db786?source=rss----21c0442c1986---4</link>
            <guid isPermaLink="false">https://medium.com/p/e5db667db786</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[infrastructure]]></category>
            <dc:creator><![CDATA[Greg Lang]]></dc:creator>
            <pubDate>Thu, 19 Nov 2020 20:48:18 GMT</pubDate>
            <atom:updated>2020-11-19T20:48:18.167Z</atom:updated>
            <content:encoded><![CDATA[<h3>Rivet’s expanded free tier, and how it stacks up against competing Ethereum node infrastructure services.</h3><h4>TLDR: Rivet’s new free offering gives you more than any other competing service.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/553/1*DTTvLL3RrtC4NBnwryFTXw@2x.jpeg" /></figure><p>On November 16, 2020, Rivet announced an increase in our free offering. Starting on that date, all accounts created using an email address—in the past or future—get 3,000,000 free requests each month.</p><p>While clearly this is a major increase from our previous offering of 500,000 requests per month, you may be wondering how this stacks up compared to other competing services. In this post, we’ll be making just that comparison.</p><h4>Competing Services</h4><p>For purposes of this article, we’ll be comparing Rivet to all services that offer a free tier of service. While other factors may come into play when it comes to differentiating between services or deciding which one is best for different projects to use, when it comes to getting started, the generosity of the free tier of service is a major factor developers will want to take into account.</p><p>Bearing that in mind, here are the services that we’re going to be comparing to Rivet in this article: Alchemy, Quiknode, and Infura.</p><p><strong>Alchemy</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*-X2tt6h_esKwIGUR4nciOA.jpeg" /><figcaption>TLDR: WTF is a compute unit?</figcaption></figure><p>10,000,000 of a thing sounds like a lot. But with Alchemy, you get 10,000,000 “compute units” a month.</p><p>How many compute units is in one request? Good question—but it most likely depends on what that request includes. But we have no way to gain any insight into the answer to that question based on the information provided.</p><p>The bottom line? If your use case calls for 100,000 requests per day, and each request averages out to 4 or more compute units, then you’re going to need more than Alchemy’s free tier to make it through the month.</p><p>Will that be you? Who knows?</p><p>With Rivet, you get 3,000,000 free requests per month—regardless of what kind of request you’re making. With Alchemy, it depends….</p><p><em>Verdict: Advantage Rivet</em></p><p><strong>Quiknode</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*r0NgXzZjYaH39-YY8TIKBA.jpeg" /></figure><p>With Quiknode, you don’t get a free tier—you get a free trial of their $9.00/month plan—which offers 300,000 calls per month.</p><p><em>Verdict: Advantage Rivet</em></p><p><strong>Infura</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/451/1*MRR9Nq8s7PINYNCkKSlCJQ.jpeg" /></figure><p>Finally, with Infura, you get 100,000 requests per day. While this adds up to 3,000,000 requests per month, if you ever need more than 100,000 in one day, you’ll need to pay for the next tier up.</p><p>With Rivet, you get 3,000,000 requests per month. If you want to use 1.5 million of them on day 1 and spread the remainder out across the next 29 days—no worries, you do you.</p><p>So while the overall number of free requests you get in a month is technically the same, Rivet gives it to you without limitations on daily use.</p><p><em>Verdict: Advantage Rivet</em></p><h4>Conclusion</h4><p>If you’re looking for the most generous free plan of any other competing service, look no further than Rivet. With Rivet, you get a no-surprises, no-daily-limits 3,000,000 requests a month. If that’s not enough, you’ll only pay $1 per 100,000 additional requests—and you pay only for what you use.</p><p>(And if you pre-pay with ETH or DAI, you can get up to 15% off beyond even that!)</p><p>For these reasons, we feel confident when we say that Rivet has the best free tier on 🌎.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5db667db786" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rivet-magazine/rivets-expanded-free-tier-and-how-it-stacks-up-against-competing-ethereum-node-infrastructure-e5db667db786">Rivet’s expanded free tier, and how it stacks up against competing Ethereum node infrastructure…</a> was originally published in <a href="https://medium.com/rivet-magazine">Rivet Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How we built the best Ethereum node infrastructure service on  .]]></title>
            <link>https://medium.com/rivet-magazine/how-we-built-the-best-ethereum-node-infrastructure-service-on-9b082db5a1dc?source=rss----21c0442c1986---4</link>
            <guid isPermaLink="false">https://medium.com/p/9b082db5a1dc</guid>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[cloud-infrastructure]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Greg Lang]]></dc:creator>
            <pubDate>Mon, 09 Nov 2020 19:27:23 GMT</pubDate>
            <atom:updated>2020-11-09T19:27:23.475Z</atom:updated>
            <content:encoded><![CDATA[<h4>And what we really mean when we say ‘best’.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LPF8grJPCEyc4Q-p" /><figcaption>Photo by <a href="https://unsplash.com/@nasa?utm_source=medium&amp;utm_medium=referral">NASA</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>In the beginning, there was Infura.</h4><p>When we started building the open source technology that would ultimately become the beating heart of Rivet, we didn’t have plans to offer it as a service. We were building it for OpenRelay, our 0x order book infrastructure project.</p><p>Back then, developers had two choices for Ethereum infrastructure — Infura or DIY. And while the truly OG teams frequently took it upon themselves to build and host their own nodes, the vast majority of request traffic was going through Infura.</p><p>While we were bound and determined determined to go the OG route and host our own nodes, we quickly learned a thing that all teams attempting to host a high-capacity, high-availability service capable of catering to a large number of simultaneous users learns:</p><p><em>Ethereum node clusters are brittle, complex, compromise-laden, soul-consuming, time-sucking, anxiety-inducing single points of catastrophic failure that require constant babysitting.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FJYEEdjzlsb280%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Ftrain-trainwreck-wreck-JYEEdjzlsb280&amp;image=https%3A%2F%2Fmedia2.giphy.com%2Fmedia%2FJYEEdjzlsb280%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/a64057f9adbb8c56fafe357a25d10af2/href">https://medium.com/media/a64057f9adbb8c56fafe357a25d10af2/href</a></iframe><p>The uninitiated might think “what’s the big deal? You should treat it like any server — just spin up another instance and kill the old one. What a bunch of noobs!” But if you’re a seasoned Ethereum developer, you’ll know that Ethereum nodes have to sync with the network before they can respond to requests — a process that means saving the entire history of the Ethereum blockchain to disk. And you’ll know it often takes half a day or more to do so — presuming you’re building from a relatively recent backup. If you’re starting from scratch, it can take days.</p><p>Even in the best-case scenario you’re in for a devastatingly-long outage if all of your nodes happen to fail at once.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*n2cU_sR7w1oHEgWH" /><figcaption>Population you. Photo by <a href="https://unsplash.com/@will_myers?utm_source=medium&amp;utm_medium=referral">Will Myers</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>And that’s just the start of it.</h4><p>If you’re running multiple nodes behind a load balancer, there is almost always going to be a chance that your nodes will not all be synchronized with one another since new blocks propagate across the network unevenly in a peer-to-peer network like Ethereum.</p><p>That means your query results can conflict internally! For example, imagine you run a cluster of two nodes behind a load balancer.</p><p>Your dapp executes a function that updates token balances at the latest block and displays it in a UI. First, it queries for the latest block number. Then based on the result, it queries for a token balance at that specific block number.</p><p>Now imagine the load balancer sends the first query to Node 1, which is at that moment one block ahead of Node 2. It returns the result and the function fires off a request to get the token balance at that block.</p><p>This time, however, the load balancer routes the request to Node 2, which hasn’t yet caught up to Node 1 — and worse than one might even expect, it doesn’t return an appropriate error response—just an outdated balance.</p><p>Now, this won’t always happen, but it will always have some probability of happening — and it’ll be unpredictable because the frequency that probability is realized will depend in part on how much traffic you’re getting.</p><p>While you might mitigate this problem in several different ways, your mitigation will never be 100% effective, and all of them will make the user experience inconsistent and — for lack of a better word — a little (or a lot) janky.</p><p>Topping it all off, if you get a sudden boost in traffic, you’re gonna need a lot of idle capacity since you can’t spin up new nodes very quickly. And if you don’t have enough idle capacity, your nodes will be overrun — degrading your service and potentially causing them to crash.</p><p>And those are just the broad strokes of the challenge.</p><p>Nightmare, right? You can see why many developers preferred to make it Infura’s problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*di8rhA0A6wXWXEv-5nB7GA.jpeg" /></figure><h4>The trouble with Infura.</h4><p>Given all that can go wrong, you might wonder why we didn’t just set up a free endpoint with Infura and call it a day.</p><p>Well, there were three main reasons.</p><p><strong><em>1. Infura and Goliath</em></strong></p><p>I probably don’t have to explain to you that Web3 is all about correcting the mistakes of Web2. That’s why we all got into this to begin with — to build a cure for the moral hazard now reified by Big Tech, inherent to centralized control of vast amounts of user data.</p><p>If everyone used Infura, history would just be repeating itself, and we didn’t want to contribute to the trend.</p><p><strong><em>2. Infura and Classic Jaguars</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*b7-vcmb4ukLWvNf3" /><figcaption>Pictured: expensive-AF taillights that take forever to ship. Photo by <a href="https://unsplash.com/@markusspiske?utm_source=medium&amp;utm_medium=referral">Markus Spiske</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>If you’ve ever tried to get replacement parts for a 1969 E-type Roadster, you’ll know that the parts take a long time to ship from the UK, that they’re expensive AF, and some parts have to be purchased from a salvage yard because the OEM has discontinued them. Waiting 3–5 weeks for a procurement agent to source and ship you a $100 taillight bulb is no fun — and is also a great example of why most people don’t make classic Jaguars their daily drivers.</p><p>When you’re trying to build an open source project, (OpenRelay, as with all our products, is entirely open source), you don’t want to build dependencies on things that may one day be a lot like that classic Jaguar’s taillight bulbs— proprietary and not guaranteed to be affordable or readily available down the road.</p><p><strong><em>3. Infura and the Power of Control of the Vertical</em></strong></p><p>We wanted to build OpenRelay to take full advantage of the capabilities of Geth, and we wanted to optimize it to be as efficient as possible without worrying that something might change that would undermine or break our optimizations.</p><p>When you build dependencies on proprietary code managed by third parties, you’re locked in to their decisions — and the inherent downstream limitations those decisions impose — for as long as the dependency exists.</p><p>So all things considered, Infura wasn’t really an option we could live with.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tISe8mjOoIf21AWh" /><figcaption>Photo by <a href="https://unsplash.com/@technick_inc?utm_source=medium&amp;utm_medium=referral">Nick Coleman</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Enter the EtherCattle Initiative: our evil master plan to build a no-compromises easy-to-manage open source Ethereum node cluster architecture.</h4><p>Rather than bite the bullet and resign ourselves to mitigating all of the issues with the ‘nodes-behind-a-load-balancer’ approach, we came up with something different — and the EtherCattle Initiative was born.</p><p>Thanks in part to grant funding from the 0x Project, we built a system that enabled us to spin up additional node capacity in minutes. The solution — streaming replication — wasn’t especially exotic or even new. It had just never been implemented in an Ethereum client before.</p><p>While it took us a number of months and a lot of instrumental innovations, once we got it together, it worked like a charm. With it, we could kill unhealthy instances and spin up new ones with no trouble at all — and add or reduce capacity based on current usage metrics rather than attempted tea-leaf reading based on anticipated capacity.</p><p>The only problem? OpenRelay didn’t need nearly the kind of capacity afforded by the minimum viable size of a high-availability cluster. What would we do with all the extra capacity?</p><h4>Rivet is born.</h4><p>The idea for Rivet — a competitor to Infura that could 1) reduce dependency on a single centralized provider, 2) give projects an open source alternative to Infura and others that were then emerging (such as Alchemy), 3) leverage the remarkable capabilities of the EtherCattle Initiative technology to deliver a service that was qualitatively just plain better, ultimately contributing to the ascendency of Ethereum-based projects and the advent of Web3, 4) give developers and their supporting teams a tool that would lower barriers to entry into Ethereum development by make their lives less complicated, and 5) help fund the continued development of the open source EtherCattle Initiative.</p><h4>How we made Rivet the best on 🌎 (and what we mean by ‘best’)</h4><p>The result in real terms is this—we took the underlying technology and paired it with a service that:</p><p>1. Has predictable, transparent pricing. Nobody likes getting surprised by (or explaining) bigger-than-expected bills — a problem that emerges from complex billing models based on compute credits or t-shirt sizes and overages. In fact, nobody really likes talking about it at all — it’s just not that interesting or rewarding to consider the nuances of a byzantine grid of prices.</p><p>People building the future have better things to worry about. So our pricing strategy was intentionally designed to be as simple and straightforward as possible.</p><p><em>$1 = 100k requests. It’d be hard to invent something more simple.</em><br> <br>2. Self-service, minimal data capture. We didn’t want to pepper developers with a ton of webforms or require sales calls and consultations before developers could just get started using the service. We also would prefer not spend a lot of time doing that kind of stuff. So Rivet is self-service and fast to get started. <em>All you need is email address or an Ethereum wallet and you’re off to the races — no meetings required.</em></p><p>3. Minimalism in design and function. Twiddly bits are sometimes a fun distraction, but the fact remains — they’re a distraction. That’s why you won’t find a whole lot of gizmos, fancy analytics tools, weird metrics, or finicky options in the Rivet dashboard. Because ultimately the most important thing about Rivet is that it does what its supposed to quietly, and otherwise stays out of your way.</p><p><em>Fun Tidbit: We did consider putting an easter egg in the dashboard at one point — we held back. Who wants to look up at the clock in horror and realize they’ve been playing Galaga in their infrastructure provider’s dashboard all afternoon, right?🤪</em></p><p>4. Friendly, collegial expert support by people who know our software inside and out. When you reach out for help, we’re prompt and ready to help you with whatever you might need.</p><p>If you reach out more than once, we’ll remember who you are the second time. And best of all — we don’t assume by default you’re doing something wrong. We work with you to work out whatever comes up.<br> <br>5. Security, reliability, privacy, availability, and performance you can’t get anywhere else. There are a untold nuances glossed over in this short history of how Rivet came to be, and we know it is without equal because we refused to compromise. We weren’t rushing. We weren’t trying to save on short-term costs to get it on the market fast. We built it for ourselves—for our own project. And then we designed the Rivet service around it to be the one that would’ve stopped us from doing so had it existed at the time.</p><p><strong><em>The best part? We’re still just getting warmed up.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8IeB3FeT7nwpuM7c" /><figcaption>Photo by <a href="https://unsplash.com/@louishansel?utm_source=medium&amp;utm_medium=referral">Louis Hansel @shotsoflouis</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Watch this space — you ain’t seen nothin’ yet.</p><p><strong>— ❤️Rivet</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b082db5a1dc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rivet-magazine/how-we-built-the-best-ethereum-node-infrastructure-service-on-9b082db5a1dc">How we built the best Ethereum node infrastructure service on 🌎 .</a> was originally published in <a href="https://medium.com/rivet-magazine">Rivet Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rivet Adds Support for Web3 Login and Crypto Payments]]></title>
            <link>https://medium.com/rivet-magazine/rivet-adds-support-for-web3-login-and-crypto-payments-a87ddeebeca0?source=rss----21c0442c1986---4</link>
            <guid isPermaLink="false">https://medium.com/p/a87ddeebeca0</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[cryptocurrency-news]]></category>
            <category><![CDATA[dapps]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Greg Lang]]></dc:creator>
            <pubDate>Thu, 01 Oct 2020 17:54:09 GMT</pubDate>
            <atom:updated>2020-10-01T17:54:09.479Z</atom:updated>
            <content:encoded><![CDATA[<h3>Meet the Rivet Dashboard Dapp!</h3><h4>Rivet adds support for Web3 Login and payments in DAI or ETH.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/1*9HuMjNO2yZ0WIp8vkhXTEA.jpeg" /><figcaption>“That means…the infrastructure you need to power your dapp can now be obtained…FROM A DAPP?!?!”</figcaption></figure><p>Greetings BUIDLers! We are pleased and excited to announce that we’ve integrated support for Web3 into the Rivet dashboard!</p><p>Starting now, you can sign up and sign in to Rivet by navigating to <a href="https://rivet.cloud/login"><strong><em>rivet.cloud/login</em></strong></a> and selecting <em>Login with Web3</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5UzYxgoMRkjEQul9PuQpKA.jpeg" /><figcaption>Game on. 🔥🔥🔥</figcaption></figure><p>Select it, and you’ll be prompted to choose a wallet from a list.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pMTeCcCuO32p77J0GJ5P3w.jpeg" /><figcaption>If you don’t see your favorite wallet on the list, let us know at <a href="http://support@rivet.cloud/">support@rivet.cloud</a>. We will identify and prioritize future updates based in part on the feedback we receive.</figcaption></figure><p>Once you make a selection, you’ll need to enter a nickname for yourself, your project, or your organization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6GYyawrFAROO0DvVNFMauA.jpeg" /></figure><p>If you have a promo code, you can enter it in this view — just select the <em>Have a promo code?</em> under the submit button to reveal the input field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lJ5bkL6oElZCjC1GvjNVZA.jpeg" /><figcaption>Forgot to add your code? No worries! Just send us an email at <a href="http://concierge@rivet.cloud/">concierge@rivet.cloud</a> and ask us to apply it. Please include the code and wallet address you signed up with in the subject line or body of the email.</figcaption></figure><p>After you hit submit, you’re in! Before you can start using Rivet though, you’re going to need some credits.</p><h4>How do I get credits?</h4><p>Our support for payments in cryptocurrency begins with ETH and DAI — though we plan to expand that list over time. Want us to accept a particular token? Let us know at <a href="http://support@rivet.cloud/">support@rivet.cloud</a>!</p><p><strong><em>How to buy credits with ETH or DAI</em></strong></p><p>Scroll down until you see a <em>Buy Request Credits</em> link—select it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7eea9EDMQZZUy2zuuJnr3w.jpeg" /><figcaption>We made it big, bold, and gold so you can find it easily.</figcaption></figure><p>After the <em>Buy Request Credits </em>view loads, select the number of credits you’d like to buy from the dropdown. You can also select the <em>Custom Request Package </em>option and enter any number greater than zero.</p><p>When ready, select <em>Submit</em> to create your order and open the <em>Checkout</em> dialog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4RDTclytW5kw0psHPP0V8Q.jpeg" /><figcaption>The dropdown includes prices in DAI, but you will be able to choose ETH or DAI after you select Submit.</figcaption></figure><p>In the <em>Checkout </em>dialog, select ETH or DAI, and proceed as prompted by your wallet to complete the transaction. Once the transaction succeeds and has met a minimum confirmation threshhold, you’re all set!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LFOjKqir0mLAzVoY6Y4NUg.jpeg" /><figcaption><em>It usually takes about 3 minutes, but could take a little longer or shorter depending on network conditions. After that, you’ll be able to see your credits on the dashboard.</em></figcaption></figure><p><em>Already on a BUIDL or SCAEL plan and want to buy request credits using ETH or DAI? No problem! Even if you didn’t sign up or sign in with Web3, you can buy credits using crypto — and any credits you buy will be used before your card is charged.</em></p><p><strong>Do Web3-originated Rivet accounts get 500k free credits a month?</strong></p><p>Unfortunately, we can’t do that. With BUIDL and SCAEL accounts, we collect an email address to prevent duplicate signups—and because Web3 signups do not require an email address, we have no way to conduct a similar check.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*nb6ZPZ6C5iZYS_RGeMS_WA.jpeg" /><figcaption><strong>I’m sorry, Dave. I’m afraid I can’t do that.</strong></figcaption></figure><p>While we could require email addresses from Web3-based signups, we believe that doing so would be inherently privacy-hostile — an anti-pattern we do not want to encourage. That said, if the free credits are really important to you, you can still <a href="https://rivet.cloud/buidl">sign up via email</a>.</p><h4>What’s next.</h4><p>We will continue to introduce improvements and new capabilities to the Rivet dashboard interface as we learn more about how people use it. If you have suggestions, please reach out to us and share them. If we find a suggestion particularly helpful, there may be some free credits in it for you.</p><p>And as always, we can’t wait to see what you’ll BUIDL! ✌️🥂🏴‍☠️</p><p>— ❤️<a href="https://twitter.com/R_I_V_E_T">Rivet</a></p><p><em>PS — Why not try it now? Get </em><strong><em>1M Rivet request credits</em></strong><em> when you </em><strong><em>sign up with code</em></strong><em>:</em> <strong>WEB3FTW </strong>at<strong> </strong><a href="https://rivet.cloud/login"><strong>rivet.cloud</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a87ddeebeca0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rivet-magazine/rivet-adds-support-for-web3-login-and-crypto-payments-a87ddeebeca0">Rivet Adds Support for Web3 Login and Crypto Payments</a> was originally published in <a href="https://medium.com/rivet-magazine">Rivet Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is DeFi resilient enough for mass adoption?]]></title>
            <link>https://medium.com/rivet-magazine/is-defi-resilient-enough-for-mass-adoption-8332567d760d?source=rss----21c0442c1986---4</link>
            <guid isPermaLink="false">https://medium.com/p/8332567d760d</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Greg Lang]]></dc:creator>
            <pubDate>Thu, 17 Sep 2020 16:42:15 GMT</pubDate>
            <atom:updated>2020-09-17T17:18:05.534Z</atom:updated>
            <content:encoded><![CDATA[<h4>DeFi isn’t ready to replace centralized finance—but with the right focus, it can be.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fOGmBGWHCFhxsfJX" /><figcaption>Photo by <a href="https://unsplash.com/@pbernardon?utm_source=medium&amp;utm_medium=referral">Pascal Bernardon</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>DeFi (short for “decentralized finance”) has recently started to make significant headway in the world of fintech, drawing <a href="https://blocking.net/9160/wall-street-giants-accelerate-the-deployment-of-defi-the-new-financial-technology-revolution-is-about-to-start/">positive attention</a> from the sort of prestigious institutions and companies that influence the products and technologies that are ultimately adopted worldwide in finance and business more broadly.</p><p>While it is certainly exciting for anyone who has been working on one of the many Ethereum-based DeFi projects or the technology underlying them—myself included—we shouldn’t be breaking out the champagne just yet. Disruptive innovation on this grand a scale means the stakes are high—certainly higher than in any other paradigm shift of the modern era, and arguably higher than any prior event in the history of civilization. The amount of money and power in play will be like blood in the water—and as the late great <a href="https://en.wikipedia.org/wiki/Mark_Sandman">Mark Sandman</a> put it:</p><blockquote>“<a href="https://youtu.be/PUaWBjxlc5Q">Sharks patrol these waters.</a>”</blockquote><p>So in this post, I will make the case that DeFi isn’t ready for the inevitable onslaught of hacking that’ll begin as soon as mass adoption starts to gather momentum.</p><blockquote>“<a href="https://youtu.be/yJMO-dYDeUk">DeFi’s gonna need a bigger boat.</a>” — Brody.eth</blockquote><h4>The stakes have <em>literally </em>never been higher in the history of the modern world.</h4><p>In the finance corner of the marketplace of ideas, the stakes are higher than in any other domain, even under normal circumstances. But the kind of transformative change that is just beginning to take hold of the financial sector is <em>far beyond normal</em>. The term <a href="https://en.wikipedia.org/wiki/Paradigm_shift"><em>paradigm shift</em></a>—usually co-opted into watered-down service of so much hype—is <em>at least</em> an accurate description of the disruption now afoot. And it wouldn’t be unfair to call it an understatement that elides the gravity of the moment without the addition of an appropriately strong adjective.</p><p>Those who put their resources and efforts behind the winning ideas will reap rewards unprecedented in all of human history—beyond the absolutely bonkers amount of wealth that will be amassed by the winners.</p><p>If overnight trillionaires are real, this will be the event that marks their debut.</p><p>Yet the money is just the tip of the iceberg—because the winners will be coronated as scions of tomorrow’s financial system. And as the current leaders of finance are in today’s system, they will become the next generation’s highest caste of elite—profoundly powerful influencers of the policy and politics of every nation, international body and NGO on the planet.</p><p><strong><em>In short, this one’s for all the marbles.</em></strong></p><p>With this much is at stake, we can count on one thing—every single <em>radical, scoundrel, grand heist mastermind, political opportunist, up-and-coming politician, power-hungry dictator, rising or declining empire, big-shot executive, social media influencer, corrupt bureaucrat, pirate, PR firm, regulator, huckster, revolutionary, intelligence agency, carpetbagger, anarchist, general, general contractor, and con artist</em> on earth will be looking for an opportunity to take advantage, and everyone else will be watching, tweeting, and meming about it.</p><p>When the disruptive change gains noticeable momentum, it’ll be all-out war.</p><p>But don’t expect to see tanks and infantry battling it out for control of Wall Street and K Street in a hail of mortar blasts. As cinematic (and mildly comical) as that sounds, that’d just be silly. The revolution will not be mechanized or cannon-ized.</p><p>In this day and age, the weapon of choice is digital, and modern warfighters are called hackers.</p><p>The moment DeFi goes mainstream, each and every one of them will be targeting DeFi and its supporting infrastructure with every botnet, exploit, zero-day, and software suite in their collective arsenal.</p><h4>In an increasingly digital world, hacking is increasingly dangerous.</h4><p>You don’t have to look far back into the mists of time for examples of how disruptive hacking can be.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MBU3VfnJNud9owmn" /><figcaption>Photo by <a href="https://unsplash.com/@cbpsc1?utm_source=medium&amp;utm_medium=referral">Clint Patterson</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The <a href="https://www.nytimes.com/2020/07/17/technology/twitter-hackers-interview.html">Twitter hack</a> is the most recent example. As the world automates more and more of its critical functions, the potential for hacking to inflict serious harm on people or property has increased dramatically.</p><p>For example, <a href="https://www.wired.com/2015/07/hackers-remotely-kill-jeep-highway/">cars</a> and <a href="https://www.wired.com/story/mycar-remote-start-vulnerabilities/">the apps that now control them</a> can be hacked remotely. And as the potential for harm has increased, so has the potential for hackers to gain money and influence by inflicting or threatening to inflict it. <a href="https://www.wired.com/story/confessions-marcus-hutchins-hacker-who-saved-the-internet/">The (impressive) person who stopped wannacry in its tracks used his hacking skills to make money before changing his ways later in life</a>. The Twitter hacker currently owns <a href="https://finance.yahoo.com/news/alleged-17-old-twitter-hacker-065537801.html">$13 million in Bitcoin</a>.</p><p>But while the possibility of a hacked car accelerating off the road into a crowded sidewalk as the driver struggles ineffectually to regain control is terrifying, it does not represent a civilization-ending threat.</p><p>The financial system is another animal intirely. <a href="https://computer.howstuffwocom/internet/basics/internet-collapse.htm">How long would civilization last</a> if the systems that power everything from commerce to retirement savings could be taken offline by a persistent, sophisticated adversary?</p><h4>In the context of the financial system, the risk is amplified by orders of magnitude.</h4><p>Upon even the most cursory review of the DeFi ecosystem, it is immediately apparent that its massive scope encompasses services currently provided by a panoply of intermediaries, custodians, brokers and regulatory agencies — and as more and more projects come online, that scope is only increasing. Indeed, in the grand vision of DeFi, each and every service provided by our current global financial system will either be replicated — if it provides meaningful value to consumers — or deprecated — if it is rendered obsolete thanks to the properties of blockchain technology generally or Ethereum specifically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*z8fStzXm1lJzBQLf" /><figcaption>Photo by <a href="https://unsplash.com/@lawfe?utm_source=medium&amp;utm_medium=referral">Lawrence Eaton</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>So, first a caveat. The sheer breadth of DeFi’s potential scope coupled with its tendency to liberate value in the efficiencies it creates means any attempt to estimate its actual future value is extremely speculative and approximate. Bearing in mind this is an illustrative approximation, let’s assume DeFi maps 1:1 to the current value of all the world’s financial assets.</p><p>In our model universe—and with a bit of help from <a href="https://www.visualcapitalist.com/all-of-the-worlds-money-and-markets-in-one-visualization-2020/">visualcapitalist.com</a>—we can get a pretty good intuition for the kind of value DeFi will ultimately be responsible for if it successfully attains mainstream adoption. For the sake of simplicity, let’s just consider money, stocks, derivatives, and debt — as they clearly fall within DeFi’s scope:</p><p><strong><em>Stocks — $89.475T<br>Derivatives (notional value) — $558.5T<br>Debt — $252.6T<br>Money Supply (M1 + M2) — $140.881T</em></strong></p><p><strong><em>Sum — $1,041.456T</em></strong></p><p>That’s more than a quadrillion dollars in value in those four categories alone. And while mainstream adoption won’t start there, it won’t end there either. And it goes without saying that the global economy needs stable, uninterrupted access to the systems used to manage that value.</p><p>Imagine what would happen, for example, if the systems that enable everyone to access, manage, and exchange money, debt, stocks, and derivatives were rendered inaccessible by a hacker—all at once.</p><p>The global economy might or might not collapse in a week, a month, or 48 hours—but it would ultimately collapse. So it stands to reason that a financially-motivated attacker that could bring those systems down at will could demand billions in ransom payments. It would seem like a drop in the bucket. What about an ideologically- or politically-motivated attacker with the same ability?</p><p>What could they achieve? Can you imagine it?</p><h4>The DoS attack on Rivet by Syracuse University researchers offers a useful window into the threat landscape.</h4><p>While the Ethereum network itself has never been successfully attacked, and carefully-constructed smart contracts coupled with well-managed protocol upgrades have prevented a repeat of the DAO hack, the node client software itself has at least one identified weakness that <a href="https://www.tfir.io/rivet-thwarts-denial-of-service-attack-by-syracuse-university/">attackers have attempted to exploit — an attempt that fortunately failed because the attackers unwittingly selected a uniquely resilient target</a>.</p><p>According to the Rivet team’s detailed blog post recounting the attack:</p><blockquote>“When we tried running the offending query against our testing environment, we were horrified; running the query just once was enough to cause our Ethereum client software to run out of memory and crash.”</blockquote><blockquote>(Source: <a href="https://blog.openrelay.xyz/dos/tuesday/">https://blog.openrelay.xyz/dos/tuesday/</a>)</blockquote><p>Had the attack targeted any other service or individual node operator, the result would’ve been catastrophic.</p><blockquote>“If a normal Ethereum client crashes, it takes minutes (if not hours) to come back online. Ethereum clients keep a lot of data in memory and flush to disk only periodically, so crashing means recent data is lost (and in some cases it can even cause the database to become corrupted). When a client restarts, it must first find peers on the Internet, redownload any data since it last committed to disk, reverify that data, then it’s ready to serve again. In the more extreme cases, the database can become corrupt requiring the node to be resynced from the Ethereum network (which can take days), or recovered from backups (which can take hours).”</blockquote><blockquote>(Source: <a href="https://blog.openrelay.xyz/dos/tuesday/">https://blog.openrelay.xyz/dos/tuesday/</a>)</blockquote><p>The Syracuse hackers were fortunately not motivated by greed or any apparent political/ideological extremism. But the same attack in the hands of a more aggressive adversary, by exploiting the same vulnerability (or even another as-yet undiscovered one), could relentlessly attack a much broader swath of targets at scale. Such an attack could bring the vast majority of the Ethereum network to its knees.</p><p>While the logistics of such a massive attack would be economically prohibitive in a world where Ethereum only holds $244B in value, that equation changes as the network shifts from an entrepreneurial experiment to an indispensable element in a quadrillion-dollar replacement for the global economic engine. On top of that, DeFi threatens to depose the most powerful members of an entrenched global elite that is unlikely to go quietly, has command of immense resources, and has <a href="https://youtu.be/LPRMdCSFI8E">repeatedly demonstrated</a> a willingness to accept global recessions and depressions as mere collateral damage if it is necessary to protect their power.</p><p><em>To read the full account of the Syracuse hackers’ attack on Rivet, you can find the start here: </em><a href="https://blog.openrelay.xyz/dos/*"><em>https://blog.openrelay.xyz/dos/</em></a></p><h4>Here’s what needs to happen to get DeFi’s infrastructure ready for prime time.</h4><p>Before mass adoption can happen, Ethereum’s infrastructure needs to be made as resilient as possible.</p><blockquote>“Security goes before anything. Developers can build lot of innovation in DeFi, however it takes only one big failure to ruin the reputation for the whole space. Safe interaction will bring adoption.”</blockquote><blockquote><a href="https://twitter.com/StaniKulechov?s=21">Stani Kulechov</a>, Founder and CEO, <a href="https://twitter.com/AaveAave?s=21">Aave</a></blockquote><p>And as Stani Kulechov so aptly puts it, security must go before anything.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FzPUe7O3ODHQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DzPUe7O3ODHQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FzPUe7O3ODHQ%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/fd711e250caf73d80dc01de6cbad8cc4/href">https://medium.com/media/fd711e250caf73d80dc01de6cbad8cc4/href</a></iframe><p>If it does not, mass adoption may be snuffed out in its infancy by any number of motivated attackers. These attackers may or may not include, but will certainly not be limited to:</p><ul><li>Hackers sponsored by nation-states that will see their power to influence global affairs diminished if decentralized permissionless systems replace today’s centrally controlled and regulated ones.</li><li>Hackers hired by central bankers who will lose their privileged positions if they are no longer necessary to the operation of monetary systems.</li><li>Hackers hired by stock brokers and hedge fund managers who will no longer be needed to serve as custodians if DeFi applications can do the same job better at a lower cost to consumers.</li><li>Hackers hired by commercial bankers who will no longer be needed when consumers’ banking needs are better served by crypto wallets and DeFi-powered lending.</li><li>Hackers sponsored by authoritarian governments who will no longer be able to impose their will on society by policing and censoring financial and monetary systems.</li><li>Hackers sponsored by (or who are) extremists, terrorists, or anti-capitalist ideologues.</li><li>Hackers sponsored by intelligence agencies engaging in digital warfare on behalf of their state sponsors.</li><li>Hackers doing in it for the money or just the lulz.</li></ul><p>The bottom line is this. Before people can safely adopt DeFi as a new paradigm for global finance, DeFi projects must pay careful attention to their infrastructure, and ensure that it can keep running even in the face of sustained, persistent, sophisticated attacks by well-resourced, motivated attackers.</p><p>And while we’re not there today, the example illustrated by the Syracuse hackers’ failed attack—and Rivet’s successful defense against it—give reason for optimism. With the right focus, DeFi can be secured and mass adoption can be achieved.</p><p>But it won’t happen automatically. Every single DeFi project needs to take a close look at the stability and security of its infrastructure, not simply take for granted that it will magically work when mainstream adoption paints a huge target on it. DeFi must be prepared to take whatever action is necessary to ensure it is as resilient as humanly possible.</p><h4>UX and Resilience—two sides of the same coin?</h4><p>While it may not seem like it at first blush, infrastructure resilience and UX (<em>that’s User eXperience, for the uninitiated</em>) go hand-in-hand. While DeFi UX (and usability in blockchain-powered applications generally) is a broad topic that reaches far beyond the scope of this post, there is one UX challenge that ties into resilience in a big way.</p><p><strong>UX Resilience: Meaningfully communicating risk.</strong></p><p>You don’t have to look too far for a DeFi project that makes some variation of the following disclaimer:</p><h3></h3><p>We were serious about this being an experiment and the code being unaudited. Please exercise some caution.</p><p>Whether it’s something like that, or the even more cliché—<em>never invest more than you can afford to lose</em>—such <em>caveats</em> are rarely (if ever) heeded. Yet the consequences are often disastrous <em>despite the fact that DeFi is in a pre-mass-adoption phase—and current users ought to know better.</em></p><p>But that won’t always be the case. In a post-mass adoption world, the average user may barely be comfortable checking their email. The average user may be more like a grandma or grandpa living on a fixed income, or a new mom and dad trying to start an education savings fund for a new baby. They might be <a href="https://www.mcall.com/business/careers-finance/sns-nyt-robinhood-lured-young-traders-20200709-4gdlqe2w6rhydeh7xzwsx7l7ty-story.html">naive out-of-work young people trying to make unemployment benefits stretch further by dabbling in day-trading</a>.</p><p>These users will need to be <em>effectively </em>apprised of risks. Because if the UX isn’t meaningfully protective of the truly inexperienced users DeFi’s proponents hope to win over <em>en masse</em>, the first big post-mass adoption disaster may very well be the last.</p><p>So how do we address the UX resilience challenge?</p><blockquote>It all starts with research to understand user needs and behaviors. DeFi is new to many users and an experience needs to compensate for their current level of maturity and evolve over time to instill a greater sense of confidence in DeFi.</blockquote><blockquote>More specifically, there are many areas of a user flow that need to be improved such as signup, account management, and wallet usability. Much of a user’s interactions will occur within a wallet and most wallets are notoriously hard to use. Wallets need to more appropriately account for many elements of DeFi such as trading/swaps, staking, pools, governance, and more.</blockquote><blockquote>Jon Farjo, Chief Product Officer, <a href="https://t.sidekickopen82.com/s1t/c/5/f18dQhb0S7lM8dDMPbW2n0x6l2B9nMJN7t5XWPfhMynN7fK6gvRJd10W56dSzg6yFpMx102?te=W3R5hFj4cm2zwW3Z_VBZ49JHr3F4cKbkJmLXp1&amp;si=8000000003166852&amp;pi=aca03f90-6224-445d-cb65-aaa1d1241d10">LunarCRUSH</a></blockquote><p>In short, there is no magic bullet. Good UX is a dialogue between a development team and its customers. And it’s on all of us to have that dialogue on honest terms. We all believe DeFi ought to succeed beccause it is such a vast step up from centralized finance.</p><blockquote>User experience is important, however I think DeFi is easier to use than CeFi currently. For example to obtain a interest bearing account in Aave, user simply buys aTokens such as aUSDC that increase in value in their address balance without even need for interacting directly with Aave. That is a big value proposition for adoption in terms of design.</blockquote><blockquote><a href="https://twitter.com/StaniKulechov?s=21">Stani Kulechov</a>, Founder and CEO, <a href="https://twitter.com/AaveAave?s=21">Aave</a></blockquote><p>But on that same token, we must be careful to avoid the temptation to elide the risks:</p><h3></h3><p>The problem is idiots can build an exciting product, ignore security, refuse to learn, and still handle millions of dollars worth of your money bc y&#39;all think #DeFi is safe. 😕1. Start holding people accountable2. Stop giving idiots your money3. Start learning from history</p><h4>So…is DeFi resilient enough for mass adoption?</h4><p>The bottom line? Not yet.</p><blockquote>DeFi is not ready yet for mass adoption and frankly it might come sooner than we expect.…[T]he DeFi ecosystem is not yet built on scalable enough infrastructure and if adoption happens we might see network congestion similar or worse than we are experiencing now.</blockquote><blockquote><a href="https://twitter.com/StaniKulechov?s=21">Stani Kulechov</a>, Founder and CEO, <a href="https://twitter.com/AaveAave?s=21">Aave</a></blockquote><p>This community must be ready before mass adoption takes off—not after.</p><h4>We must take the time to reify the lessons we learn from our missteps—so that the grand vision of DeFi may survive.</h4><p>We’ve all invested years into building this ecosystem. All of the sacrifices, late nights, long hours, creativity, ingenuity, depth of commitment and of character that those of us who are still BUIDLing in the waning months of 2020 have demonstrated is impressive in its scope and rapidity.</p><p>And yet we cannot deny that there have been some pretty big and public failures. <a href="https://defirate.com/bzx-attack/">The BzX flash-loan exploits in February</a>. <a href="https://coincodex.com/article/9233/defi-token-yam-price-crashes-after-bug-disables-governance-process/">YAM</a>. <a href="https://www.coindesk.com/sushiswap-liquidation-weekend">SushiSwap</a>. <a href="https://news.bitcoin.com/defi-protocol-bzx-loses-8-1-million-in-third-hack-this-year/">The BzX iToken duplication exploit this past Sunday</a>. These things happened.</p><p>But so far, while the teams and individuals responsible for the projects themselves have <a href="https://cointelegraph.com/news/chef-nomi-has-returned-all-funds-back-to-the-sushiswap-community">tried to make amends</a>, <a href="https://bzx.network/blog/incident">mitigate losses</a>, and <a href="https://medium.com/@yamfinance/yam-replanting-migration-and-launch-997b4848b8d8">course-correct</a>, the community response has been unfortunately predictable—<a href="https://news.bitcoin.com/sushiswaps-2-million-token-airdrop-founders-face-accusations-of-making-defi-a-joke-again/">hate-mob the individuals responsible</a> and then continue on with business as usual—setting things up for the next big freak-out.</p><p>This pattern is not just unsustainable—it is the antithesis of sustainable. And just as history tends to rhyme, DeFi’s gotten into a hype-hack cycle that looks uncomfortably like CeFi’s boom-bust cycles— characterized by a blithe acceptance of systemic risk as an unfortunate but inescapable cost of doing business.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fag14Ao_xO4c%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dag14Ao_xO4c&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fag14Ao_xO4c%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/ade58408122e87ec0bab3009d1f7636a/href">https://medium.com/media/ade58408122e87ec0bab3009d1f7636a/href</a></iframe><p>As the pioneers of the DeFi movement—and the crypto ecosystem at large—we got into this because we believed we could build a better financial system. And while flaws in code are a hell of a lot easier to systemically eradicate than are flaws in human nature, we must resist the impulse to move fast with no regard for the things we break in our haste.</p><p>In short, if we trade the time needed to learn the lessons our missteps ought to teach us for growth at any cost, DeFi will be nothing but a minor evolution of CeFi. And what’s more—it will cause us to lose sight of the vision that makes DeFi truly revolutionary.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FUOYi4NzxlhE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DUOYi4NzxlhE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FUOYi4NzxlhE%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/24eacdd64a37da0ce928e3a45473d5ca/href">https://medium.com/media/24eacdd64a37da0ce928e3a45473d5ca/href</a></iframe><h4>To make DeFi ready for mass adoption, we must pause and listen.</h4><p>To be truly ready when DeFi gets its shot at mass adoption, we need to pause for a moment to understand the signals we’ve been getting from the market in response to so much rapid innovation. And—in light of our shared mission, our core values, and our grand vision—we must reify the lessons we’ve learned from our missteps. If we do not, we can be certain we will repeat them when we can least afford it.</p><p>So we must learn to move fast, pause, adjust course, and move fast again—as fast as possible. Only then can we hope to be ready.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8332567d760d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rivet-magazine/is-defi-resilient-enough-for-mass-adoption-8332567d760d">Is DeFi resilient enough for mass adoption?</a> was originally published in <a href="https://medium.com/rivet-magazine">Rivet Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ETC’s Chainsplit: What Went Wrong]]></title>
            <link>https://medium.com/rivet-magazine/etcs-chainsplit-what-went-wrong-534f78df5c09?source=rss----21c0442c1986---4</link>
            <guid isPermaLink="false">https://medium.com/p/534f78df5c09</guid>
            <category><![CDATA[rivet]]></category>
            <category><![CDATA[ethereum-classic]]></category>
            <dc:creator><![CDATA[Austin Roberts]]></dc:creator>
            <pubDate>Sun, 02 Aug 2020 01:17:38 GMT</pubDate>
            <atom:updated>2020-08-02T01:17:38.542Z</atom:updated>
            <content:encoded><![CDATA[<p>At 2:00 this morning, Rivet’s alarms started going off. This time it wasn’t a problem with Ethereum, but Ethereum Classic. Ethereum classic is hardly our bread and butter; it’s a smaller chain with less traffic, but if Rivet supports a chain we support that chain even at 2:00 AM.</p><p>At first, it appeared that the “problem” was simply that there weren’t many blocks being mined. That’s not <em>terribly</em> unusual. The hashing power is not especially high, and one big miner going offline can decrease the blog frequency significantly. But when we checked <a href="https://blockscout.com/etc/mainnet">Blockscout</a>, it looked like we were a few hundred blocks behind — but we were still processing new blocks, and the block timestamps were recent, so something was really out of whack.</p><p>Looking at server logs:</p><pre>WARN [08–01|06:53:58.627] Large chain reorg detected number=10904146 hash=3f2023…c7d22a drop=3693 dropfrom=e900d8…8c99d0 add=3291 addfrom=caa90c…bddcf7</pre><p>Oof.</p><p>A chain reorg of over 3,000 blocks is a bad sign. Really bad.</p><p>Checking the peers for our ETC nodes, we found that <em>all</em> of our peers were running either ETC Labs’ core-geth or the MultiGeth branch. We had zero peers running OpenEthereum or OpenETC, which is atypical. From past conversations with Igor from POA (who run Blockscout), I knew that Blockscout relied mostly on OpenEthereum nodes. Similarly, the ETC Cooperative’s endpoint at www.ethercluster.com/etc was running on OpenEthereum nodes, and it matched Blockscout. The chain split reflected a difference between clients, which is bad.</p><p>So at this point it’s 3:00 AM. The problem clearly isn’t with our servers — and it’s someone else’s job to figure out what’s causing the chain split, so we should just go back to bed and await instruction, right? It was tempting, but when Rivet supports a network, we really support the network.</p><p>We found our way to the ETC Discord to see what was going on. We got there to find that we had already figured out more than the discord channel. They hadn’t figured out the magnitude of the chainsplit, or that it seemed to be divided between clients.</p><p>Continuing our investigation, we found that the chain running on Geth clients had some interesting properties:</p><ul><li>For a bit over 3,000 blocks starting at 10,904,147, a single miner mined every single block.</li><li>Within those 3,000 blocks, only five transactions were mined.</li><li>Within those 3,000 blocks, there were many blocks that had uncles mine by the <em>same miner</em> as the parent blocks.</li><li>They appeared to all have been dumped on the network at once; it didn’t look like this had been a competing chain for the ~12 hours of mining.</li></ul><p>Meanwhile the chain running on OpenEthereum clients had a diversity of miners and several hundred transactions.</p><p>The strangest part about the disparity between the two chains was that the Geth chain had a higher total difficulty, while the OpenEthereum chain was longer. This is a rather unusual combination — usually length and total difficulty are pretty close to each other.</p><p>So by the rules of the blockchain, Geth has the right chain, but OpenEthereum’s chain is the one that most of the network had been following for the past 14 hours. It was possible to get Geth to align with the OpenEthereum chain with the flag:</p><pre>--whitelist=10904147=0xde7660f6c700d376dce96823e31073fa74448bfd9e4731f86d00139a0722aaae</pre><p>And at the time, there wasn’t a clear way to get OpenEthereum onto Geth’s chain. Since it wasn’t clear that the clients on different chains would ever reconcile naturally, we started encouraging Geth users to include that flag. But around the same time, some additional miners came online on the Geth chain, causing that chain to overcome the OpenEthereum chain in both difficulty and length. At that point, very few miners were still mining the OpenEthereum chain, and the Geth chain became the dominant chain. As our main interest was making sure there was a clear canonical chain, we were happy with this, and stopped pushing the whitelist to put people on the other chain.</p><p>Our team circled around with Yaz from the ETC Cooperative to develop the <a href="https://hackmd.io/@cUBb4hAvQciAEPoU2yfrzQ/Skd4X6MZw">Chain Split Diagnosis document</a>, which was the first detailed analysis made available to the larger community.</p><p>There were a bunch of things that went wrong:</p><ul><li>First: Ethereum Classic’s hashing power is low enough to be subject to a 51% attack. That’s not necessarily fatal for the chain, but people should be very careful about what they entrust to the chain.</li><li>Second: The 51% attack won, and 12 hours of transactions were reverted. There was a moment when it would have been possible for miners to reject the 3,000 empty blocks and continue mining on their old chain. It wouldn’t have met the definition of “correct” according to the consensus layer, but if miners had stayed focused on the original chain they may have been able to make it the heavier chain.</li><li>Third: The split between Geth and OpenEthereum is very troubling. It’s being largely dismissed by the ETC community as OpenEthereum has dropped support for ETC, but as Rivet actively particpates in both the ETC and ETH communities, this is worrying. While a 51% attack on ETH would be far more expensive because of the hashing power involved, having Geth and OpenEthereum end up on a chainsplit could still be a real problem. We need to diagnose why OpenEthereum went with the longer chain instead of the harder chain, and make sure it’s not something that could happen on the Ethereum mainnet that OpenEthereum still supports.</li></ul><p>So while ETC’s problem is a lack of hashing power, the client differences that lead to a chain split instead of a clean (but large) reorg may carry over to the larger chain.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=534f78df5c09" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rivet-magazine/etcs-chainsplit-what-went-wrong-534f78df5c09">ETC’s Chainsplit: What Went Wrong</a> was originally published in <a href="https://medium.com/rivet-magazine">Rivet Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Soul(s) of a New Machine]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/rivet-magazine/the-soul-s-of-a-new-machine-6ffd0682fd10?source=rss----21c0442c1986---4"><img src="https://cdn-images-1.medium.com/max/2600/0*5lLGIR6FLwno3_n0" width="3376"></a></p><p class="medium-feed-snippet">How we can give permissionlessness and decentralization a fighting chance.</p><p class="medium-feed-link"><a href="https://medium.com/rivet-magazine/the-soul-s-of-a-new-machine-6ffd0682fd10?source=rss----21c0442c1986---4">Continue reading on Rivet Magazine »</a></p></div>]]></description>
            <link>https://medium.com/rivet-magazine/the-soul-s-of-a-new-machine-6ffd0682fd10?source=rss----21c0442c1986---4</link>
            <guid isPermaLink="false">https://medium.com/p/6ffd0682fd10</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[cbdc]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[decentralization]]></category>
            <category><![CDATA[permissioned-blockchains]]></category>
            <dc:creator><![CDATA[Greg Lang]]></dc:creator>
            <pubDate>Wed, 08 Jul 2020 18:47:28 GMT</pubDate>
            <atom:updated>2020-07-08T18:47:28.158Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[If not now, when?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/rivet-magazine/if-not-now-when-ffc35ca8012d?source=rss----21c0442c1986---4"><img src="https://cdn-images-1.medium.com/max/2600/0*cTb-EXuuSN59Zc36" width="3000"></a></p><p class="medium-feed-snippet">It&#x2019;s time to tell the world about the decentralized, permissionless future we&#x2019;ve all been BUIDLing for them.</p><p class="medium-feed-link"><a href="https://medium.com/rivet-magazine/if-not-now-when-ffc35ca8012d?source=rss----21c0442c1986---4">Continue reading on Rivet Magazine »</a></p></div>]]></description>
            <link>https://medium.com/rivet-magazine/if-not-now-when-ffc35ca8012d?source=rss----21c0442c1986---4</link>
            <guid isPermaLink="false">https://medium.com/p/ffc35ca8012d</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[web3]]></category>
            <dc:creator><![CDATA[Greg Lang]]></dc:creator>
            <pubDate>Tue, 02 Jun 2020 15:47:06 GMT</pubDate>
            <atom:updated>2020-06-02T15:47:06.219Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[The Two Worlds of ETHDenver 2020]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/rivet-magazine/the-two-worlds-of-ethdenver-2020-7e9d97ddffb1?source=rss----21c0442c1986---4"><img src="https://cdn-images-1.medium.com/max/2600/1*gtL870Co1nueoxYNcs4bOg.jpeg" width="4084"></a></p><p class="medium-feed-snippet">2020, Denver Sports Castle, and the shape of things to come.</p><p class="medium-feed-link"><a href="https://medium.com/rivet-magazine/the-two-worlds-of-ethdenver-2020-7e9d97ddffb1?source=rss----21c0442c1986---4">Continue reading on Rivet Magazine »</a></p></div>]]></description>
            <link>https://medium.com/rivet-magazine/the-two-worlds-of-ethdenver-2020-7e9d97ddffb1?source=rss----21c0442c1986---4</link>
            <guid isPermaLink="false">https://medium.com/p/7e9d97ddffb1</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[ethdenver]]></category>
            <category><![CDATA[ethereum-blockchain]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[web3]]></category>
            <dc:creator><![CDATA[Greg Lang]]></dc:creator>
            <pubDate>Mon, 02 Mar 2020 16:57:21 GMT</pubDate>
            <atom:updated>2020-03-03T14:53:44.328Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[The Trouble with Smart Contracts]]></title>
            <link>https://medium.com/rivet-magazine/the-trouble-with-smart-contracts-223219d0bb7d?source=rss----21c0442c1986---4</link>
            <guid isPermaLink="false">https://medium.com/p/223219d0bb7d</guid>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[infrastructure]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Greg Lang]]></dc:creator>
            <pubDate>Tue, 11 Feb 2020 15:19:07 GMT</pubDate>
            <atom:updated>2023-11-08T00:19:25.354Z</atom:updated>
            <content:encoded><![CDATA[<h4>(Spoiler Alert — They don’t exist.)</h4><h4>Analogies and Skeuomorphs — Frenemies of Progress</h4><p>Every time a new technology is introduced, it falls to its inventors to communicate to people just what the invention is and why anyone should care about it. While this can be accomplished in many ways, most of our options are difficult.</p><p>We could, for instance, make a normative statement, or clearly state the value proposition of a new thing in plain terms.</p><blockquote>“1,000 songs in your pocket.” (iPod)</blockquote><p>But usually, the easiest way to communicate why anyone ought to care about some new technology is to draw an analogy. It is undeniably effective.</p><blockquote>“The internet, but made out of a tree.” (books)</blockquote><p>What’s more, a thing may be <em>designed</em> to be interpretable by analogy. Successfully executed, a new thing becomes self-explanatory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UJl938Iil6D4y3lGig_T7Q.jpeg" /><figcaption>Pictured: an intuitive touch-based text input interface (because you thought ‘keyboard’ immediately).</figcaption></figure><p>When most people call a technology <em>intuitive</em>, they are noticing an effective use of analogy in design. If you’re a professional designer, you’ve probably already called to mind the relevant term of art — the <em>skeuomorph</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dcAbVMiqo7SM5PNvEjB6DA.jpeg" /><figcaption>Skeuomorphs—in my view—reasonably include analogies to non-graphical elements too. Don’t @ me. :P</figcaption></figure><p>Thanks to skeuomorphic analogies, files are stored in folders or placed directly on a desktop, documents are redlined, buttons are pressed, and windows are opened and closed. Sites have addresses. You check your inbox for new mail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/477/1*Uu_8KL1mPB25q5ie7Jk2yw.jpeg" /><figcaption>Hey kids—remember me?</figcaption></figure><p>Another example? Apple removed the floppy disk drive from the Mac in 1998–22 years ago. But slap an image of this baby on a button and it means “save” — even to people born in 1998, most of whom have probably never even seen a 3.5-inch floppy in person.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TyBVXfNssBNgvTsJCgbRdA.jpeg" /><figcaption>Surreal, huh?</figcaption></figure><p>You don’t have to look far for other examples.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oj4M8kKMons4z_uIyhVjxg.jpeg" /><figcaption>Remember when radios had this kind of button? Me neither.</figcaption></figure><p>And so the skeuomorphic analogy appears to be the innovator’s best friend — they help new things achieve mainstream adoption, and they’re relatively easy to come up with. Unfortunately, they also have a dark side.</p><h4>How the Skeuomorphic Analogy is a Double-edged Sword</h4><p>When a skeuomorphic analogy is simple enough, the distance between <em>analogy-as-meaningful-comparison</em> and <em>analogy-as-literal-equivalence</em> is easy to close subconsciously.</p><p>And when this distance is closed, the technical properties and limitations of the referenced thing end up imposed on the new one, leading us to circumscribe how it is allowed to evolve or be applied.</p><p>And since the literal equivalence retains its explanatory utility, unintentional misinformation is easy to overlook for the sake of convenience—enabling the skeuomorphic analogy to both help and hurt. Thus they are the innovator’s natural frenemies.</p><h4>When the Frenemy Prevails: The Case of the 8.5 x 11 Page</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hO3f133vOBdJ0fzL" /><figcaption>Pictured: the downfall of all that is good and holy. Photo by <a href="https://unsplash.com/@markusspiske?utm_source=medium&amp;utm_medium=referral">Markus Spiske</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Have you ever noticed that modern word processors default to drawing an 8.5 x 11 page on its screen, or that PDF viewers default to rendering an 8.5 x 11 page around the text of a document?</p><p>It’s ubiquitous. And yet I’d wager you’ve never considered how silly it is to take take the word <em>document</em> so literally.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8SDy8rzd_MC4EWac2B6hTA.png" /><figcaption>Ever tried to read a PDF on a smartphone?</figcaption></figure><p>On a smartphone screen, an 8.5 x 11 page looks downright tiny — and it forces text to scale down to an unreadable size. The analogy loses its utility when retained in spite of technological change. It’s kind of absurd that what was <a href="https://www.theatlantic.com/technology/archive/2012/09/just-so-tech-stories-how-the-85-x-11-piece-of-paper-got-its-size/262584/">basically an arbitrarily-chosen standard</a> became a deeply ingrained aspect of modern software.</p><p>At least we can be thankful the digital document wasn’t popularized during the reign of Hammurabi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pa93xlHqB82OyJfcR4YYHw.jpeg" /><figcaption>Pictured: What we’d be dealing with.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*DOGG-jhe0-ojVsAXB8TlJw.jpeg" /><figcaption>Pictured: mobile view.</figcaption></figure><p>Enter the smart contract. While the analogy to traditional contracts has been useful to explain the potential for blockchains to automate the previously unautomatable, the idea has incited a debate that — like drawing 8.5 x 11 pieces of paper on iPhone screens—is a skeuomorphic analogy taken far too literally.</p><p>How so? Put simply, it’s not that what we call smart contracts aren’t smart. Smart is subjective. It’s that they’re <em>not contracts</em>.</p><h4>What is a contract, really?</h4><p>If you Google the word “contract”, you get a sterile description of a thing that sounds a lot like what we think of when we think of smart contracts. It looks something like:</p><blockquote>“A contract is a legally binding agreement that recognises and governs the rights and duties of the parties to the agreement. A contract is legally enforceable because it meets the requirements and approval of the law. An agreement typically involves the exchange of goods, services, money, or promises of any of those.”</blockquote><p>Let’s break that down.</p><p><em>1. An agreement between at least two parties</em></p><p>This one seems fairly straightforward, but it comes loaded up with some not so straightforward questions:</p><blockquote>What makes an agreement an agreement?</blockquote><blockquote>When can an agreement be said to exist?</blockquote><blockquote>Who (or what) can be a party?</blockquote><blockquote>Do parties have to be uniquely identified before an agreement can exist?</blockquote><p>For now, just put a pin in these questions — we’ll come back to them later.</p><p><em>2. That recognizes and governs</em></p><p>This one is pretty simple. The purpose of a contract must be made clear, and consequences for failing to meet that puprose must be defined.</p><p><em>3. legally enforceable rights and duties</em></p><p>Rights are things to which a party is entitled, and duties are things expected from a party. The law may circumscribe the scope of what rights and duties qualify as enforceable.</p><p><em>4. because it meets the requirements and approval of the law</em></p><p>This element seems redundant based on the preceding element, but it really isn’t. In this element, the law’s requirements and approval are applied to the whole set of criteria (i.e. 1–3) that make a contract.</p><p>For example, an otherwise-enforceable contract isn’t binding on a child, and parties who can otherwise legally be bound may not ask the court to enforce an agreement to commit a crime.</p><p><em>5. typically they involve the exchange of</em><br><em> — goods<br> — services<br> — money<br> — promises of any of those</em></p><p>While the subject of a contract can go beyond the typical, I’ve included it as an element to highlight another interesting question:</p><p><em>What qualifies as a promise?</em></p><p>Pin this one with the questions we raised above — we’ll address all of them — in the context of the mythical smart contract — in just a little bit.</p><h4>The (so-called) Smart Contract</h4><p>Google defines a smart contract accordingly:</p><blockquote>“A smart contract is a computer protocol intended to digitally facilitate, verify, or enforce the negotiation or performance of a contract. Smart contracts allow the performance of credible transactions without third parties. These transactions are trackable and irreversible.”</blockquote><p>Broken into elements and simplified:</p><p><em>1. a protocol<br>2. intended to digitally facilitate, verify or enforce<br>3. negotiation or performance of a contract</em></p><p>See the first hint of a problem? This definition of a smart contract incorporates without defining the term ‘contract’, while asserting that the role of a smart contract relates to the execution of an existing contract.</p><p>So it is already somewhat intuitive that smart <em>contract ≠ contract. </em>To find out why that intuition is correct, we must dig deeper.</p><h3>Smart Contracts ≠ Contracts</h3><p><strong><em>Consider this hypothetical:</em></strong></p><blockquote>Alice opens a DEX dapp because she wants to swap 10 MBGN tokens for some ETH. She taps through the interface, first selecting MBGN from the ‘I want to Trade’ dropdown. Next, she selects ETH from the ‘in exchange for’ dropdown. Then she enters the number ‘10’ in the ‘quantity’ text field next to the first dropdown.</blockquote><blockquote>After a moment, the display is updated with how much ETH she can get for her MBGN. Satisfied with the number, she then selects the ‘Swap’ button — and the dapp gets to work.</blockquote><blockquote>What’s happening in the background is now on autopilot, sending the necessary calls to the necessary ‘smart contracts’ to complete the process of fulfilling her expressed intent.</blockquote><blockquote>Then, the page refreshes, indicating success. Alice’s new balances are indeed correctly reflected in her wallet.</blockquote><blockquote>Meanwhile, Bob receives a notification that the order he listed the other day — requesting 5 MBGN in exchange for 0.1 ETH has been accepted and filled.</blockquote><blockquote>CAI, a trading bot, receives a similar notification about its own order (5 MBGN for 1 ETH).</blockquote><p>Remember the questions we pinned earlier? Dust them off—we’re going to apply them to our hypothetical.</p><p><em>Now is a good time to refresh yourself on what they were. Don’t worry, I’ll wait. Or, you can forge ahead and skip this little intermission. Your call.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XtFANfAApA5mnRsH" /><figcaption>Also, maybe go ahead and refill your coffee. Photo by <a href="https://unsplash.com/@aples?utm_source=medium&amp;utm_medium=referral">Alex Plesovskich</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>The Questions, Applied to the Hypo</h3><p><em>Reader, please note: I’ve rephrased the questions to target the facts of the hypothetical. You have been warned.</em></p><p><strong><em>At what point does an agreement exist between Alice and Bob|CAI?</em></strong></p><p>When an agreement is reached among a set of identified parties, it is typically indicated by some affirmative act. This can take a variety of forms, such as a handshake, a signature on a page, or — on the web — selecting a button in an interface (e.g. “Accept” on terms of use).</p><p>In this case, Bob and CAI had already posted orders, marking their pre-agreement to anyone willing to fill those orders. But without some action by another party willing to fill them, no agreement between parties exists. Bob and CAI have instead made binding offers on the terms they specified.</p><p>Only when Alice selected the “Swap” button did it become possible for some agreement to come into being.</p><p>However, the agreement she made did not specify Bob and CAI as parties. She agreed to trade with anyone whose signed orders matched her criteria, and the software subsequently identified them.</p><p>Because a binding agreement requires specific parties to be identified, no agreement could have existed until after the software selected Bob and CAI.</p><p>And since no 3rd party existed to facilitate the transaction, the code itself was the only thing holding Bob and CAI to their word, or ensuring that when Alice clicked “Swap”, the trade she wished to execute would indeed take place as described in the interface.</p><p>This means that Alice, Bob and CAI never really agree to transact explicitly with one another at all — so if an agreement is deemed to exist, that agreement could only be said to exist after the exchange was complete.</p><p><strong><em>Can Alice, Bob, and CAI all be considered parties?</em></strong><br> <br>As parties can only exist with respect to an agreement, they can be considered parties — but again, only after the exchange is complete.</p><p>While one might reasonably ask whether CAI, an autonomous trading bot, could be considered a party at all, the question is moot. By the time the exchange could be deemed an ‘agreement’, the terms were already immutably fulfilled. Thus, no declaration of law could effectively nullify CAI’s participation in the transaction.</p><p><strong><em>If so, did the parties have to be uniquely identified before an agreement could be reached?</em></strong></p><p>Since the agreement can only be deemed to exist in hindsight, the answer is no. This stands in contradiction to modern conceptions of the law of contract.</p><p><strong><em>Was there ever a promise made to Alice with respect to Bob|CAI?</em></strong></p><p>Again, the answer must be no.</p><p>Bob and CAI signed their orders before Alice ever came into the picture. Because the code itself would have necessarily validated Bob and CAI’s orders, the possibility of non-performance was no longer under the control of Bob or CAI. Hence they can’t really be said to have ‘promised’ anything — as any reasonable conception of ‘promise’ implies some future action to fulfill it.</p><p>With these questions settled, take a second look at our definition:</p><blockquote>“A contract is a <strong>legally binding agreement</strong> that recognises and governs the rights and duties of the <strong>parties to the agreement</strong>. A contract is <strong>legally enforceable</strong> because it meets <strong>the requirements and approval of the law</strong>.</blockquote><blockquote>(Emphasis added.)</blockquote><p>Reading through the definition, it becomes clear that if a contract could even be said to exist, it could only be said to exist in retrospect. And because the result of any hypothetical on-chain exchange is immutable, a contract in retrospect doesn’t serve any meaningful purpose.</p><h4><em>So the thing we call a smart contract isn’t really a contract at all.</em></h4><p>While it is true that it might look more or less like a contract under different facts, what we’ve demonstrated is that the analogy breaks down if we take it too literally. And we’re hardly served by imposing the limitations of the past on the future.</p><p>So we must evolve—and leave the term <em>smart contract</em> behind.</p><p>Or at the very least, we must be wary of anyone using <em>The Law of Contract™</em> to circumscribe the way blockchain technology ought to be used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GwB6QtdCo-yI6gWP" /><figcaption>Pictured: Early blockchain prototype. Photo by <a href="https://unsplash.com/@fujicanon?utm_source=medium&amp;utm_medium=referral">Robert Koorenny</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>So what else can we call it?</h4><p>Anything we want, as long as we don’t call it a contract—smart or otherwise.</p><p><em>Note: While I didn’t write this post to come up with an alternative to ‘smart contract’, I’d propose: Decentralized Autonomous Regulator. Please leave a comment in the comments section if you’d like to know the why behind my proposal.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=223219d0bb7d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rivet-magazine/the-trouble-with-smart-contracts-223219d0bb7d">The Trouble with Smart Contracts</a> was originally published in <a href="https://medium.com/rivet-magazine">Rivet Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>