<?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 ChainLinkGod on Medium]]></title>
        <description><![CDATA[Stories by ChainLinkGod on Medium]]></description>
        <link>https://medium.com/@chainlinkgod?source=rss-38e761f6bcb8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*5_rywpdSbTwNIl-R2DpWng.jpeg</url>
            <title>Stories by ChainLinkGod on Medium</title>
            <link>https://medium.com/@chainlinkgod?source=rss-38e761f6bcb8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 22:15:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chainlinkgod/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[ChainLinkGod Is Now On Substack]]></title>
            <link>https://chainlinkgod.medium.com/chainlinkgod-is-now-on-substack-c5ea06424495?source=rss-38e761f6bcb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5ea06424495</guid>
            <dc:creator><![CDATA[ChainLinkGod]]></dc:creator>
            <pubDate>Thu, 13 Jun 2024 03:24:31 GMT</pubDate>
            <atom:updated>2024-06-13T03:24:31.537Z</atom:updated>
            <content:encoded><![CDATA[<p>This blog is migrating from Medium to Substack. Find my latest written content at <a href="https://www.chainlinkgod.com/">chainlinkgod.com</a> and subscribe to get notified when a new article is published.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5ea06424495" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Evolution of ChainLinkGod]]></title>
            <link>https://chainlinkgod.medium.com/the-evolution-of-chainlinkgod-0139e0fdc22b?source=rss-38e761f6bcb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/0139e0fdc22b</guid>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[chain-link]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[ChainLinkGod]]></dc:creator>
            <pubDate>Mon, 18 Mar 2024 15:55:45 GMT</pubDate>
            <atom:updated>2024-06-18T17:40:03.694Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This blog has migrated to Substack. Find my latest written content at </em><a href="https://www.chainlinkgod.com/"><em>chainlinkgod.com</em></a><em> and subscribe to get notified when a new article is published.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Kljc2PC3LE9a_EoN" /><figcaption><em>Opinions and commentary are my own.</em></figcaption></figure><p>In early 2019, I started the <a href="https://twitter.com/ChainLinkGod">ChainLinkGod</a> account — primarily to absorb knowledge and share breadcrumbs about Chainlink with a small but dedicated community of enthusiasts. It soon became clear to me just how vast the knowledge gap was about Chainlink within the broader crypto community. Oracles were a novel concept at the time and their full potential was understood by few. There was a clear need for someone to bridge this knowledge gap and, in effect, make Chainlink more approachable for a broader audience.</p><p>Who better than an anonymous green frog?</p><p>I didn’t imagine at the time that a small city’s worth of people would follow and listen. I’ve engaged in more debates online than I care to admit, some worthwhile and others not. But in the process, I found myself helping guide many community members on their own Chainlink journey, while at the same time learning more than I ever have before about distributed systems, game theory, economics, cryptography, and beyond. I truly could not imagine what my life would be like today if I hadn’t tossed aside my original career path of software engineering.</p><p>Now in 2024, cleared of rotting deadwood left behind by FTX, Terra, and 3AC, I see our industry as being better positioned than ever before. Blockchains are rapidly scaling as L2 rollup adoption accelerates, Bitcoin ETFs are legitimizing crypto as an asset class, onchain finance has continued to prove resilient despite volatility, and a growing number of financial institutions are tokenizing assets and moving steadily toward production.</p><p>In parallel, Chainlink has proven itself to be not only one of the most essential pieces of infrastructure in crypto — powering nearly every single tangible smart contract vertical — but has established a strong position in enabling some of the largest financial institutions in the world to adopt blockchain networks. Chainlink is no longer a niche tool for price feeds, but the industry-standard platform for connecting the world to blockchains.</p><p>Given this evolution of Chainlink, it was only natural for the ChainLinkGod identity to also evolve. Pseudonyms within the crypto community are common, for various personal reasons, and this fact is no different within the Chainlink community. During the early days, a frog identity served as a collective identifier that, in effect, signaled one was a Link Marine. While the CLG pseudonym has served me well over the years, speaking as Zach Rynes presents an opportunity to scale my voice and educate the new wave of entrants just now learning about crypto.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FSkeZDb8szBU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DSkeZDb8szBU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FSkeZDb8szBU%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/823f55ca1f2ffadbec26f826efe89bf0/href">https://medium.com/media/823f55ca1f2ffadbec26f826efe89bf0/href</a></iframe><h3>The Human Behind The Frog</h3><p>In early 2020, just over a year after creating ChainLinkGod, I became a Chainlink Community Ambassador — serving as an educational resource for the community and as a bridge between the Chainlink Labs team and the community. Over time, this collaboration naturally expanded with me working more closely with the Chainlink Labs team, such as contributing educational content and consulting on various projects, among other endeavors.</p><p>In parallel, I continued to independently run the ChainLinkGod account and related properties like <a href="https://open.spotify.com/show/3tzdtYnvNZ4sWlvmAL1aY9">The CLG Podcast</a>, where I’ve shared my own personal thoughts and opinions on Chainlink and the broader crypto ecosystem.</p><p>Shifting from Community Ambassador to Community Liaison simply reflects an evolution of what I have already been doing — breaking down the technical nuances of Chainlink into simpler terms and supporting the team on communication strategy where relevant. With this shift of identity, CLG will continue to be independently run by me and solely reflects my own personal thoughts.</p><h3>The Network Effects of Community</h3><p>The origins of the Chainlink community are rooted in the deep understanding that not only are smart contracts the ultimate format for any contractual agreement, but that Chainlink oracles are a fundamental requirement for scaling this industry to a global level for real-world use cases. In no other ecosystem do I see a community as dedicated to a common vision and seeking out the truth in all matters. While no protocol is perfect and Chainlink has yet to reach a finalized state, with much more work to be done, there’s no doubt in my mind that the community’s support has been critical to getting Chainlink to where it is today and will continue to be.</p><p>Through engaging with both the community and the team in different ways over the past number of years, I’ve seen the definitive power that the community has around strengthening the network effects of Chainlink. There are multiple positive flywheel effects where, as community enthusiasts spread awareness and advocate for the technology and vision behind Chainlink, the more that developers are pulled into the ecosystem and start building new applications using Chainlink. Then, every new Chainlink integration by a project that is amplified by the community generates broader awareness for that application and helps that newly Chainlinked protocol establish an initial user base. These community-driven network effects are not imaginary or hypothetical, but already exist today.</p><p>By the community helping establish Chainlink as an industry standard today, the protocol becomes perfectly positioned so that when institutions start leveraging crypto infrastructure in production to settle trillions of dollars worth of tokenized assets, the use of the Chainlink platform is a foregone conclusion. While the exact timelines for when such an institutional inflection point is impossible to know for certain, Chainlink will only succeed with the support of a growing global enthusiast and developer community.</p><h3>The Future of Crypto</h3><p>I became interested in crypto because I saw how this technology presents a viable path towards re-establishing trust in society — between individuals, and between individuals and institutions. I believe a growing number of people are coming to the same conclusion as well and will need guidance and want to have deep-level conversations about a variety of industry topics. My goal is to support those individuals and help connect the dots on how the Chainlink platform provides the plumbing to make it all possible.</p><p>I want to thank everyone who helped me on my own crypto journey over the years, from the community to my colleagues. I look forward to helping connect the world to blockchains.</p><p>—</p><p>Follow me on Twitter <a href="https://twitter.com/ChainLinkGod">@ChainLinkGod</a> and listen to <a href="https://open.spotify.com/show/3tzdtYnvNZ4sWlvmAL1aY9">The CLG Podcast</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0139e0fdc22b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Layer-1 Chain Rotation Thesis: A Retrospective Analysis]]></title>
            <link>https://chainlinkgod.medium.com/the-layer-1-chain-rotation-thesis-a-retrospective-analysis-3cbd2dcdc1f8?source=rss-38e761f6bcb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/3cbd2dcdc1f8</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[ChainLinkGod]]></dc:creator>
            <pubDate>Sat, 09 Jul 2022 20:14:03 GMT</pubDate>
            <atom:updated>2024-06-18T17:39:05.757Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This blog has migrated to Substack. Find my latest written content at </em><a href="https://www.chainlinkgod.com/"><em>chainlinkgod.com</em></a><em> and subscribe to get notified when a new article is published.</em></p><figure><img alt="A game of musical chairs" src="https://cdn-images-1.medium.com/max/1024/0*FOn2Ic_6b0zrT1kJ" /><figcaption>Opinions and commentary are my own.</figcaption></figure><p>Bull markets optimize for narratives, bear markets optimize for fundamentals. While this statement is an overgeneralization, it serves as foundational logic for how participants think and react in different market environments. It’s true for most any financial market, but can be seen most clearly within crypto, which operates at a speed and acceleration 100x that of any other current or historical market.</p><p>2022 is clearly in a bear market, not just because most crypto tokens are down 80–90% from their previous all-time-highs, but because the attention of market participants has shifted from hype-fueled ponzinomics to sustainable revenue, sound economics, and the need for crypto to solve real-world problems. Bear markets are when the free-flowing money stops and the question “why are we building all of this again” starts to creep back up. Look no further than the engagement on my <a href="https://twitter.com/ChainLinkGod/status/1543323712325267456?s=20&amp;t=Yu1mSnMPiMtbejlhmiOtjw">recent thread about real-world assets</a> and the general sentiment.</p><p>While the cyclical nature of bull market narratives and bear market fundamentals is truly nothing new — for neither crypto nor any other financial markets — it’s worth exploring what exactly happened during the previous bull market exuberance. In this blog, I’ll provide my perspective on the reflexive nature of capital rotation games and the largely unsustainable growth strategies employed by blockchain projects in 2021.</p><h3>The Supply/Demand Mismatch of Blockchain Bandwidth</h3><p>It’s clear that one of the most dominant problems facing the crypto industry is the blockchain scalability problem, an inhibitor to any future growth that crypto may have. “<a href="https://www.youtube.com/watch?v=unMnAVAGIp0">The internet of money should not cost five cents per transaction</a>” after all, something which Vitalik still <a href="https://twitter.com/VitalikButerin/status/1477402773998247944">affirms</a> to this day. A throughput of 15 transactions per second with $xx — $x,xxx in transaction fees is clearly not suitable for the vast majority of people.</p><p>While this issue has reared its head in various ways over the years, with it initially being the Ethereum community dunking on the Bitcoin community for their network’s high transaction fees in 2017, the script has since been flipped. After DeFi summer in 2020 and going into early 2021, the issue of network congestion and high gas costs became clear as Ethereum became increasingly unusable for the masses.</p><figure><img alt="Zhu Su Tweet about Ethereum abandoning its users" src="https://cdn-images-1.medium.com/max/1024/0*AnM8nq_PtVq0o-3o" /><figcaption><a href="https://twitter.com/zhusu/status/1462216210116853762"><em>Zhu Su</em></a><em>, Co-Founder of Three Arrows Capital</em>, <em>a </em><a href="https://www.bloomberg.com/news/articles/2022-07-01/crypto-hedge-fund-three-arrows-files-for-chapter-15-bankruptcy"><em>now-bankrupt crypto hedge fund</em></a><em>.</em></figcaption></figure><p>The above tweet perfectly encapsulates the core sentiment and frustrations that many had with Ethereum during 2021. They were priced out and felt that the Ethereum community didn’t care about them, but rather cared more about the ideals around decentralization, self-verification, and monetary premiums. Depending on your frame of reference, some would call this “out of touch with reality” while others would call it “differing priorities.”</p><p>In an ideal world, scaling a blockchain is as easy as simply increasing the size of blocks, reducing the time between blocks, and calling it a day. Here’s Elon Musk eloquently stating his scaling roadmap for reducing transaction fees 100x on the Dogecoin blockchain.</p><figure><img alt="Elon Musk explaining his scaling roadmap for the Dogecoin blockchain" src="https://cdn-images-1.medium.com/max/1024/1*gjs5K8jaUO4y0Cv9Vqt8jA.png" /><figcaption><a href="https://twitter.com/elonmusk/status/1393738154889338884">Elon Musk</a>, educating the world on the simplicity of scaling blockchains.</figcaption></figure><p>Just make the blockchain faster, tune the parameters to eleven, who knew it was this easy! Of course, in reality, it’s not this simple as such an approach leads to centralization due to the <a href="https://vitalik.ca/general/2021/05/23/scaling.html">increased hardware requirements to run a full node</a>, which breaks the <a href="https://dankradfeist.de/ethereum/2021/05/20/what-everyone-gets-wrong-about-51percent-attacks.html">security model of blockchains</a>. Scaling while maintaining the properties that make blockchains useful is a difficult problem.</p><h3>How Ethereum Was Going to Meet the Retail Demand</h3><p>Ethereum’s roadmap to scalability is an ever-shifting one. But in 2021, with execution sharding and Plasma obliterated from the roadmap, an <a href="https://ethereum-magicians.org/t/a-rollup-centric-ethereum-roadmap/4698">all-in focus on rollups</a> was taken in order to meet the demand for blockspace, while still maintaining Ethereum’s decentralization. <a href="https://vitalik.ca/general/2021/01/05/rollup.html">Rollups</a> separate execution from consensus and data availability, allowing an existing layer-1 blockchain like Ethereum to settle a higher volume of transactions without increasing the hardware requirements of running a full node.</p><figure><img alt="Vitalik Buterin’s diagram of rollup transaction compression" src="https://cdn-images-1.medium.com/max/901/1*xPqSoMOGCOIDyuw62nIZ9g.png" /><figcaption><a href="https://vitalik.ca/general/2021/01/05/rollup.html">Rollups</a> batch transactions together in a compressed format to increase throughput.</figcaption></figure><p>However, the guesstimations about how long it would take for rollups to rollout and reach scale were widely out of sync with the difficulties of the problem at hand. This misaligned messaging around timelines occurred from both the <a href="https://medium.com/ethereum-optimism/optimistically-cautious-767a898f90c8">teams developing rollups</a> as well as the Ethereum community at large (yours truly included). Rollups were in fact not at all ready to meet retail user demand in 2021. Even as of writing, in mid-2022, rollups are still <a href="https://twitter.com/ChainLinkGod/status/1542204952344285185?s=20&amp;t=8g4oHOXXaVMa-RgMMtvDGw">not quite ready</a> to meet the level of demand that comes along with global scale.</p><p>But this explanation is so nuanced and retail users don’t really care. Decentralization? Full node hardware requirements? Multi-year scaling roadmaps? Retail users in 2021 just wanted faster and cheaper transactions so they could continue gambling on speculative tokens with ease. Not meeting this very real (at the time) market demand would mean leaving a lot of money on the table. Were these users simply to stop using blockchains and wait for Ethereum to scale? Of course not, demand simply needed to be offloaded somewhere in the meanwhile.</p><h3>The Mass Exodus of Retail to Greener (Cheaper) Pastures</h3><p>Scaling Ethereum is akin to replacing both engines of a 747 in mid-flight with the population of a moderate-sized country and the capital value of a mid-sized US bank on board. But what if we didn’t have to scale Ethereum at all or care about that whole “maintaining decentralization” thing? It would sure make the problem a whole lot simpler, wouldn’t it? All of Ethereum’s code is open-source, the DeFi primitives have mostly all been established, and plus people are bidding on all these largely valueless governance tokens…</p><p>And thus, the <em>Layer-1 Chain Rotation Thesis™️</em> was born. It was remarkably simple: fork Ethereum’s code, make the blocks bigger and faster (thanks Elon), fork all the core DeFi dApps, pay people to use it, and wow you got yourself a cutting-edge next-generation blockchain that is both cheaper and faster than Ethereum! If the timing aligns, then you’ll see an influx of capital and all the speculation that comes along with hyper-growth.</p><p>This approach was so simple and effective, that it was done again and again and again. Each time a new deployment with a money printer popped up, retail users, mercenary capital, and other market participants happily rotated to the new chain to collect the free money. Each chain usually had a new trick up its sleeve, commonly in the form of a different narrative or a slight technical improvement, but fundamentally the same thesis was at play.</p><p>During a crypto bull run mania, this dynamic was a win-win for all participants. Blockchain core devs could bootstrap the adoption of their chain (and profit in the process), retail users were once again able to interact with DeFi applications (and profit in the process), and mercenary capital was able to put their assets to work (and profit in the process). If everyone making a profit with there being no losers sounds unsustainable to you, well that’s because it was. The L1 chain rotation thesis was crypto hyper-reflexivity to the max. What goes up must come down, but more on that later.</p><h3>The 12 Easy Steps To Joining the L1 Chain Rotation Cycle</h3><p>To understand how and why this blockchain growth strategy was so effective, let’s look at the steps involved. If we were still in a bull market, this explanation could have served as a playbook, but for now, it’s relevant to view these steps in the framing of a post-mortem retrospective analysis.</p><h4>1. Launch (fork) a new blockchain and create a token</h4><p>The first step is the most obvious; fork the Go implementation of the Ethereum protocol known as <a href="https://geth.ethereum.org/">geth</a>. Geth is not only free and open-source software but has also been extensively battle-hardened via years of in-production usage. Why reinvent the wheel where there’s already an underpaid development team that has built the core technical foundation for you?</p><figure><img alt="Go Ethereum GitHub Commit History since 2014" src="https://cdn-images-1.medium.com/max/1024/1*v43zw44mQlXkxnlq6CHCMA.png" /><figcaption><a href="https://github.com/ethereum/go-ethereum/graphs/contributors">Go Ethereum commit history</a>, free and open-source public good software with 14.4k+ forks.</figcaption></figure><p>Naturally, this new deployment of Geth needs a native coin that users can use to pay transaction fees and to support block producers via block rewards. A native coin is also needed to fund the money printer you’ll eventually turn on to attract users and to support the core development team who needs to get paid for the hard work of forking Geth.</p><p>Thus you can’t just fork Geth, but you need to initiate a token sale in order to distribute the initial native coin supply to yourself (free), VC investors (~100x lower than public sale price), and maybe some users as well (whatever is left over). Regulators are generally too caught up with their busy work of virtue signaling about “investor protection” and poking at legitimate projects to pay attention to you.</p><p>To be perfectly clear, there isn’t anything inherently wrong with forking free and open-source software or initiating a token sale, but these are simply required steps in joining the layer-1 chain rotation cycle that can hopefully accelerate your blockchain’s growth and make you, your investors, retail users, and everyone else some money in the process.</p><h4>2. Promote your “unique” speed and cost advantages</h4><p>After forking Geth, there’s little need to keep the blocksize and blocktime parameters the same as Ethereum Mainnet. After all, the reason this new chain exists is to be cheaper and faster than Ethereum. After thanking Elon for his infinite blockchain scalability wisdom, there are also some other neat marketing tricks you can employ.</p><p>When your new blockchain is launched, the blocks will be empty and so will the <a href="https://medium.com/@eiki1212/ethereum-state-trie-architecture-explained-a30237009d4e">state trie</a>. This means transactions will cost next to nothing (sub-cent) and they’ll be included on-chain with the next block (confirmations in seconds). You can now make some comparison charts between your new chain and Ethereum, showcasing someone would have to be a masochist to still be using Ethereum.</p><p>Never mind that demand for blockspace will eventually exceed supply (which is when the fee market for transactions kicks in), or that state bloat will eventually grind your chain to a halt if not checked (due to the <a href="https://youtu.be/TdsaVoJiy3g?t=351">growing disk IO bottleneck</a>). Those are future problems, for future you, but for now, it is technically true that your blockchain is faster and cheaper than Ethereum.</p><p>Similarly, because blocks and the state trie are empty, the hardware requirements for running a full node will be low, even lower than Ethereum. Naturally, this will change over time as blocks fill up and the state trie grows faster than Ethereum, but in the meantime, you can say you’ve solved scalability without compromising decentralization and self-verification.</p><figure><img alt="Etherscan Charts" src="https://cdn-images-1.medium.com/max/1024/1*eqdV6eTSqREAs6YcaUsLVQ.png" /><figcaption><a href="https://etherscan.io/charts">Ethereum</a> only became expensive after blocks began to fill up (left side), which were limited in size (right side) to help prevent runaway state growth and its centralizing effects.</figcaption></figure><p>Naturally, some people will try to call out your shortcuts to increasing throughput, but they can be easily dismissed as “maximalists” or simply ignored because they’re clearly NGMI. If that doesn’t work, then some more advanced tactics are needed. This is when marketing becomes more akin to gaslighting and Twitter becomes the primary battleground.</p><p>Find and own a catchphrase such as “Consensus is the bottleneck, scalability is a lesser engineering problem,” “Decentralization is the cost to destroy all replicas,” or just call those who do not align with you “poor” and that “their size is not size.” Throw in a “The future is multi-chain” for good measure as well.</p><p>Congrats, you’ve successfully solved the blockchain scalability problem with zero trade-offs! Also, because you’ve launched and distributed a token, you now have a community of financially incentivized token holders who will parrot your narratives and defend your blockchain against FUDsters at any costs. Don’t forget to regularly point out how expensive Ethereum is.</p><h4>3. Fork and deploy core DeFi primitives</h4><p>By this point, you’ve probably grown a niche community, but so far there isn’t actually much to do on your new blockchain. Retail users want applications they can use to speculate on tokens, requiring key DeFi primitives like non-custodial exchanges, money markets, overcollateralized stablecoins, derivative platforms, and so on. Once again, look towards Ethereum where there is a growing ecosystem of free and open-source smart contracts that can be easily forked and deployed on your new chain.</p><figure><img alt="DeFi applications across the multi-chain ecosystem" src="https://cdn-images-1.medium.com/max/1024/1*7p1-6u2VC3pXxWq0Tcu4Fg.png" /><figcaption><a href="https://defillama.com/">DeFi applications</a> across the multi-chain ecosystem, can you tell which are forks?</figcaption></figure><p>However, a blockchain core dev team deploying their own forked dApps to their own forked blockchain doesn’t look like much of an ecosystem, so you’ll want other teams to deploy these dApps. This can be easily achieved in one of two ways. The first is awarding grants to opportunist developers whose innovative idea is to create the “The [XYZ] dApp of chain [ABC]”.</p><p>To give some credit, forking and improving an open-source protocol can indeed be a net positive for the industry by pushing the boundaries of what’s possible. But oftentimes, the idea is as simple as forking an established protocol, deploying it on a new chain, and then calling it a whole new thing because the branding is different.</p><p>The second approach is a bit more subtle but is usually more time and cost-efficient. Fork those dApps yourself and hire a dev team to pose as the founders and maintainers. If you can’t find any devs to act the part, play the role yourself but under a pseudonym so nobody is any the wiser.</p><p>The net result and goal are the same, emulating the Ethereum ecosystem but on your blockchain and with new dApp tokens that retail users can speculate upon. This allows for sentiment such as “If this new dApp token reaches just [x]% of the market capitalization of its counterpart on Ethereum…” You get the idea.</p><h4>4. Get your dependencies in check and sell users a bridge</h4><p>The nice advantage of forking geth is that your blockchain is running the <a href="https://medium.com/mycrypto/the-ethereum-virtual-machine-how-does-it-work-9abac2b7c9e">EVM</a>, meaning all of the tooling built around Ethereum and Solidity smart contracts work just the same. Importantly, this means Metamask (which your target audience already has downloaded) will work just as it does on Ethereum, just needing an additional RPC connection. The developer community can also use Hardhat, Truffle, and all the other dev tools they need to (hopefully) create new dApps on your chain.</p><figure><img alt="Ethereum Virtual Machine Layer Diagram" src="https://cdn-images-1.medium.com/max/1024/1*W8Djky_mujdeo8lXO_U_KA.png" /><figcaption>The <a href="https://medium.com/@fabrisde167/getting-deep-into-evm-how-ethereum-works-backstage-ea70203e3124">Ethereum Virtual Machine</a> (EVM) is an abstraction between the code and the physical hardware.</figcaption></figure><p>However, it’s essential to make sure your other dependencies are in check as well. You’ll need a block explorer, so either fork an existing one or pay Etherscan to make a clone. You’ll need oracles for your forked DeFi apps, so get into contact with Chainlink. You’ll need liquidity and a fiat on-ramp for your coin, so work with exchanges to get listed. You want the experience to feel like Ethereum (but cheaper and faster).</p><p>Lastly, you need a way for people to onboard onto your new chain from existing ecosystems such as Ethereum. A siloed garden is no fun for anyone and significantly limits your growth potential. Therefore, you’ll need to create a cross-chain token bridge, which will take the form of a multi-sig managed by a small handful of trusted validators. Cross-chain bridges can be tricky to get right, as well over a billion dollars worth of crypto has been stolen from bridges in the past year alone.</p><figure><img alt="Largest DeFi Exploits by The Block Research" src="https://cdn-images-1.medium.com/max/1024/1*DrQ2_DV80qJwh448_yyDZA.png" /><figcaption>Some of the <a href="https://www.theblock.co/data/decentralized-finance/exploits">largest exploits in DeFi</a> have been cross-chain bridges.</figcaption></figure><p>Deploying a cross-chain bridge is simply a necessary risk to take to join the chain rotation cycle. Once deployed, make sure to let users know you have a bridge to sell them and that it’s the most seamless and secure bridge that they’ve ever seen before.</p><h4>5. Spin up the money printer and start the growth cycle</h4><p>By this point, you’ve created (forked) a new blockchain and you’ve managed to convince a number of community members into believing and/or echoing the narrative that your blockchain is faster and cheaper than Ethereum. But why should users switch over from the other “faster and cheaper than Ethereum” alt-L1 blockchains they’re already using? Your blockchain will likely have less liquidity, users, traction, and mindshare than existing solutions.</p><p>There is but one clear answer: to make money.</p><p>This next step is the key ingredient to making the L1 chain rotation thesis what it is. Deploy, endorse, and market a massive token subsidy program, where users can earn rewards by simply deploying their capital into your blockchain’s dApp ecosystem — commonly known as yield farming. These token subsidies can take the form of the chain’s native coin (of which you minted yourself a portion of the supply allocated for this purpose) and/or governance tokens deployed by the dApps themselves.</p><figure><img alt="Yield Farming academic paper diagram" src="https://cdn-images-1.medium.com/max/1024/1*PVKrvgR7gNPAC7gCkE0GSg.png" /><figcaption><a href="https://www.researchgate.net/publication/351990378_SoK_Yield_Aggregators_in_DeFi">Examples</a> of how yield farmers can earn “native token” subsidy rewards.</figcaption></figure><p>During a bull market where retail participants will speculate on anything that moves, the tokens used for subsidizing rewards will inevitably have a value above zero, even on day one, which is enough to kick-start the ensuing virtuous cycle. Make sure to give the subsidy program a catchy name and focus on how this program will enable growth and that your ecosystem is growing and that growth is good. Welcome to the world of printing money.</p><h4>6. Enjoy the TVL growth as the “fundamentals” increase</h4><p>When token subsidies are employed, the “yield” offered by dApps on your blockchain will look quite alluring. Lending rates on money markets will be higher, returns on provisioning liquidity in DEXs will be higher, and the ROI on depositing tokens into a contract that doesn’t do anything will be higher. As long as the money printer is still giving out tokens and people are willing to purchase these tokens, then the “yield” will continue to flow. However, most people don’t question where the yield actually comes from, and even for those who do, it doesn’t matter as the “yield” will still exist.</p><p>This increased “yield” from the token subsidy program will attract both retail users and mercenary capital to deploy their assets into your blockchain ecosystem via your cross-chain bridge. This capital deployment from yield-chasers will result in an increase in the <a href="https://defillama.com/">Total Value Locked</a> (TVL) of your blockchain and its dApps, a prime metric that signals to users and speculators that your blockchain is healthy and growing. The “fundamentals” of your blockchain are increasing and TVL is going to be used as proof of that.</p><figure><img alt="DeFiLlama TVL growth" src="https://cdn-images-1.medium.com/max/1024/1*a2JOFXpDFHFL4A3VHi8nTQ.png" /><figcaption><a href="https://defillama.com/">Total DeFi Total Value Locked</a> (TVL), notice how TVL grew from $18B to a peak of $252B in 2021 (+1,300%).</figcaption></figure><h4>7. Promote TVL growth as a success</h4><p>Naturally, this increase in TVL will be very exciting, and now is the time to market your success. Multi-channel marketing campaigns, promoted tweets, and sponsored media articles are the fuel you need to accelerate this virtuous cycle. You won’t be alone either as your core dev team (who double as marketers), VC investors, token holders, dApp dev teams, and influencers will all be promoting how amazing the growth of this new chain is.</p><p>There’s no reason to stop at TVL either, as a whole host of metrics will be increasing as users chase subsidized yields. Active address count, daily transaction count, protocol revenue, market capitalization, and pretty much any metric that benefits from subsidized yields can be promoted as proof that your chain is the future.</p><figure><img alt="Do Kwon tweet about UST’s growth" src="https://cdn-images-1.medium.com/max/1024/1*C2X7HjEt7ytVe1QTBWaeTA.png" /><figcaption><a href="https://twitter.com/stablekwon/status/1475223441787998209?s=20&amp;t=ubTjtjPe4gEsLow-pK4QzA">Do Kwon</a> promoting the growth of UST, an algorithmic stablecoin fueled by subsidized rewards, which later collapsed in early 2022 at a peak of ~$20B.</figcaption></figure><p>The one metric you don’t want to highlight, however, is how much is being spent on token subsidies or the resulting inflation rate. The big number was impressive for the initial announcement, but after deployment, you want to focus on promoting yield, TVL, and growth. The goal is to incite FOMO and WAGMI energy. If you don’t have your capital deployed to this new chain and you’re not speculating on these hot new tokens, then sorry fren you’re missing out.</p><h4>8. Watch the speculation accelerate</h4><p>This is the stage where things really start to accelerate. The retail masses will see this marketing blitz on their social media timeline and feel they have to jump in, just think of the opportunity cost otherwise! The impressive growing TVL and other growth metrics will look too strong to ignore. As a result, retail will feel that these tokens are undervalued and begin to increasingly speculate and bid up their value. The token’s inflation rate, lack of value capture, or unsustainable economics is irrelevant, the TVL is going up and that is good!</p><figure><img alt="Crypto speculation growth" src="https://cdn-images-1.medium.com/max/1024/1*ySDDr27W0JtJKm0e4EQltQ.png" /><figcaption><a href="https://www.theblock.co/data/crypto-markets/spot">Speculation</a> increased <a href="https://www.theblock.co/data/crypto-markets/prices">exponentially</a> in 2021, helping fuel the growth cycles of blockchains.</figcaption></figure><p>People who speculate on tokens, tend to not only defend their investment but actively promote it as well, accelerating the cycle even further via word-of-mouth marketing. The amount of Koolaid being drunk at this point will be intoxicating, but with their portfolio value going up, they’ll feel validated in their thesis.</p><p>Anyone calling out the cycle for what it is, an unsustainable hype cycle, is just simply fudding because they missed out and didn’t make money like everyone else. The market has spoken and these valueless governance tokens are actually very valuable because the price is going up. Never mind the circular logic, look at the TVL growth!</p><h4>9. Yields and TVL increase as the cycle accelerates</h4><p>The L1 chain rotation thesis flywheel is now in full effect. When the price of a token used to subsidize yield increases in value, thanks to market speculation, then the rate of subsidized yield provided to users also increases. These increased yields attract even more capital to be deposited into your dApp ecosystem, improving the growth metrics such as TVL even further. These growth metrics can be repromoted on social media, leading to more speculation on those tokens, leading to increasing yield, leading to an increase in TVL, leading to… and the cycle accelerates.</p><figure><img alt="L1 Chain Rotation Thesis flywheel" src="https://cdn-images-1.medium.com/max/1024/0*lbKIELnFOBGTgoi6" /><figcaption><em>This virtuous cycle flywheel effect is at the heart of the L1 chain rotation thesis.</em></figcaption></figure><p>Speculation on the fundamentals of your blockchain’s ecosystem has suddenly made the fundamentals even better. Can you see where this can start to go wrong?</p><h4>10. Reality check</h4><p>At a certain point, the underlying blockchain reaches its breaking point. Blocks begin to fill up, which causes transaction fees to increase and confirmation times to take longer. This was the very thing your chain was supposed to solve, no good! Thankfully, you can simply kick the can down the road by increasing the blocksize. Yes, this increases the hardware requirements of running a full node and yes this is unsustainable as eventually, disk IO will become so saturated that even the beefiest server-farm nodes cannot stay synced to the tip of the chain.</p><figure><img alt="BSC is a lost cause GitHub Issue" src="https://cdn-images-1.medium.com/max/1024/1*n1D3djNppQ5JXHXghzEKDw.png" /><figcaption>An <a href="https://github.com/bnb-chain/bsc/issues/553">infamous GitHub issue</a> raised about the experience of running a BSC full node.</figcaption></figure><p>But don’t worry, these are just “growing pains” that every blockchain like yours runs into at some point. As it turns out, blockchain scalability is actually quite nuanced and a hard problem to solve. It always was, but now you need to convince your audience of this as well who are likely questioning if you really solved anything at all. It’s time for a pivot.</p><h4>11. Continue the cycle via a narrative pivot</h4><p>The cycle has been so profitable thus far, it would be a shame to just let it end like that. Thankfully, you don’t have to, because you are now an <strong><em>interoperability blockchain</em></strong>. Your blockchain isn’t a singular chain, no, it’s now an ecosystem of sidechains that interconnect via a central hub chain.</p><p>Except, you can’t call them sidechains because of the negative connotation around poor network security. The name doesn’t really matter, the point is that you’re now going to solve scalability by extending horizontally. These new chains won’t have the same level of security or decentralization as the first one, but when has that mattered in achieving success thus far?</p><p>What you’re attempting to scale is not necessarily transactions per second, but rather the flywheel effect. A new sidechain means a new token for people to speculate on, a new dApp to subsidize with tokens, and a new blockchain with empty blocks and state to be filled up. Eventually, these sidechains will become congested just like the first blockchain deployment did, but thankfully you already solved for that. Just launch another sidechain.</p><h4>12. Onto to greener cheaper pastures (again)</h4><p>The interoperability blockchain thesis is very nice, but by this point, the gig is usually up. When there becomes more sellers than buyers, which can happen for a number of reasons, the game of musical chairs has come to an end. The flywheel has begun to reverse itself. As the price of the token used to subsidize yield starts to decrease, the yields begin to decrease. Decreasing yields leads to people withdrawing their capital, either to generate more yield in another blockchain ecosystem or simply because the risk is no longer worth the dwindling return.</p><p>This causes the ever-important fundamental metrics like TVL to drop, which makes the subsidy token not look as attractive as an investment anymore. With the fundamentals “changed,” those speculating on the token become more bearish and begin to sell off. This causes yields to decrease further, which causes more capital to leave, which causes… and the cycle accelerates.</p><figure><img alt="L1 Chain Rotation Thesis unwinding" src="https://cdn-images-1.medium.com/max/1024/0*bDNW9tKWGSRrAMGW" /><figcaption><em>The unwinding of reflexive L1 rotation thesis flywheel.</em></figcaption></figure><p>This doesn’t mean your blockchain and its ecosystem is dead, but rather much of the mercenary capital and retail is leaving for greener pastures. What is left are the users who found real utility from your blockchain ecosystem, feel the level of yield offered is still sufficient, or have simply become community members. Tokens never truly go to zero either, even during cases of extreme hyperinflation, so the subsidy will still always have some value to support the ecosystem.</p><p>But what exactly triggers the switch to more sellers than buyers in the first place? Most often, it’s a new shiny blockchain that has appeared offering better yield, lower transaction fees, faster transaction speeds, and/or a better narrative overall. This blockchain will probably run into all of the same issues as yours, but that doesn’t matter, the fact remains that they’re faster and cheaper than your blockchain and they’ll let users know.</p><p>And thus, the rotation cycle goes on.</p><h3>Conclusion and Key Takeaways</h3><p>Crypto in 2021 was largely defined by the jpeg NFT mania and the L1 chain rotation thesis. When money flows freely, projects have to compete on the basis of attention, and nothing attracts the attention of capital holders more than the opportunity to make money, either via speculative tokenized jpegs that can be resold at a higher price or by subsidized DeFi yields on a new blockchain fork.</p><p>While this blog post may seem like a pessimistic view on alt-L1 blockchains, the growth tactics I described above were simply the logical route to take given this approach was being actively rewarded by the market, in terms of both attention and capital allocation. It’s clear that not every blockchain other than Ethereum is a blatant unoriginal fork created as a cash grab, as many blockchains have real redeeming qualities and unique value propositions that push the industry forward as a whole. This blog isn’t meant to take shots at any specific blockchain ecosystems, but rather to highlight the capital rotation games that the crypto industry as a whole not only accepted but actively supported.</p><p>I’m interested in crypto because this technology presents a viable path towards improving society by re-establishing trust between mutually-distrusting entities by executing agreements on a credibly neutral settlement layer that is viewable to all and tamperable by none. I am not interested in crypto because of the various ways we can print money out of thin air to fake yield, create financial weapons of mass destruction that obliterate retail capital, or because of the highly reflexive and speculative properties. There was simply a systemic malformed incentive structure problem, something which not a single project or entity could solve, but is at the very least worth calling attention to and analyzing.</p><p>These days, given the current market conditions, the L1 chain rotation thesis strategy doesn’t work as well as it used to. Narratives of growth are now expected to be matched with sound economics and real defensive moats. I hope when the next bull cycle arrives, whenever that may be, that we have collectively learned our lesson about unsustainable capital rotation games. But to be frank, this is crypto and I have my expectations set accordingly.</p><p>—</p><p>Follow me on Twitter <a href="https://twitter.com/chainlinkgod">@ChainLinkGod</a> and listen to <a href="https://open.spotify.com/show/3tzdtYnvNZ4sWlvmAL1aY9">The CLG Podcast</a> for more of my ramblings and explanations about the crypto industry.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3cbd2dcdc1f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chainlink — A Visual Summary]]></title>
            <link>https://chainlinkgod.medium.com/chainlink-a-visual-summary-a16136c68487?source=rss-38e761f6bcb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/a16136c68487</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[chain-link]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[ChainLinkGod]]></dc:creator>
            <pubDate>Sat, 09 May 2020 22:41:31 GMT</pubDate>
            <atom:updated>2024-06-23T20:15:29.691Z</atom:updated>
            <content:encoded><![CDATA[<h3>Chainlink — A Visual Summary</h3><p><em>This blog has migrated to Substack. Find my latest written content at </em><a href="https://www.chainlinkgod.com/"><em>chainlinkgod.com</em></a><em> and subscribe to get notified when a new article is published.</em></p><p>Sergey Nazarov, the CEO of <a href="https://chain.link/">Chainlink</a>, recently gave an excellent presentation at the Virtual Ready Layer One conference on May 5th 2020 featuring some newly designed slides that introduced more information about the Chainlink framework overall. You can find a recording of the original presentation <a href="https://youtu.be/XUd9RuGxhMQ?t=964">here</a> and the full slideset <a href="https://drive.google.com/file/d/1wAj6QEHHuKTnpM7o39ZQmJpfUeiNR7tj/view">here</a>.</p><p>This article is a compilation of info from a <a href="https://twitter.com/ChainLinkGod/status/1258935949293051906">thread I made</a> on Twitter that provides context into each of these slides in more detail. This article in particular provides the same information but in a more easily shareable format that will be archived on my blog forever for all future LINK Marines to dig into. Let’s begin shall we?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TKcF9488TGQWWZETc-6XQw.jpeg" /><figcaption>Opinions and commentary are my own.</figcaption></figure><p>ALL blockchains suffer from the “Oracle Problem.” From Ethereum to Bitcoin to Hyperledger to Tezos to Cosmos to Harmony to Kava to Conflux to Polkadot to Zilliqa to Icon to Hedera Hashgraph to Ontology to Solana and beyond. They all require oracles for external data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ubz5KoSn1ToWKknhuFZDPg.jpeg" /></figure><p>Smart Contracts (SCs) on their own have zero access to the external real world data they need to execute including market data, events data, retail payments, bank payments, and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KZTT54OYy3oRKtNxSK1CKQ.jpeg" /></figure><p>The Smart Contract space is currently largely defined by creating tokens (e.g. 2017 ICO boom, 2019 DEX growth), not because tokens were the goal, but because tokens are a native “out of the box” functionality of Smart Contract platforms like Ethereum.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I1Vn_VAdBnTqjkZMYXtSRw.jpeg" /></figure><p>The vast majority of contractual agreements require external information beyond just ownership (tokenization). Once SCs have secure access to external data, growth will explode and distribution of tokenization vs real world events related contracts will look very different.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YSpg-HHAvQ6GN5vvgSMlaQ.jpeg" /></figure><p>Smart Contracts originally started out very simple as multi-signature “wallets” on Bitcoin $BTC which required multiple parties to sign off on a transaction. Later the $NXT blockchain introduced specialized low level protocol opcode smart contracts for more functionality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RIyDbJArcL_-rvwNag6ylQ.jpeg" /></figure><p>These low level opcode-based smart contracts were extremely limited as new opcodes had to be added to the L1 protocol itself through a hard fork! Ethereum $ETH introduced programmable smart contracts which could be written in solidity and required no hard fork to deploy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lP8Kt2kyExyUSHfzsFcS9g.jpeg" /></figure><p>Scriptable Smart Contracts were much easier to write and could be deployed by anyone, but it was like a computer without an internet connection. Chainlink $LINK introduced decentralized oracles enabling these same scriptable smart contracts to access any and all external data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LvqRSRkNcb4rvlUb3nWNfg.jpeg" /></figure><p>Decentralized Finance #DeFi has been absolutely exploding in growth to now <a href="https://defipulse.com/">~$1B in total value locked</a>. 90%+ of DeFi including <a href="https://makerdao.com/">MakerDAO</a>, <a href="https://synthetix.io/">Synthetix</a>, <a href="https://compound.finance/">Compound</a>, <a href="https://aave.com/">Aave</a>, <a href="https://bzx.network/">bZx</a>, <a href="https://nexusmutual.io/">Nexus Mutual</a>, and more REQUIRE external oracles to exist.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*69utdhV5x-LSKACYIhaDQw.jpeg" /></figure><p>Smart Contracts are actually are two separate different parts. First is the on-chain code that runs the predefined business logic (rules of the dApp). Second is the off-chain oracles for connecting to external data, enterprise systems, and traditional fiat payments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PNu4tf1Mf0nE0_Txj4rj4A.jpeg" /></figure><p>External data includes <a href="https://www.bloomberg.com/professional/solution/content-and-data/">Bloomberg</a>, <a href="https://www.reuters.com/finance/global-market-data">Reuters</a>, <a href="https://www.nyse.com/market-data">NYSE</a>, <a href="https://coinmarketcap.com/api/">CoinMarketCap</a>, <a href="https://www.kaiko.com/pages/market-data-api">Kaiko</a>, <a href="https://www.alphavantage.co/premium/">Alpha Vantage</a>, <a href="https://www.easypost.com/docs/api">Easypost</a>, <a href="https://cloud.google.com/bigquery">Google BigQuery</a>, etc. Enterprise systems includes <a href="https://www.salesforce.com/">Salesforce</a>, <a href="https://www.oracle.com/applications/erp/">Oracle</a>, <a href="https://www.sap.com/index.html">SAP</a>, <a href="https://dynamics.microsoft.com/en-us/">Microsoft</a>, <a href="https://www.docusign.com/features-and-benefits/enterprises">Docusign</a>, etc. Traditional payments includes <a href="https://sandbox.developerhub.citi.com/us/home">Citi</a>, <a href="https://developer.visa.com/">Visa</a>, <a href="https://developer.mastercard.com/">Mastercard</a>, <a href="https://developer.hsbc.com/#/welcome">HSBC</a>, <a href="https://www.swift.com/news-events/news/swift-to-bring-benefits-of-gpi-to-dlt-and-trade-ecosystems">SWIFT</a>, <a href="https://developer.paypal.com/home/">Paypal</a>, etc.</p><p>In order for Smart Contract to be fully trustworthy, it needs to be secured end-to-end from inputs to outputs (I/O). If just the on-chain code is secure but the I/O isn’t, then the entire contract is worthless, insecure, and not useful to anybody.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vr26XLZ2Ddkr4f4rJJLkXg.jpeg" /></figure><p>Smart Contracts require I/O of varying types and functionalities. Inputs can range from traditional market data, crypto prices, ANY Web API, and more. Outputs can range from enterprise systems, traditional payments, crypto payments, and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FF7lxHz9OZUkb6yWCwQX5Q.jpeg" /></figure><p>Chainlink’s approach to reliable and secure oracles includes</p><ul><li>Decentralization</li><li>Provably Secure Nodes</li><li>High Quality Data</li><li>Cryptoeconomic Security</li><li>Defense in Depth</li><li>A Large Open Source Community</li><li>Connecting any blockchain environment to all inputs and outputs</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-GA-yr6U_LO4EFpOgpIqDA.jpeg" /></figure><p>This hopefully isn’t news to you, but centralized oracles are a single point of failure that defeats the whole purpose of using smart contracts that run on a decentralized blockchain in the first place. Centralized oracles are not a legitimate solution to the oracle problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iYwtkn-jeqNl6p_8PEuQYw.jpeg" /></figure><p>A Decentralized Oracle Network requires many independent sybil resistant nodes who need to come to consensus. Anybody can build their own Chainlink network using any nodes they desire and deem trustworthy, but this trust barrier will lower with new features and more data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g6DRq0vHH4Hgr9AEiW4twQ.jpeg" /></figure><p>The <a href="https://market.link/">Chainlink Market</a> is a permissionless community marketplace where any node operator or data provider (sometimes the same entity) can list their services offered and developers can use this information to build their own Chainlink oracle network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yss-0Ie0CQ0q0CLRsdUcrw.jpeg" /><figcaption><a href="https://market.link/nodes/eaa65e96-c498-4af6-a682-47ff9951f75f">https://market.link/nodes/eaa65e96-c498-4af6-a682-47ff9951f75f</a></figcaption></figure><p>Binding Service Agreements are on-chain commitments signed by each oracle node in a network enforcing high security and high quality data standards. Both the commitment and final performance of such commitment are immutably stored on-chain and are fully verifiable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hJil_HRkhg7-ATZsobGOEg.jpeg" /></figure><p>A cryptographically provable performance history enables requesters to use this on-chain information about nodes to determine which are reliable and which are not. Unreliable nodes will no longer be selected due to their poor performance and they will lose all future revenue.</p><p>Binding Service Agreements also enable cryptoeconomic security through staking $LINK. Slashing conditions for this stake are agreed to beforehand by all parties ensuring there is an economic punishment for misbehavior, data inaccuracy, or any other predefined condition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*liA5IcgqR3INUJtuvIMR-g.jpeg" /></figure><p>The “Web of Trust” model provides context on a node’s reliability and includes information aggregated across many chains. Usage by multiple real dApps is a signal of trust and having many highly used and reputation sensitive nodes makes for a stronger network overall.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U492dMv681ofBDd49c7_yw.jpeg" /></figure><p>Decentralization at the node operator level is incredibly important but so is the decentralization at the data source level. Pulling from a single data source, even from many nodes, is still a single point of failure so data should be aggregated across many data source APIs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-XI6N3uruvtFz118z3uWUw.jpeg" /></figure><p>Putting this all together creates a decentralized oracle framework that enables truly Decentralized Finance apps that contains no single point of failure. many Exchanges -&gt; many Data Providers -&gt; many Chainlink Nodes -&gt; many Reference Contracts -&gt; many DeFi Applications</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cAG3q8iNKTUVbX2oPnPO4A.jpeg" /></figure><p>Not only does Chainlink support a multitude of different blockchains for off-chain data to be sold to, but Data Providers can either run their own Chainlink node directly and/or they can sell their APIs, business as usual, to other Chainlink node operators.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jNs4ZJEzZZm3EFbkHgL_Iw.jpeg" /></figure><p>There are currently 31+ Reference Data Networks <a href="https://twitter.com/hashtag/PoweredByChainlink?src=hashtag_click">#PoweredByChainlink</a> live on Ethereum mainnet today! This includes USD and ETH base pairing for assets including cryptocurrencies, stablecoins, commodities, indices, and more. Check them out at <a href="https://feeds.chain.link/">feeds.chain.link</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*31LWo6lMfKimXw4tqrl8nA.jpeg" /><figcaption><a href="https://feeds.chain.link/btc-usd">https://feeds.chain.link/btc-usd</a></figcaption></figure><p>What this all means is that Chainlink is a framework for building decentralized oracle networks to connect any blockchain to all inputs and outputs required by smart contracts. Flexibility and diversity is key here, data providers can now sell data to every blockchain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XHiGaSH7zgmNvOZUS_njfg.jpeg" /></figure><p>A great example of what is now possible is a Smart Crop Insurance Contract. Multiple weather data sources are read by a decentralized oracle network and fed into a smart contract on any blockchain, afterwards off-chain payments can be triggered in widely accepted formats.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uCrin5qzi7NjoZVZ-xbVeA.jpeg" /></figure><p>Chainlink is an idea meritocracy where the best ideas win. The team has been growing rapidly but they’re always looking for talented folks to join them on the mission to solving the oracle problem practically once and for all. You Just Win.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5tYU73yynI7yfgI7tzgadQ.jpeg" /><figcaption><a href="https://careers.chain.link/">https://careers.chain.link/</a></figcaption></figure><p>Hope you enjoyed reading this brain dump, these are some incredibly informative slides overall, so you can derive your own conclusions. The great part is that this is just a tiny fraction of what Chainlink can and will be leveraged for! :)</p><p>Follow me on Twitter <a href="https://twitter.com/ChainLinkGod">@ChainLinkGod</a> where I fight the information asymmetry surrounding DeFi, Oracles, and Chainlink.</p><p><a href="https://twitter.com/ChainLinkGod">JavaScript is not available.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a16136c68487" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scaling Chainlink in 2020]]></title>
            <link>https://chainlinkgod.medium.com/scaling-chainlink-in-2020-371ce24b4f31?source=rss-38e761f6bcb8------2</link>
            <guid isPermaLink="false">https://medium.com/p/371ce24b4f31</guid>
            <category><![CDATA[dlt]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[chain-link]]></category>
            <dc:creator><![CDATA[ChainLinkGod]]></dc:creator>
            <pubDate>Thu, 20 Feb 2020 16:12:46 GMT</pubDate>
            <atom:updated>2024-06-18T17:38:37.698Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This blog has migrated to Substack. Find my latest written content at </em><a href="https://www.chainlinkgod.com/"><em>chainlinkgod.com</em></a><em> and subscribe to get notified when a new article is published.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*0U0-6yFtfUEiYN9IF-XDxw.jpeg" /><figcaption><em>Opinions and commentary are my own.</em></figcaption></figure><p>2019 was quite a monumental year for Chainlink, to say the least. Throughout the year there were countless integrations of the oracle framework from a wide array of different entities: crypto startups, large enterprises, blockchain/DLT projects, data providers, node operators, ecosystem builders and much more. I don’t blame you if you couldn’t keep up with the flurry of activity that&#39;s been taking place! Just one look at the chart below, and it becomes immediately clear that interest in the Chainlink protocol has been growing exponentially since 2017.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eNsSobibGkmaE9vgjV7B0A.jpeg" /></figure><p>The Chainlink mainnet officially went live on May 30th (after <a href="https://github.com/smartcontractkit/audits/tree/master/reports">three independent security audits</a>) with just three security reviewed node operators (<a href="https://chain.link/">Chainlink</a>, <a href="https://linkpool.io/">LinkPool</a>, and <a href="https://fiews.io/">Fiews</a>). For most of 2019 there was just a single price feed reference contract that aggregated the ETH/USD market price every five minutes (update frequency later adjusted). While the chainlink network was technically live on the Ethereum mainnet, you could think of it more as an extended testing period as the Chainlink team carefully analyzed the reliability and security of their sole Aggregator smart contract (also <a href="https://github.com/smartcontractkit/audits/blob/master/reports/SigmaPrime%20-%20Chainlink%20ConversionRate%20Security%20Review.pdf">audited</a>) before they began expanding to include a wider array of different oracle networks.</p><p><em>Before you can run, you must first learn how to walk, especially when your value proposition is building new infrastructure that facilitates trust. Similar to raising a child, nurturing the early outgrowths of trust in the network is crucial to forming a foundation that can support long term success.</em></p><p>Over the course of the second half of 2019, the team successfully scaled the ETH/USD price feed from just three initial nodes (and three data sources) to their stated goal of 21 independent, security reviewed, and Sybil resistant nodes (and ten data sources) with zero issues or downtime. This proved that not only does Chainlink have scalable security but it can do so in an elegant manner wherein developers don’t have to redeploy the entire Aggregator contract each time they want to add more nodes (or remove nodes). This flexibility is important as developers can choose and pay for the exact level of decentralization/security required for their smart contract today, while simultaneously having the capability of easily scaling that security up as needed as the value of that contract rises.</p><h3>ChainLinkGod.eth on Twitter</h3><p>The #Chainlink ETH/USD Reference Contract now has the same level of decentralization as the entire EOS blockchain; 21 nodes But since the contract resides on #Ethereum (thousands of nodes), it is much more censorship-resistant and immutable This is just the beginning folks 💹🚀 https://t.co/Hr2G4DcI5V</p><p>Since launch, the Chainlink ecosystem has grown substantially from just three nodes to over 27 security reviewed nodes that are live today feeding off-chain data to the 29 various<a href="https://feeds.chain.link/"> Chainlink Price Reference Data</a> contracts currently being consumed by several Ethereum mainnet DeFi protocols such as <a href="http://synthetix.io/">Synthetix</a>, <a href="http://loopring.org/">Loopring</a>, <a href="http://ampleforth.org/">Ampleforth</a>, and <a href="https://aave.com/">Aave</a>. This means that Chainlink Oracle Networks are already securing over $150M worth of collateral locked in the above DeFi projects (now over $740M with the addition of <a href="https://www.coindesk.com/crypo-lender-celsius-taps-chainlinks-price-oracles-for-interest-rate-decentralization">Celsius</a>). Oracle security is absolutely paramount for contracts that lock up and direct user funds. Without a secure oracle solution, DeFi protocols would be putting users’ collateral at risk of loss by malicious actors manipulating the oracle system that delivers the data that triggers and ultimately determines the action a smart contract takes. As the saying goes, “garbage in, garbage out.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OdGlTu06iymlkx9OCtC_EA.jpeg" /><figcaption>The oracle networks powering these DeFi protocols can be discovered at <a href="https://feeds.chain.link/">feeds.chain.link</a></figcaption></figure><p>There are also 100+ independent community nodes listed on the open marketplace <a href="http://market.link/">market.link</a>. There are also 21+ Chainlink-connected data sources and 23 Chainlink-powered dApps on the API marketplace <a href="https://honeycomb.market/">honeycomb.market</a>. The pace of growth has been nothing short of mind-blowing and showcases a real demand by smart contracts to be connected to external sources of data (usually market prices) from outside the blockchain (off-chain) which is securely and reliably delivered to the smart contract by time-tested and security-hardened oracle networks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d8JqAgFf23KOGzehnGIh6w.png" /><figcaption>Chainlink Market was created by <a href="https://linkpool.io/">LinkPool</a> and can be found at <a href="https://market.link/">market.link</a></figcaption></figure><h3>LINK Token Usage</h3><p>While these decentralized oracle networks are vastly more secure and even cheaper than trying to develop and run your own centralized oracle system, the current costs of Chainlink oracle networks is still quite real and primarily falls into two buckets. Firstly, there are the costs associated with paying oracle nodes in the <a href="https://github.com/ethereum/EIPs/issues/677">ERC677</a> token LINK to access their off-chain data/APIs/compute. Secondly, there are the gas costs which are paid in the native currency of the Ethereum blockchain, ETH, each time an on-chain transaction is created. Specifically, ETH is needed when requesting data and when nodes deliver and aggregate such data.</p><p>As to why Chainlink needs its own token, I wrote about it in a thread <a href="https://twitter.com/ChainLinkGod/status/1198447052394360832?s=20">here</a> and The Crypto Oracle wrote about it <a href="https://medium.com/@The_Crypto_Oracle/the-seven-requirements-for-a-viable-decentralized-oracle-network-e634710ea11f">here</a>. In short,</p><ul><li>It enables <a href="https://github.com/ethereum/EIPs/issues/677">TransferAndCall </a>functionality (allows requesters to send LINK payments and request data from nodes in a single transaction)</li><li>Isolates the security and economics of the overall network from unrelated external factors (incentives are aligned by having active nodes hold a share of the network and prevent security from being fragmented into many disparate networks)</li><li>Forces nodes to have “skin-in-the-game” (LINK will be staked by nodes as collateral which can be slashed for malicious behavior or non-performance)</li><li>Allows the Chainlink team to subsidize early oracle networks to make sure operating a node in the early days of the network is economically feasible (solving the chicken or egg problem of building a new network)</li></ul><p>The amount of LINK paid to nodes for their off-chain data depends on the value of the contract being triggered, the use of free/paid APIs, what rates the nodes are willing to accept, and what the requester is willing to pay. Thus, before a network can be established, a price equilibrium needs to be found. The LINK payments need to be high enough to prevent bribery attacks, but low enough to be economically sustainable in the long term. This cost is unique for every integrating contract and oracle network and should be evaluated on a case by case basis.</p><p>For example, each node feeding data to the decentralized <a href="https://feeds.chain.link/eth-usd">ETH/USD</a> (21 nodes) and <a href="https://feeds.chain.link/btc-usd">BTC/USD</a> (20 nodes) price reference networks are paid quite handsomely at 0.333333333333333333 LINK per data feed, which has an update frequency of every twenty minutes (or a 0.5% deviation from last update). This amounts to ~7 LINK in total to update just one price feed network. This means a node that delivers data to just one of these price networks is currently paid ~8,760 LINK per year ($40k at current prices) and double that if the node is delivering data to both (ETH and BTC) price feed networks. This puts the total LINK cost of securing just one of these price networks at ~180,000 LINK per year (Over $800,000 at current prices) and double that for securing both networks. These numbers are calculated using worst case scenarios where feeds only update every twenty minutes and volatility is never above 0.5% within that time period (which is unlikely so nodes are actually paid more than this).</p><p>The parameters above have since been updated from when I initially wrote this article. As of April, the ETH/USD and BTC/USD feeds (now both 21 nodes each) update at every 1% deviation threshold since the last update and a heartbeat of every two hours. Node payments have also been bumped up to 2 LINK per node per update per data feed. This means node income is now more variable as these networks will trigger updates (and node payments) still incredibly often during times of high volatility, but much less often during times of low volatility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bFNFI0MYF1xGbUtfA-DoRg.png" /><figcaption><a href="https://feeds.chain.link/eth-usd">ETH/USD</a> price reference feed</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AQ9yqWwEbZWTBwC9O9ZzyA.png" /><figcaption><a href="https://etherscan.io/tx/0xdfe60bc0ca8ed2639173ef4f6db446c9aafb8f72a75c2998f763ccc226aac7fe">Example of a transaction</a> requesting an update for the above ETH/USD price network</figcaption></figure><p><em>It should also be noted that, down the line, the amount of tokens paid to each node operator can vary depending on a predetermined function (e.g. first nodes to respond get paid the most), and/or be pegged to a certain dollar amount of LINK tokens (e.g. $0.30 of LINK paid per node for each update) by leveraging a LINK/USD price feed network.</em></p><p>These LINK payment expenses to nodes are required to prevent bribery attacks (ETH and BTC price feeds are high value targets) as nodes who try to cheat would immediately get removed from that price feed (and likely all price feeds they currently feed data to, not just the one attacked). This would amount to losing out on all future revenue, which as demonstrated above, is quite a substantial amount. Such an attempted attack would also destroy a node’s reputation making any chance of them earning more money in the Chainlink ecosystem essentially impossible. Proof of the node’s malicious activity is immutable and forever viewable on-chain or on the <a href="https://explorer.chain.link/">Chainlink explorer</a> by anyone. If they wanted to rejoin the network and make any revenue, they would have to create a brand new node and build their reputation all over again from scratch.</p><p>Potential attackers would have to convince not just one node to take on this monumental risk but at least 50% of the nodes in an oracle network (since the current Aggregator takes the median). This becomes more and more improbable (and expensive) too the more nodes that are added to a particular network (and the more each node is paid). These nodes would not want to lose out on such a lucrative revenue stream (i.e. payments in LINK and price appreciation of that LINK) for an insignificant bribe especially in the early days of the network. Many of these node operators are also public-facing businesses that offer other services to their customers (PoS validator pools, NaaS infrastructure, etc). Thus, their reputation determines not only their revenue in the Chainlink network, but for all other networks they currently serve. Additionally, node operators could be held legally responsible for their malicious actions as oracle manipulation is already illegal in traditional financial markets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*8SgouVJXzHT-4--DaosLKw.png" /><figcaption>As the value of the contract increases, the security of the oracle network also needs to rise</figcaption></figure><p>The LINK spent on these networks is a big reason why these <a href="https://feeds.chain.link/">Chainlink Price Reference Contracts</a> are currently the most secure oracle networks on the market. The cryptoeconomic incentives heavily favor honest nodes as dishonest nodes will lose most, if not all, future revenue in the Chainlink economy. In order to raise the security of an oracle network, the creator/requester could take a combination of multiple paths: they could require each node to stake some amount of LINK as collateral which gets slashed if the node responds with outlier/faulty data or not at all (currently still in development), they could pay the nodes more LINK per request, and/or they could add more nodes to their oracle network to increase both the liveness and security guarantees. All of these methods increase the cost of bribery/collusion attacks, making the oracle network more dependable for the consuming smart contracts.</p><p>To sum it up, the LINK paid to nodes operators in each oracle network directly affects the level of security for such a network. While some of the payment is used by nodes to subsidize the ETH gas costs associated with creating on-chain transactions in response to data requests, most of it is pocketed by the nodes as profit. This profit incentive mechanism ensures nodes act honestly in delivering data and do not succumb to bribes. If you are looking to reduce costs of your oracle network, but keep security at the same level (or higher), reducing the amount of LINK paid to nodes is generally not the way to go.</p><h3>Sharing the Costs</h3><p>One way to mitigate these LINK payment costs is to have many projects contribute and support a common oracle network (like the ETH/USD reference feed). In this regard, the total payment to nodes remains the same, but the cost borne by each individual project goes down (while maintaining the same level of oracle security). Each project now only has to contribute a fraction of the overall funds required to run the network securely. These shared networks effectively become a public good available to any crypto project or smart contract developer, as no one project could support such a highly decentralized oracle network that’s sufficiently funded on their own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jj_YtOVdID76E221Aq1eGw.png" /><figcaption><a href="https://decrypt.co/17652/chainlink-has-three-big-reasons-to-feel-good-about-2020">Recent Decrypt article</a> where Sergey spoke about how oracle networks can become a public good</figcaption></figure><p>If a project wanted to create a proprietary and isolated price feed, specifically to prevent freeloading of the oracle network they support, they could setup and fund their own oracle network using a whitelist-supported Aggregator contract (in development). In such a model, only pre-approved on-chain contracts can query the Aggregator for its latest/historical data. This is possible as Chainlink is a framework for building/connecting to any kind of oracle network. What works for one project, may not for another; this flexibility is key and is one of the killer features of Chainlink.</p><p>By designing oracle networks as public goods that are shared by many projects, the per-node LINK payment costs are reduced, as the costs are spread amongst each individual project without lowering the oracle network’s overall security. But this isn’t the only area where efficiencies can be made in regards to reducing the upkeep costs of an oracle network. We also need to examine the ETH used to pay for Ethereum transactions.</p><h3>ETH Gas Payments</h3><p>Every time you want to make a transaction on the Ethereum network, you need to pay for the costs associated with how much computational effort miners need to endure in order to process and verify that transaction (this is to protect against DDoS and spam attacks). The more complex a transaction is the more gas that’s required. A simple ETH transfer costs only 21,000 units of gas, while a more complex smart contract operation may cost up to 10,000,000 gas (current gas limit of a single Ethereum block). Every individual transaction has a gas limit, which the sender determines by setting a maximum limit on how much gas a transaction is able to consume.</p><p>The user initiating the transaction also chooses the gas price they are willing to pay, denominated in Gwei, for each unit of gas consumed (1 Gwei = 0.000000001 ETH). So while the gas used in a transaction is always fairly static, the gas price you need to pay for each unit of gas can change as the Ethereum network as a whole gets more or less congested (Remember the CryptoKitties craze in late 2017?). If you want your transaction to be processed and confirmed within a timely manner, you will have to pay a higher gas price as miners prioritize transactions with the highest gas price first. Miners can only fit so many transactions in a single block and ultimately want to maximize their profits. Essentially, Ethereum is a decentralized computer with limited bandwidth where users can pay more for better access to quicker bandwidth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UPVkGy2sf3jZaWebg9_YSw.png" /><figcaption>Current gas price estimation of a simple ETH transfer from <a href="https://ethgasstation.info/">EthGasStation.info</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZkZq1IYl984759IWAL1hyg.png" /><figcaption>21,000 gas * 8 Gwei (0.000000008 ETH) = 0.000168 ETH paid in fees for a simple transfer of ETH</figcaption></figure><p>Currently, the Chainlink protocol is the third highest consumer of gas in the Ethereum network (can also be thought of as the third highest consumer of Ethereum blockspace). This is just behind <a href="https://dydx.exchange/">dYdX</a> (a margin trading DEX) and the stablecoin <a href="https://tether.to/">Tether USDT</a> (used for value transfer/arbitrage across cryptocurrency exchanges). While Chainlink having this high level of gas consumption is considered bullish to many (as it shows real network usage), it is also one the major factors that contribute to the current costs of running and maintaining Chainlink oracle networks (these costs are borne by both requesters and responding node operators). The ultimate goal is to increase usage, while decreasing the amount of gas consumed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ub6z0PwXy-C3vyx3x_F43w.png" /><figcaption>Chainlink is the third highest gas consumer according to <a href="https://ethgasstation.info/">EthGasStation</a></figcaption></figure><p>Understanding the basics of Ethereum gas is needed to understand where most of the current costs of maintaining a Chainlink oracle network originates from. The gas required for requesting an update of an on-chain Aggregator contract (for say a price feed) from an oracle network increases linearly the more nodes that need to be pinged for their data. For example, back when the ETH/USD price feed featured only three nodes, an update request transaction cost 378,440 gas (~$2.04 at 20 Gwei gas price), while today with 21 nodes in the network it costs 2,374,048 gas (~$12.82 at 20 Gwei) to initiate an update. This is already 23% of the available bandwidth in a single Ethereum block!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qxMdbFsDXWKH9aVcWintmA.png" /><figcaption>Gas consumed in each update request transaction for the current <a href="https://feeds.chain.link/eth-usd">ETH/USD</a> price feed</figcaption></figure><p>Besides the gas costs associated with requesting an update from an oracle network, there are also the costs each responding node incurs when responding back on-chain with their data. Some nodes may also have to perform and pay for on-chain data aggregation (and update the trusted answer) if the minimum number of responses (a predetermined threshold) has been reached for that particular update round. For the ETH and BTC price feeds, the minimum threshold to start aggregating is after 14 responses (later lowered to 9). This currently costs anywhere from 42,204 gas per response (~$0.23 at 20 Gwei) if aggregation doesn’t need to be performed, all the way up to 144,776 gas per response (~$0.78 at 20 Gwei) if on-chain aggregation needs to be performed. These gas costs scale linearly with how many nodes were pinged for their data (more nodes = more response transactions).</p><p>500,000 is the default gas limit set per response transaction by Chainlink nodes. This prevents malicious data requesters from having nodes respond to a malicious contract that tries to drain as much of a node’s ETH funds as possible by performing needlessly complex operations, yet still leave enough gas to allow for the aggregation of many data points. This can also save on gas costs as miners are more picky on transactions that have a high gas limit since those take up a larger percentage of any given block. 500,000 is the optimal amount sitting right in that comfortable <a href="https://en.wikipedia.org/wiki/Goldilocks_principle">goldilocks zone</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2zRhaDk6SKsPJuYa26VBbQ.png" /><figcaption>Gas consumed by one of the last responding nodes in the <a href="https://feeds.chain.link/eth-usd">ETH/USD</a> price feed that aggregates the data (median using quickselect algorithm) from the previous responses in a round into a single trusted answer</figcaption></figure><p>Due to these gas costs (both request and response transactions), the current Aggregator contracts that lie at the heart of every currently live chainlink network can only support a maximum of 45 nodes before encountering gas consumption issues. While 45 nodes are still vastly more secure than a centralized oracle network with only a single node, if they want to eventually secure contracts that are valued in the billions, if not more, then they are going to need to bring these costs down multiple orders of magnitude to enable support for more nodes in a single network. Ethereum’s blockspace is not infinite and if we expect a plethora of heterogeneous oracle networks live at any single given point of time, then ultimately efficiencies need to be made. This is exactly what the Chainlink team has been working on mitigating for quite some time now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1C2VbLhWmyUinFGdTqS9Tw.png" /><figcaption><a href="https://github.com/smartcontractkit/audits/blob/master/reports/SigmaPrime%20-%20Chainlink%20ConversionRate%20Security%20Review.pdf">Sigma Prime security audit</a> of the original Aggregator contract, the block gas limit values are outdated now, but the methodology/reasoning is the same</figcaption></figure><h3>Temporary Cost Saving Measures</h3><p>A simple way of mitigating some of these LINK payment and ETH gas costs is to change the rate at which oracle networks update. This is a direct trade-off of latency vs cost, but could be customized for each oracle network depending on demand. The <a href="https://feeds.chain.link/eth-usd">ETH/USD reference feed</a> launched in May updated every five minutes (288 times a day), but was later reduced in November to every ten minutes (144 times a day). This cut costs in half (half as many LINK payments, half as much gas consumed), but also increased latency by twice as much. Around this time, the <a href="https://feeds.chain.link/btc-usd">BTC/USD reference feed</a> launched and was also set up to update every ten minutes. In February of this year, the BTC/USD and ETH/USD reference feeds were extended again to update every 20 minutes and at every 0.5% deviation from the last update (minimum 72 times a day but could be more depending on volatility).</p><p>In April of this year, these same reference feeds were adjusted to update every two hours and at every 1% deviation from the last update. Payments were also bumped up from 0.33333333333333333 to 2 LINK per node per update. As stated before, these oracle networks will update more often during times of high volatility and less often during low volatility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nqewtkrPfnymlvs74FtdFA.png" /><figcaption>Github commit changing the update frequency</figcaption></figure><p>While not the most optimal long-term way to scale, this was a quick and easy way to temporarily cut down on-chain costs and create more economically sustainable oracle networks that are being supported by the Chainlink team. This is just the first of many optimizations rolling out to reduce the overall expenses of oracle networks.</p><h3>Chainlink Nodes and Gas Prices</h3><p>Another obvious way to save money on Ethereum transactions is to lower the gas price used. By default Chainlink nodes set the gas price of their response transactions to 20 Gwei and if it doesn’t confirm within 12 blocks (~2.6 minutes as blocks are every ~13 seconds), then the transaction is bumped with a gas price 5 Gwei higher. It repeats this process 10 times or until the transaction confirms. If after 10 gas bumps the transaction has yet to be confirmed, then the node considers the job run a failure (ideally this would never happen). All of the above variables are 100% customizable by the node operator and can be set to any arbitrary value. While most of these variables have to be set before starting the node, the default gas price used for transactions can be updated in real-time as the node is running.</p><p>While transactions usually confirm quickly with no issue, this method causes nodes to often way overpay as the Ethereum network is *usually* not congested enough to justify paying such a high default gas price. This wastes the node operator’s ETH funds and ultimately digs into their profits. For example the gas price to confirm a transaction within one block may only be four Gwei, but the Chainlink node (by default) still sets the gas price to the value held in its database (initially set at 20 Gwei), this causes the node to overpay five times over what it actually needed to.</p><p>In order to mitigate this issue, Chainlink integration engineer Thomas Hodges created the <a href="https://github.com/thodges-gh/cl-gas-updater">Chainlink Gas Price Update Service</a> that node operators can run locally on the same machine as their node. This module automatically fetches the latest gas price from multiple gas reporting APIs (default is <a href="https://ethgasstation.info/json/ethgasAPI.json">EthGasStation</a>, <a href="https://api.anyblock.tools/latest-minimum-gasprice">Anyblocks Analytics</a>, and <a href="https://gasprice.poa.network/">POA network</a> but node operators can choose which APIs they want), and updates the Chainlink node with the max “fast” value of the endpoints every minute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*irQOCkRf_Sq08kWaa4mMrw.png" /><figcaption>Chainlink nodes are now much more efficient at setting their gas prices to match current network congestion</figcaption></figure><p>By leveraging this gas updater module, Chainlink nodes can always know what gas price they need to set to ensure their transaction goes through in a timely manner while not overspending their funds needlessly. The Chainlink team is working on building this feature natively into the Chainlink node itself, designed in such a way that there aren’t any dependencies on external gas estimator APIs. This makes the overall gas price estimation process of each node much more accurate and censorship-resistant. While it’s unlikely that all three default independent gas estimator APIs are DDoSed, hacked, or compromised at the same time, it’s not an impossibility, so having the Chainlink node calculate gas prices internally, using data from its connected Ethereum node, is much safer (multiple Ethereum nodes are connected behind a load-balancer for redundancy).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZAlnyGBv7Wv7D-j5-qFDIQ.png" /><figcaption>Story on the public <a href="https://www.pivotaltracker.com/n/projects/2129823">Chainlink Pivotal Tracker</a></figcaption></figure><p>While this solution lowers some of the costs associated with paying gas for Ethereum transactions, this isn’t enough to scale Chainlink to the security level required by high value smart contracts (ones that would power entire industries: Insurance, Trade Finance, Derivatives, etc). But don’t worry, the Chainlink team isn’t asleep at the wheel, far from it, and in-fact right now there are a few major developments in the works that will largely solve these gas consumption problems.</p><h3>Data Request Optimizations</h3><p>A significant portion of the gas used in Chainlink networks can be eliminated entirely by never making any request transactions in the first place! This is possible with the new <a href="https://github.com/smartcontractkit/chainlink/blob/develop/evm-contracts/src/v0.6/dev/PrepaidAggregator.sol">Prepaid Aggregator smart contract</a> the Chainlink team has been developing silently since mainnet launch (note, still in development and no public audit yet). This is a much more flexible and upgraded version of the Aggregator v1 smart contract that is currently in use by all Chainlink networks today (Aggregator v1 is audited and time-tested).</p><p>How it works is largely in the name, instead of a requester having to make a specific on-chain transaction each and every time they want a data update, they can instead prepay ahead of time by loading the contract with enough LINK tokens (how much is up to the requester and depends on a multitude of factors). More LINK tokens can be added to the contract at anytime by anyone. The Chainlink nodes in the network then autonomously trigger new update rounds, push their data to the contract, and aggregate the data all on a predetermined basis with no further input needed from the requester.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9oPSJ24A6dxAlq8TteyXIA.png" /><figcaption>Initially called the “PushAggregator” it was renamed to the “PrepaidAggregator” and then after writing this article renamed as the “FluxAggregator”</figcaption></figure><p>These predetermined update parameters can be based on a time schedule (e.g. every 10 minutes), on a deviation threshold (e.g. every 0.5% price deviation since previous update), or a mixture of the two (e.g. every 1% price deviation or 2 hours since last update). This feature is enabled by what the team calls the “Flux Monitor.” Each node would run its own Flux Monitor module (integrated into the Chainlink node natively), this way a new round of updates can be initiated by any node in the network.</p><p>All nodes would run their Flux Monitor in the background which would, on a predetermined interval (e.g. every minute), check if a specific threshold/trigger has been met, and if it has, initiate a new round of updates and deliver their data on-chain. Nodes would also continuously monitor the on-chain contract to see if any other node in the network has already initiated a new round of updates, in which case it would fetch the desired off-chain data, feed it into the contract as usual, and perform aggregation if needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hZGviYluJjdiNZKbFjFUGw.png" /><figcaption>Product Manager Johann Eid explaining the Flux Monitor in the <a href="https://github.com/Synthetixio/synthetix/issues/293">Synthetix-Chainlink integration thread</a></figcaption></figure><p>The Prepaid Aggregator contract and the Flux Monitor go very much hand in hand, each not being possible without the other. Additionally, this combination also greatly increases the censorship-resistant nature of Chainlink oracle networks as any node in the network can initiate a new round of updates, instead of just the single requester having that capability. DDoSing/censoring the requester would achieve nothing after they&#39;ve already setup and loaded the contract with LINK. This makes Chainlink oracle networks much more autonomous and fault-tolerant overall.</p><p>Trying to perform the same DDoS attack on a distributed/decentralized network of Chainlink nodes becomes increasingly more difficult/impractical the higher the number of nodes in the network (if not being completely impossible due to how nodes are security hardened: e.g. inbound ports closed or IP-locked, denying unauthorized connections, only making external connections as needed). This creates an oracle network that is incredibly resilient to failure and capable of withstanding a much wider array of attacks.</p><p>The Prepaid Aggregator also contains many additional quality-of-life upgrades and new security features which greatly benefit both smart contract developers and node operators alike. This includes gas-optimised variable sizes and contract logic, improved readability (and thus auditability), <a href="https://github.com/smartcontractkit/chainlink/blob/develop/evm-contracts/src/v0.5/Median.sol">isolated aggregation logic</a>, increased transparency with additional getter methods, optional contract whitelisting for data access control, increased security for LINK withdraws through key hierarchy, and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bl0pnu0N0tLSPp3ySczMyQ.png" /><figcaption>Some of the relevant stories in different stages of development</figcaption></figure><p>The Prepaid Aggregator contract will likely end up becoming the de facto standard aggregator contract that will sit at the core of many Chainlink oracle networks, autonomously coordinating node activity and consensus. The contract will eventually become time-tested (and audited of-course) just like the current v1 Aggregator contract is today, and due to the flexible, compossible, and upgradable nature of the Chainlink framework, many more aggregation contracts/strategies can be created (by anyone) as a template or as a specialized contract that can meet any project/dApp’s exact aggregation, security, and off-chain data needs.</p><p>The Prepaid Aggregator contract will substantially lower gas costs for the requester (from consuming millions of gas per request to literally zero), but the added complexity in the aggregator contract logic will slightly increase the gas costs experienced by Chainlink nodes when they respond with their data on-chain. Due to this, the Prepaid Aggregator can only handle a maximum of 42 nodes (just slightly lower than the 45 nodes maximum of the Aggregator v1 contract in use today).</p><p>While 42 independent oracle nodes is still much more decentralized and secure than what a centralized oracle with only a single node can offer, gas costs still prevent Chainlink networks from scaling to the level required by high-value smart contracts which will want hundreds if not thousands of independent nodes in their oracle network feeding data to and triggering their contract logic. The Chainlink team have long recognized this issue (in the whitepaper), and have been working on a very key development that will largely alleviate this issue entirely.</p><h3>Data Response Optimizations</h3><p>In Chainlink oracle networks today, each time there is a data update request, every node in the network has to create their own on-chain transaction to contribute their data to the aggregator contract with aggregation being performed on-chain. As demonstrated in the sections above, this can be incredibly inefficient since the gas costs increase linearly with the number of nodes in a network. This method of on-chain aggregation will always have an upper bound on the maximum number of nodes that can be supported in a single oracle network.</p><p>To overcome this, Chainlink nodes can instead connect and coordinate off-chain (current plan is to use the <a href="https://libp2p.io/">libp2p networking</a> stack) and achieve consensus among a majority of the nodes without needing to perform any expensive on-chain transactions to create the final aggregated data point. In order to prove that consensus was achieved off-chain, nodes sign the data and combine their signatures into a single <a href="https://blog.chain.link/threshold-signatures-in-chainlink/">Threshold Signature</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uouJpMIYJaqprJs7YPmwuw.png" /><figcaption>Abstract from the <a href="https://blog.chain.link/threshold-signatures-in-chainlink/">“Threshold Signatures in Chainlink”</a> blogpost</figcaption></figure><p>The result is that oracle networks now only have to create a single response transaction to update an on-chain contract with off-chain data. This transaction contains the final aggregated data point and a single threshold signature that proves the data was aggregated and signed by a majority threshold of nodes in the network. The threshold of nodes needed to create a complete threshold signature is determined beforehand and can any fraction of the network (e.g. 2/3, 4/5 of nodes). By having only a majority (not all) of the nodes in the network come to consensus, this avoids any issues related to stubborn/unresponsive nodes holding up progress.</p><p>Only a single node in the network needs to create the response transaction (usually the node that completed the threshold signature) leading to huge reduction in the amount of gas consumed in an oracle network overall. Nodes don’t need to stock up on nearly as much ETH as the probability of needing to make an on-chain transaction goes down the higher the number of nodes in a network. Additionally, the cost for verifying a threshold signature on-chain is extremely cheap at only 15,000 gas! This puts the total transaction cost at 36,000 gas (21,000 base gas cost + 15,000 gas for threshold signature logic). This low cost signature verification is achieved by taking advantage of the <a href="https://ethresear.ch/t/you-can-kinda-abuse-ecrecover-to-do-ecmul-in-secp256k1-today/2384">ECRECOVER trick discovered by Vitalik Buterin</a>.</p><p>The most fundamental advantage gained through a threshold signature model is turning a linear cost into a static cost. This breaks the upper bound that was previously limiting how many nodes could operate in a single oracle network. With threshold signatures, any arbitrary amount of nodes can achieve off-chain consensus while only one node needs to push a single on-chain transaction (containing the data point) on the behalf of all nodes. The data point pushed on-chain will only be accepted if the threshold signature is verified to be valid (proves a certain threshold of nodes signed off on the data point) preventing any single point of failure. This means Chainlink networks will scale completely independently of Ethereum’s throughput (or the throughput of any blockchain as Chainlink is blockchain agnostic).</p><p>Decentralized oracle networks comprised of hundreds to thousands to virtually any arbitrary number are now not only possible from a technical perspective, but also from an economic perspective as well. As a requester, you can now pay nodes less LINK while those nodes still make the same exact profits (or more) as they no longer have to constantly make expensive on-chain transactions. This drastically decreases the marginal cost of adding new nodes to an oracle network, enabling a diverse and rich ecosystem of heterogeneous oracle networks, all at varying levels of decentralization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*ETXziEJue7b46QBRFuUong.png" /><figcaption>Some of the Threshold Signature Networking stories on Chainlink’s <a href="https://www.pivotaltracker.com/n/projects/2129823">public pivotal tracker</a></figcaption></figure><p>An easy way of thinking about it is that the oracle network is essentially batching all the node’s response transactions together into just a single transaction, which is verified by a single threshold signature. This means the efficiency of Chainlink oracle networks goes from O(n), with n being the number of nodes, to O(1). An update of an oracle network with 21 nodes (ETH/USD price feed), would go from 21 on-chain response transactions (from each node), to only one single response transaction.</p><p>If it seems like I am repeating myself, I’m just trying to drive the point home, the advantage of threshold signatures cannot be understated. While 42 nodes are the maximum supported in the prepaid aggregator contract, off-chain aggregation using threshold signatures enables an unbounded number of nodes in a network! Not only can Chainlink oracle networks become massively more decentralized, but they become much cheaper at the same time. Leveraging Chainlink oracle networks will become economically feasible for projects at any stage of development/funding. If you want to understand the more nuanced points of threshold signatures or want to verify the math for yourself, Chainlink researcher Alex Coventry wrote a <a href="https://blog.chain.link/threshold-signatures-in-chainlink/">very informative article</a> that crypto geeks will enjoy.</p><p>As of late March, Coventry posted an update regarding Threshold Signature’s development that the team was moving from Schnorr Signatures to BLS Signatures which will greatly reduce complexity and enable much larger signing groups. Off-chain communication efficiency has been lowered from the cube of the number of participants O(n³) to being linear O(n) (assuming the threshold number is roughly a constant proportion of the total participation group). On-chain gas costs for BLS signature verification will be slightly higher than Schnorr, but will still have a transaction efficiency of O(1) and actually lower costs for all participating nodes even further due to enabling much larger signing groups.</p><h3>ChainLinkGod.eth on Twitter</h3><p>🚨 Update on Threshold Signatures 🚨 Moving from Schnorr to BLS Off-chain communication efficiency has been lowered from the CUBE of number of participants O(n^3) to being LINEAR O(n) On-chain gas costs are slightly higher, but still have an TX efficiency of O(1) $LINK $ETH</p><h3>Total Costs Saved</h3><p>With the above developments, supporting a Chainlink oracle network will become vastly cheaper and accessible to blockchain developers everywhere. Let’s see how much in gas is potentially saved by comparing the costs of running the <a href="https://feeds.chain.link/eth-usd">ETH/USD</a> reference feed today to how much it would cost when leveraging some of the above mentioned features. To keep things simple, I will assume each transaction is submitted with a 10 Gwei gas price (seems to be the current average).</p><p>Currently, it costs about 2,374,048 gas ($6.41) to request a price update from a network of 21 oracle nodes. With the Prepaid Aggregator contract, this would cost 0 gas ($0.00)! As stated before, this is because the new aggregator contract requires no request transactions to ever be made, effectively enabling infinite gas cost savings in this regard.</p><p>Currently, the cost from all 21 nodes responding with data back on-chain is 1,358,377 gas ($3.67), with an average cost of 64,684 gas per node ($0.17). With Threshold Signatures, the response from all nodes when batched together off-chain, leads to a static cost of only 36,000 gas ($0.09). With 21 nodes, this leads to an average per node cost of just 1,714 gas ($0.004)! This is a cost reduction of 37x.</p><p>Putting it all together, the total gas costs spent on a single update of the ETH/USD price reference feed from 21 nodes went from 3,732,425‬ gas ($10.07) to just 36,000 gas ($0.09)! This is a cost reduction of 103x.</p><p>If we scale things up to the maximum number of nodes allowed in the Aggregator v1 contract (45 due to gas consumption limitations), the total gas costs of a single update would go from ~10,000,000 gas ($27.00) to again just 36,000 gas ($0.09), leading to an average per node cost of just 800 gas ($0.002)! This is a cost reduction of ~277x.</p><p>Thanks to the Prepaid Aggregator and Threshold Signatures, an oracle network made up of 10,000+ nodes would still only cost 36,000 gas ($0.09) per update, which is an average per node cost of just &lt;3.6 gas (&lt;$0.000009)! The gas cost savings per node increases as the number of nodes in the oracle network increases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*_pGj3DixmBImxcAl_HWWdA.gif" /><figcaption>After taking it all in</figcaption></figure><p>It’s important to note however now that with Threshold Signatures being implemented with BLS signatures instead of Schnorr signatures, the gas consumption savings will be slightly lower, but will still offer a substantial cost savings now that signing groups can be made much larger with lower off-chain communication latency and bandwidth requirements. BLS based Threshold Signatures similarly offer a static transaction efficiency of O(1) no matter how many nodes are in the signing group.</p><p>Remember that these numbers are just what is spent on gas, but since the gas costs experienced by each node are now much much lower, nodes can be more competitive and accept a lower LINK payment per data request while at the same time the overall volume of the chainlink ecosystem will be increasing, so nodes will also be making up those costs on volumes if not profiting more than before. These cost savings trickle down the end-users of the consuming contracts/dApps.</p><h3>Wrapping Up</h3><p>So while today Chainlink oracle networks can be quite expensive to maintain, this will not be the case for forever. Using a public good model, adjusting the update frequency, using a gas price estimator, Prepaid Aggregator contract, Flux Monitor module, and Threshold Signatures are all strategies that the Chainlink team are deploying/developing that will massively alleviate these growing pains.</p><p>It should be noted that in this article, I limited the scope to only talking about Chainlink’s own network scalability and not about how Chainlink can scale other Smart Contracts through attested off-chain computation using Arbitrum, Trusted Execution Environments, Zero Knowledge Proofs, Mixicles, and more. I also didn’t mention many of the little improvements that have been made here and there to the Chainlink codebase over time, but instead focused this article on the major network-wide upgrades that will dramatically increase scalability, lower costs, and enable a much more sustainable cryptoeconomic model for both nodes and the data-requesting contracts. This would be a never ending article if I tried to cover everything!</p><p>Hope your brain didn’t melt too much from trying to soak it all in, but now you see why I believe 2020 will be the year Chainlink scales.</p><p>Follow me on Twitter <a href="https://twitter.com/ChainLinkGod">@ChainLinkGod</a> where I fight the information asymmetry surrounding DeFi, Oracles, and Chainlink.</p><p><a href="https://twitter.com/ChainLinkGod">JavaScript is not available.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=371ce24b4f31" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>