• Skip to main content

Blockchain Weekly

Blockchain Weekly Tech Edition

  • Home
  • Arts & Culture
  • Comedy
  • Entertainment

David Shuttleworth

Oct 14 2022

Cosmos 2.0: Liquid Staking, Composable Security, and Redesigned Tokenomics

Summary

Cosmos is a Layer 1 blockchain that is designed to be resolutely interoperable and composable, and to allow seamless interactions between highly-divergent blockchains the operate in its network. Cosmos utilizes the Inter‐Blockchain Communication protocol (IBC), and easy to use Software Development Kit (SDK), and a general consensus mechanism, Tendermint, to build out the core infrastructure for blockchains to join the network without friction. The protocol has recently implemented a variety of new features, including liquid staking and a redesigned tokenomics framework to further develop the network, onboard new chains, and increase security.

Overview

Cosmos is a network of independent blockchains that are powered by a shared infrastructure, the Cosmos Hub, along with three core primitives that drive the network, namely the Cosmos SDK, IBC, and the Tendermint Proof of Stake (PoS) consensus mechanism. Each of these features enables developers to build on the network with minimal friction. Tendermint, for instance, is a generic consensus mechanism, which means that any developer in the space can use it to run their protocol rather than be required to build out their own instantiations. The Cosmos SDK is designed to be resolutely easy to use and allows developers to build custom blockchains using Cosmos’ prebuilt templates or bespoke modules. Finally, IBC is a universal interoperability module that lets different chains communicate and interact with each other, which means that they can perform functions like sending different non-native assets and establishing finality in a secure manner.

The Cosmos Hub leverages these primitives and serves as the base layer for the network, enabling other independent blockchains to join and deploy their own protocols. Each blockchain that runs on the Cosmos Hub retains its autonomy, but remains interconnected with the rest of the system, allowing for less friction when communicating cross-chain. This design allows Cosmos to preserve sovereignty for each blockchain while simultaneously facilitating powerful interoperability throughout the system. 

The core vision of Cosmos since its inception was to develop a network of interconnected blockchain applications that exist independently while retaining intrinsic interconnectedness and the ability to seamlessly interact with one another. In other words, Cosmos seeks to build the internet of blockchains. Today, this much of this vision has been realized. Many different blockchains, each with their own unique functions and features, have spun out of the Cosmos Hub, including the Binance Chain which serves the world’s largest centralized exchange, the recent addition of the popular derivatives protocol dYdX as well as the ill-fated Terra chain. There are now 74 applications that run on the Cosmos network with a combined total marketcap of nearly $60B.

The next step in the Cosmos roadmap is to cultivate a resilient, self-sustaining economy. The path towards this goal leverages the Cosmos Hub to further build out key infrastructure to support the growth and development of native applications and create new use cases for interchain coordination. A core focus of this initiative is to provide infrastructure services whose utility scales with network adoption. That is, as the network grows, so too does its underlying utility.  

Source: Atom 2.0

To this end, Cosmos is deploying a liquid staking mechanism to enable more capital efficiency and the rehypothecation of $ATOM, the protocol’s native currency, and Interchain Security, an extension of Cosmos’ core security layer which enables more function, efficiency, and cooperation. Both of these features will sit above the Cosmos Hub and serve to create a new layer for secure economic scaling. Moreover, the protocol is developing other mechanisms such as the Interchain Scheduler and Interchain Allocator to further drive value between chains as well as optimizing maximal extractable value (MEV) and blockspace. Collectively, these new features will improve Cosmos’ ability to scale, lower barriers of entry into the system, and ultimately derive more utility for the different blockchains operating within the system. The Hub will move towards becoming a more robust, self-sustaining economy that can further drive the growth of the Cosmos network to integrate new blockchains and better serve existing ones.

Scaling the Cosmos Network: Current Limitations

One of the most powerful features of Cosmos is that it enables different protocols to launch their own chain on the network and retain sovereignty and autonomy, while simultaneously allowing for seamless inter-chain communication with other chains in the ecosystem. A fundamental limitation of this approach, however, is that each protocol is responsible for bootstrapping their own set validators to run their chain. So there is a significant barrier of entry for anyone looking to join the Cosmos ecosystem which also creates an inherent bottleneck around scaling.

Source: Atom 2.0

Cosmos is implementing liquid staking functionality and Interchain Security to overcome these challenges and scale efficiently. In short, Interchain Security removes the burden of security from each individual chain within the network enables chains to extend their validator set and staked collateral to secure additional chains on the Cosmos Hub. This creates an additional layer of utility and composability throughout the Cosmos ecosystem and unlocks scaling on the network. A core advantage of this approach is that any new project will be able to join the Hub and leverage pre-existing security from other members, allowing for a more seamless onboarding. It also serves to reduce fractionalized security as some blockchains can focus on security as a service while others are no longer beholden to these requirements.

Moreover, Cosmos’ liquid staking initiative allows $ATOM holders to stake their tokens to secure the network and earn rewards, but also to deploy their staked $ATOM to other purposes. This functionality also promotes more unified security as users can freely deploy their capital between different Cosmos chains without having their capital locked into a staking contract. Liquid staking and Interchain Security push Cosmos towards a much stronger infrastructure layer of security that other projects in the system can leverage to grow and develop. 

Liquid Staking: Reducing Fragmented Interchain Security

A general benefit of traditional staking in PoS systems is to allow participants to place an economic bond to provide security and settlement. Stakers have an economic incentive to stake in honest, performant validators, and are disincentivized to support poorly-performing or malicious validators by way of slashing. One shortcoming of staking as it’s currently composed is that it involves a significant opportunity cost. That is, stakers must forgo other potentially more valuable uses of their capital. So there is a constant tradeoff in capital deployment between network security and more optimal returns. Another issue is that once capital is indeed deployed to staking, it typically is confined to that native chain in which it has been deployed. This results on inherent constraints on that cross-chain composability and capital efficiency.

This is where the utility of a liquid staking primitive can be incredibly powerful. In its most general sense, liquid staking creates an additional layer of composability. Token holders can commit their resources to network security, but also have the ability to rehypothecate these same resources to pursue other opportunities.

Liquid staking, therefore, is a useful feature for Cosmos’ interoperable design as well as for the Interchain Security model itself. It not only allows participants already within the Cosmos ecosystem to extend the utility of their capital to other purposes, but also serves as an incentive for attracting agents beyond Cosmos to deploy capital to the network without completely locking their capital. Assets that utilize liquid staking can be easily exported across Cosmos and actively accrue staking rewards while composing with other protocols. This expands the utility of $ATOM within and beyond the native network. Without liquid staking, interchain growth is hindered by the constant conflict between staking or choosing to pursue other uses for $ATOM. Liquid staking eliminates this conflict and opportunity cost.

Interchain Security

A core function of Interchain Security is that it allows the Cosmos Hub to host a variety of applications with more seamless integration and less capital requirements. As a PoS chain, Cosmos builds security through staking. Token holders stake their $ATOM in validators that support the network and are at risk for sustaining the network in an honest, performant manner. Bad actors are punished through slashing. So there is an economic incentive to stake into validators that will behave accordingly.

So Interchain Security helps unify security across the Cosmos network, removing a previously highly-fragmented security, and makes the cost of attacking the network substantially more expensive. In addition, it creates a more cost-efficient method of security in comparison with requiring each individual chain to bootstrap and maintain their own set of validators. The end result is that chains on Cosmos now have the option to choose a path with much less frictionless, a less costly and less resource-intensive entry to market, and a way to accelerate innovation within the chain and beyond.

Interchain Security also creates a development layer that third parties can leverage to build out further utility for the Cosmos ecosystem. For instance, a protocol could create an optimistic rollup settlement mechanism that leverages the unified security layer similar to many Layer 2’s usage of Ethereum’s massive moat of security or a market for IBC relay contracts that aggregates all available relay providers to create a simple, cost-effective, and and more performant way of connecting blockchains in the network. Interchain Security also allows chains to join the network and pay a portion of their emissions and transaction fees to to cover security costs. Alternatively, core Hub functionality may be built on a consumer chain and receive financing for infrastructure buildout, opting for a fee split rather than a dedicated token, or some combination thereof. Overall, Interchain Security creates stronger security guarantees and a more secure platform for building applications on top of the Cosmos Hub.

Interchain Scheduler: Optimizing MEV and Blockspace

Another useful feature of Cosmos’ new design is the Interchain Scheduler. This serves as a secure cross-chain blockspace marketplace and MEV solution. However, before getting into the specifics, it is important to first mention some of the high-level value and current limitations of MEV.

Generally speaking, MEV relay networks can create channels for private transactions which are incredibly valuable for a variety of features, including sandwich attack prevention, front-running protection, and transaction guarantees. The value of these features grows along with the value of the underlying blockchain. So MEV becomes more critical as a blockchain gains traction. In terms of Cosmos, interchain MEV capabilities become increasingly important as the Cosmos economy grows, and developing relay service on multiple chains allows better cross-chain execution guarantees.

Screen Shot 2022 10 13 at 2 08 57 AM
Source: Cosmos 2.0

The Interchain Scheduler allows Cosmos blockchains to provide a portion of their blockspace to the marketplace. Any available blockspace that the chain seeks to sell is then tokenized by way of an NFT that represent a reservation for future blockspace on that particular chain. The Scheduler is then able to compile future blockspace availability through a collection of NFTs which are auctioned off periodically or traded on a secondary market.

These NFTs then effectively function as reservation tokens from all of the participating chains in the network. A major benefit for member blockchains to participate here is not only the prospect of extracting more value from their native blockspace and collecting increased revenue for otherwise underutilized blockspace, but also that the Scheduler splits revenues directly with the blockchain, not just the validators directly involved in execution. For end users, Scheduler functionality presents the ability to purchase a variety of block space on different chains that can be used to schedule cross-chain settlement transactions with strong execution guarantees.

Another important thing to note is that this system is entirely on-chain, unlike most existing MEV solutions that involve off-chain interactions. So the Interchain Scheduler is not subject to centralization risks or off-chain collusion, both of which can negatively impact the market for blockspace on any network. It allows blockchains to directly regulate blockspace themselves, and can provide a more fair and transparent system for returning value to their originating protocols and token holders, rather than limiting MEV value accrual to just the validators involved in managing order flow.

Tokenomics: Redesigning ATOM

The current token design of $ATOM has a few critical shortcomings related to its monetary policy. In short, the protocol is designed to balance security and liquidity by focusing directly on staking rates. As the supply of $ATOM staked changes over time, the protocol adjusts token issuance. More specifically, if $ATOM staking rates fall below a given target, then token issuance is increased until the staking rate also increases to a given target or a maximum threshold for issuance is reached. Under this monetary policy, therefore, Cosmos incentivizes additional staking through token issuance, which works to increase security, but also results in decreased liquidity. The same policy levers activate if the staking rate rises above a target level: issuance begins to pare down, staking is disincentivized, and liquidity is improved (at the expense of security). So there is a constant balancing act between security and liquidity.

However, the major challenge is requiring a significant portion of the token supply to be staked to ensure sufficient security. This is an immense capital burden that not only limits growth within Cosmos and hinders cross-chain composability, but also serves as a barrier for other participants to enter the system. Implementing a system of liquid staking breaks these barriers and allows token holders to stake $ATOM and then deploy it to pursue other opportunities, effectively removing the built-in opportunity cost of staking. A key takeaway is that monetary policy then shifts from a focus on balancing security with liquidity to one of adoption and growth.

Given that the implementation of liquid staking can resolve the interplay between security and liquidity, the protocol can now shift its attention directly to token issuance, rather than an abstraction of it. The focus is now on balancing interchain adoption, growth, and capitalization.

Source: Cosmos Community

Under the new tokenomics of Cosmos, $ATOM issuance undergoes significant changes over the course of 36 months. In the beginning, issuance increases for the first nine months in order to bootstrap funding for a new Cosmos Hub Treasury which will be utilized to support the expansion of the ecosystem. Issuance then begins to decrease significantly at the end of nine months until it reaches a constant rate at the end of 36 months. More specifically, 10,000,000 $ATOM are initially issued per month. The rate of issuance steadily decreases over a 36-month period until it reaches a constant rate of 300,000 ATOM issued per month. This shift represents a net reduction of 97% in $ATOM issuance.

During this time, Cosmos will distribute a portion of token issuance to validators and delegators as a subsidy for network security. The remaining portion will be sent to the Cosmos Hub Treasury. The network security subsidy will decrease by 10% every month for 36 months, after which it will stop completely. In general, the revenue that is generated from Interchain Security is intended to meet or exceed the original subsidy. This approach enables Cosmos to effectively bootstrap the initial transition and then turn off the need to constantly support activity that should be self-sustaining.

Overall, an important takeaway is that this new token model shifts issuance from exponential growth to linear growth.

image

Network Fee Model

Under the current system, network transaction fees are paid to the Cosmos Hub and then split between validators, delegators, and the Community Pool. Once Interchain Security is implemented, however, a portion of each transaction fee and token issuance from each consumer chain will be sent to the Cosmos Hub’s distribution module, paying to secure all chains and replacing the current issuance subsidy. So Interchain Security replaces issuance as a means of incentivizing validators and delegators.

image

The network will also implement a global fee model that begins with a whitelist of accepted tokens along with corresponding fee minimums that is maintained by Cosmos Hub governance and shifts to a single $ATOM floor fee with an algorithmically adjusted base fee that continuously updates in response to demand. This helps avoids situations in which protocol governance must determine the pricing for every accepted token and removes some of the inherent difficulty of accurately pricing each token type.

All other applications on the network have the autonomy to create their own fee mechanisms with the assumption of transaction inclusion. For instance, the Allocator and Scheduler can customize their fee structure depending on their chosen architecture, with returns flowing to the Cosmos Hub Treasury.
This is strategic in the sense that it essentially creates a way in which the system can organically diversify their holdings away from just 100% in their native $ATOM token.

Macro View

Like many other tokens in the Web3 space, $ATOM has suffered volatility and downward pressure on price. Over the last year, $ATOM is down nearly 75%, with daily volumes also lagging from highs of around $3.5B in January to around $200M currently. Interestingly, however, $ATOM has gained some traction against $ETH which could signal a shift towards broader adoption. Nevertheless, while much of this movement is not unique to $ATOM or the Cosmos ecosystem, there are different approaches to token design that can help mitigate some of these shocks to the system.

Screen Shot 2022 10 12 at 11 07 00 PM
Source: Coingecko

Liquid staking is a particularly powerful primitive in that it unlocks capital currently staked throughout the Cosmos Hub and allows users to pursue other opportunities without compromising network security. This has broader implications such as attracting other potential stakers to participate in the Cosmos network, given that they do not need to lock their assets into illiquid positions. So the tradeoff, and opportunity cost, between staking $ATOM in the Cosmos ecosystem or pursuing other opportunities becomes less consequential with the advent of liquid staking. Overall this has the potential to bring more new capital, and more user and developer interest into the next iteration of the protocol. One important aspect here is that in order for a system of liquid staking derivatives to work effectively, there must be a sufficiently liquid market available for users to be able to move in and out of positions without slippage.

Fragmented security is another major shortcoming throughout Web3. In many cases, essentially any new application that seeks to enter the space must also bootstrap their own network of validators in order to participate. This results in many smaller pools of security across the network. This is inefficient on many different levels, creates a substantial barrier of entry, and presents a potential attack vector. Cosmos’ approach of implementing the Interchain Security model is quite potent here in that it not only creates a unified pool of security which makes the cost of attacking the networking exponentially more expensive, but also allows a new project to forgo the responsibility of building out their own security, which can be expensive and resource-intensive, and creates another driver of $ATOM utility. Giving established blockchains the option to effectively rent out their network security reduces the barrier to entry significantly and shifts the focus for new protocols, and perhaps existing ones that do not want to spend resource on a system of validators, back to innovation and creating applications with actual use cases, rather than burdening them with the demands of decentralized trust networks. It also gives these blockchains a secondary revenue-generating mechanism; security as a service. At the same time, putting $ATOM at the forefront of rental fees helps create continuous demand for the token that can scale with network growth. That is, as the demand for new projects to join Cosmos increases, the demand for security will also increase, which will have broader implications on the demands for $ATOM if other things remain the same.

One concern, however, is that there will be certain limits to the extent of network security that the Interchain Security mechanism can provide at any given time. That is, existing security can only be stretched so far and lent out to so many consumer blockchains. Too much strain can break the system or at the very least weaken it enough to allow for easier attack vectors. So it is critical that thresholds are established and certain parameters are in place to allow this feature to function correctly. It is also important to filter different protocols seeking to leverage this mechanism. As Cosmos gains mass adoption, more protocols will seek to join the Hub and potentially rent out network security. It will be difficult to support each and every network at scale, so a system for evaluating the potential contribution that a new entrant might have would be useful for allocating limited security resources.

The protocol’s focus on creating on-chain solutions for MEV and blockspace present tremendous potential for optimizing transaction flow and value capture. Directing revenue back to participating blockchain serves as a better alignment of incentives and helps keep value from leaking out of the network. Moreover, developing a marketplace for blockspace helps drive a self-sustaining economy, especially as the value of blockspace becomes more valuable with network adoption and demand. These sort of approaches are critical for creating real use cases for the network.

Ultimately, liquid staking, the provisioning of network security through the Interchain Security mechanism, and the marketplace for MEV and blockspace serve as powerful features for sustainable growth. By removing many of the constraints the previously prevented new blockchains from joining without friction along with a deflationary monetary policy that focuses directly on issuance, Cosmos has positioned itself to further expand its network and onboard promising new projects on its way to realizing its goal of becoming the Internet of Blockchains.

Sources
  1. https://gateway.pinata.cloud/ipfs/QmWXkzM74FCiERdZ1WrU33cqdStUK9dz1A8oEvYcnBAHeo
  2. https://forum.cosmos.network/t/proposal-draft-a-new-vision-for-cosmos-hub/7328 
  3. https://ebuchman.github.io/posts/phases-of-cosmos/
  4. https://v1.cosmos.network/resources/whitepaper
  5. https://cosmos.network/ecosystem/tokens/

Cryptofunds, market makers, and trading desks can interact with EVM-based DeFi protocols with MetaMask Institutional

MetaMask Institutional offers unrivaled access to the DeFi ecosystem without compromising on institution-required security, operational efficiency, or compliance requirements. We enable funds to trade, stake, borrow, lend, invest, and interact with over 17,000 DeFi protocols and applications.


Found this research useful? Connect with the ConsenSys Cryptoeconomic Research team at [email protected]

Disclaimer: ConsenSys Software Inc. is not a registered or licensed advisor or broker. This report is for general informational purposes only.  It does not constitute or contain any individual investment advice and is made without any regard to the recipient’s objectives, financial situation, or means.  It is not an offer to buy or sell, or a solicitation of any offer to buy, any token or other investment, nor is it intended to be used for marketing purposes to anyone in any jurisdiction. ConsenSys does not intend for any person or entity to rely on any facts, opinions, or ideas, and any financial or economic commentary expressed in this report may not be relied upon. ConsenSys makes no representations as to the accuracy, completeness, or timeliness of the information or opinions in this report and, along with its employees, does not assume any responsibility for any loss to any person or entity that may result from any act or omission based upon this report. This report is subject to correction, completion, and amendment without notice; however, ConsenSys has no obligation to do so.

Written by David Shuttleworth · Categorized: ConsenSys · Tagged: ConsenSys

Sep 30 2022

Aptos: A highly scalable and decidedly modular Layer 1 blockchain

Summary

Aptos is built in Move and designed to be resolutely modular and seamlessly upgradeable. In addition, the protocol has created several features to improve user experience while simultaneously improving security, such as pre-signing transaction transparency that describes the literal outcome of a transaction in plain language before a user signs it as well as hybrid key management systems that boost security and helps reduce key mismanagement risks.

Overview

Mainstream Web3 adoption is under way. Activity across blockchains has grown considerably over the last several years and new decentralized applications (dApps) along with their accompanying use cases continue to emerge. Core infrastructure that supports these networks and functions without requiring trust in a centralized entity is becoming increasingly robust. Yet solutions that are ultra performant and truly enterprise-grade ready are few and far between. In general, part of the issue stems from blockchain’s current lack real-time responsiveness and throughput limitations. This is further compounded by the high costs, security risks, inconsistent performance, and scaling issues that persist in most Layer 1 chains. The end result is that real world use cases become inherently constrained.

Many emerging blockchains vie to confront these challenges, few have delivered. Aptos, however, takes a different path and leverages novel approaches to transaction flow, computation, and smart contract development. The end result is a blockchain that is engineered with the potential to optimize scalability while reinforcing security. Aptos also has a decidedly modular architecture which enables it to be flexible and easily upgradable so that users can quickly adapt to changes throughout Web3 with less friction and downtime. Collectively, these features can help Aptos deploy a network which supports mass adoption and overcomes many of the hurdles that have hindered the development of other Layer 1 networks.

Apotos confronts these issues from a truly bottoms-up approach, starting with the very programming language itself. The protocol is built on Move, a highly flexible language inspired by Rust, which has the potential to natively optimize transaction speeds and achieve higher security. Move also enables valuable user features, including the Move Prover, an automatic formal verification system that detects potentially malicious smart contracts and acts as an inherent safeguard in smart contract writing. In addition, Move’s data model facilitates more flexible private key management and hybrid custody options, along with transaction transparency prior to signing. So Move comes with a variety of built-in features and additional layers of security which contribute to a safer, more seamless user experience.

Beyond the programming language, transaction flow on Aptos is resolutely different than most competing networks. Each stage of the process, such as broadcasting transactions, ordering block metadata, and batching storage, is completely modular and operates concurrently. One reason this design is important is that it optimizes all available computing resources and unlocks a higher level of parallel execution. Furthermore, Aptos’ parallel execution engine does not require a priori knowledge of data locations to be read and written. This removes a key limitation that exists on most protocols that utilize parallel execution and enables faster throughput and less latency. Finally, Aptos achieves horizontal scaling by enabling internal sharding of validators within the network as well as homogenous state sharding. Collectively, these designs provide Aptos with the potential to drive a truly enterprise-grade blockchain network.

Screen Shot 2022 08 12 at 2 19 33 PM

Deeper Dive: Consensus Mechanism, Network Validators, and State Synchronization

The Aptos blockchain leverages a proof-of-stake (PoS) consensus mechanism and is powered by a network of validators which process transactions and update the system. Similar to other PoS blockchains, the consensus voting power of each validator within the network is proportional to the amount of Aptos tokens staked within them. Validators that act maliciously or suffer downtime can be slashed, so token holders are incentivized to stake their tokens in validators that are honest and performant. The protocol implements a system of rapid, stake-weight rotation to optimize validator performance as well as facilitate organic decentralization of the network, as validators are constantly rotating, rather than operating as a static or slow moving set. In addition, and on-chain reputation tracking mechanism is used promote performant validators (e.g. validators that have successfully submitted a block within a given time) and demote non-performant validators (e.g. validators that have gone offline). This mechanism helps improve incentive structures for validators and minimizes the impact of poorly performing validators.

Nodes in the network, which submit transactions and query blockchain history, can exist in either a full or light version. Full nodes are responsible for a much heavier workload as they verify the entire transaction and state history from validators or other full nodes in the network. One interesting aspect of full nodes on Aptos is that they have the discretion to remove data history from their memory. This is important for many reasons, but particularly in relation to performance and scaling, as the ability to truncate data assists in minimizing storage demands. Light clients, on the other hand, are only required to maintain the current set of validators in order to query partial blockchain history data, making their workload significantly less rigorous.

To help maximize node flexibility, Aptos implements a unique approach to state synchronization. In short, a state synchronization protocol contains the rules which govern blockchain data across the network and ensure that all participants in the system are synchronized. Aptos allows participants to select different strategies that best fit their intended use case and which account for differences in resource availability. For instance, a full node can choose to synchronize the full history of the blockchain, leading back to the very first transaction, or it can choose to synchronize the most recent state of the blockchain, while light clients can simply choose to synchronize with partial state histories. The key takeaway is that Aptos leverages a state synchronization protocol that is highly customizable and lets each participant choose which part of the continuum of blockchain data that they want to process and retain. Developing a protocol that is flexible and efficient is critical for adopting to a diverse set of needs and use cases, as well as for achieving high throughput for each participant in the system. Overall, light clients, full nodes, and validators all can benefit from more efficient ways of sending, receiving, and verifying blockchain data, which in turn leads to better user experiences.

Design Principles and the Move Language

Shifting back to the idea of programming language and protocol design, Move has an interesting appeal in that its core focus is around safety and flexibility, from both a universal protocol level and a user experience perspective. This extends in many meaningful ways by which Move is integrated into Aptos, including to perform transaction execution and to represent blockchain state through its object model. Moreover, Move emphasizes access control and resource scarcity. One reason this is important is that it includes native safeguards against attack vectors like double-spending. The language also has a set of powerful developer tools such as the Move virtual machine and a formal verifier, Move Prover. The Move Prover confirms the correctness of code being written by allowing it to be tested against a given condition and ensures that the resulting output is indeed the expected output. This creates a more secure environment as well as a variety of quality of life improvements for developers and end users alike.

Move modules encode the rules governing the state transitions of the blockchain. Users can submit transactions that can update existing code, publish new code, or interact with existing modules. So there is tremendous power and function built directly within the language itself. Overall, Move modules define the rules and every element within the system, such as storage and access, which is fundamentally important in that it ensures that critical resources like tokens cannot be double-spent.

Another interesting feature of Move is that enables user accounts on Aptos are protected by a variety privacy-preserving primitives. Users can create multiple accounts without any inherent link to each other, all while using a single wallet to control each of these different accounts. This creates a user-friendly asset management environment while introducing improved privacy and censorship-resistance.

The protocol also includes a variety of improved user experience features. Transaction viability protection mitigates the risk of a user unintentionally signing a transaction by constraining the viability of every transaction and protecting the user from unbounded validity. The Move-based key management allows users to delegate their private key to one or more custodians and other trusted entities and rotate the key according to specific circumstances. Pre-signing transaction transparency helps reduce the risk of a user signing malicious transactions by providing literal description of the outcomes of their transactions prior to signing. Attack history data and malicious smart contracts can a be fed into this function to further reduce fraud risk.

Ledger State and Data Model

The ledger state represents the state of every account on the Aptos blockchain and is updated continuously, as the version of the state at any given time is correlated to the number of transactions the system has executed at that time. One key feature of the ledger state composition is the way that it handles transaction events. In short, each transactions is stored within the ledger and has a corresponding unique key to allow nodes to query it. Transactions can only generate events and cannot read events. This means that transaction execution is a function of the current state, and not the historic state.

Each account on the ledger has a unique account address that are generated by a signature key-pair. An important features of this approach is that Aptos allows users to create multiple accounts by generating multiple key-pairs. These new accounts have no inherent link to each other, yet the user can manage them all in a single wallet. This creates privacy-protecting primitives and a cleaner user experience where users can seamlessly manage numerous accounts through one wallet interface.

The Transaction Flow and Lifecycle

Aptos employs a novel approach to the transaction flow by delineating pipelining, batching, and parallel execution into their own separate stages, each completely independent of the other. This helps maximize throughput and resource utilization, while simultaneously reducing complexity. In addition, this design can improve development cycles insofar as each stage can be targeted as its own independent entity rather than as one indivisible, inner-connect structure.

Screen Shot 2022 08 12 at 4 27 59 PM

One of the key differentiating features is that the consensus phase is decoupled from non-agreement types of tasks. This means that tasks such as transaction dissemination and transaction execution function outside of the consensus phase, which reduces operational complexity and allows block metadata and proof ordering to function correctly with much less bandwidth demands than existing schemas. Ultimately, this contributes to the network’s ability to increase throughput and minimize latency.

Improved User Experience

Aptos implements several features to improve user experience. First, the protocol places inherent constraints on the viability of every transaction on the network in way that mitigates the risk of a user transaction being manipulated, such as a replay attack. Second, Move enables a flexible key management system that creates hybrid models of custody, such as rotating private keys to a set of trusted custodial entities along with on-chain key recovery mechanisms. Third, Aptos implements a system of transaction transparency, in which users can see exactly what their transaction will yield before it is executed. This includes the literal outcomes of the transaction, in easy to read language, as well as built-in wallet parameters that automatically reject specific transaction conditions, such as sending to a contract that has been identified as malicious.

Parallel Execution

A core tenet of Aptos’ design is to maximize parallel execution, wherever possible. Thus, the protocol implements a parallel data model as well as a parallel execution engine. In terms of the data model, any transaction that exists without a conflict in data or account can be executed in parallel. In terms of the execution engine, conflicts are pro-actively managed and transactions are processed, optimistically, in batches, and then verified after execution. Compared with sequential execution, Aptos’ engine can perform up to 16 times faster. In comparison with other parallel execution engines, Aptos’ iteration allows for more complex transactions to occur which helps decrease the costs and latency for end users using the network.

Mechanism Design and Tokenomics

At the time of writing, the token design is still in development. However, there are some important aspects that have been released. $APTOS is the native token of the protocol and its objective functions are around utility and governance. Token holders can use $APTOS to pay for transactions and gas fees, as well as vote on protocol upgrades and participate in governance. The protocol emphasizes a network fee structure that is ultimately centered on balancing the true costs of using the network with the real world costs of running nodes and maintaining the network on the backend. Moreover, as a PoS blockchain, the native token can be used for staking to secure the network and support honest, performant validators. Similar to other staking designs, validators on Aptos can customize reward-sharing with their stakers. So validators can effectively create competitive markets for attracting staking activity by adjusting the portion of rewards they share with their staking counterparties.

One of the more interesting applications of the native token is around its role in facilitating optimal transaction flow. All transactions on the network require a specific amount of gas in order to complete, paid in $APTOS, and validators in the network can utilize the gas fee parameter as a proxy for transaction prioritization. That is, validators can easily filter transactions according to their value. This filtering can be done at any stage of the transaction processing lifecycle. Perhaps just as importantly, however, is that low-value transactions can be identified and discarded at any stage of the processing lifecycle as well. This allows the network to operate efficiently during times of heavy traffic. So again, transaction flow on Aptos is composed in a very modular way, rather than as a monolith.

Macro Perspective

Aptos joins a consortium of competing Layer 1 networks that are increasingly becoming more competitive and performant. One its key differentiating features is its development in Move. The reason this is important is that Move gives developers the potential to design smart contracts in novel ways, many of which result in significant gains in performance and security as well as user experience. The ability to manage several private keys from a single user account, for instance, and utilize built-in transaction protection mechanisms is incredibly valuable for mass adoption. One general concern, however, is that while Move has been developed over the course of the last few years, it has yet to be deployed and battle-tested in a mainnet environment.

Interoperability, core infrastructure, and developer buy-in will be especially critical to the success of the protocol and ultimately, to how well it can integrate into the broader Web3 ecosystem. To facilitate interoperability, instances of bridges, such as Wormhole, are being deployed on Aptos. This will enable native users to move between different networks and also allow other users from other blockchains such as Ethereum and Solana to enter the Aptos ecosystem more seamlessly. In terms of infrastructure, Aptos is leveraging data oracles including Pyth to help service its native dApps and connect them with off-chain data.

Ultimately, the success or failure of any blockchain will rely on user adoption. No matter how fast transactions can be completed, how efficiently the network can scale, or how cheap using the network is, if users do not use it, then it will not succeed. Part of the way user adoption is impacted is through the development of dApps built on the network that have real world use cases. So a critical aspect of any blockchain is getting meaningful dApps built. This requires buy-in from talented developers. Aptos sets the stage with a flexible protocol design and an equally flexible programming language. If developers can be successfully onboard to the network, they greeted with potentially massive gains in execution, security, and usability. These features will play a critical role in Aptos’ positioning within the Layer 1 space.

Further Reading and Resources

  1. https://github.com/aptos-labs/aptos-core/blob/main/developer-docs-site/static/papers/whitepaper.pdf
  2. https://arxiv.org/pdf/2110.08362.pdf
  3. https://github.com/solana-labs/move
  4. https://aptoslabs.medium.com/

Cryptofunds, market makers, and trading desks can interact with EVM-based DeFi protocols with MetaMask Institutional

MetaMask Institutional offers unrivaled access to the DeFi ecosystem without compromising on institution-required security, operational efficiency, or compliance requirements. We enable funds to trade, stake, borrow, lend, invest, and interact with over 17,000 DeFi protocols and applications.


Found this research useful? Connect with the ConsenSys Cryptoeconomic Research team at [email protected]

Disclaimer: ConsenSys Software Inc. is not a registered or licensed advisor or broker. This report is for general informational purposes only.  It does not constitute or contain any individual investment advice and is made without any regard to the recipient’s objectives, financial situation, or means.  It is not an offer to buy or sell, or a solicitation of any offer to buy, any token or other investment, nor is it intended to be used for marketing purposes to anyone in any jurisdiction. ConsenSys does not intend for any person or entity to rely on any facts, opinions, or ideas, and any financial or economic commentary expressed in this report may not be relied upon. ConsenSys makes no representations as to the accuracy, completeness, or timeliness of the information or opinions in this report and, along with its employees, does not assume any responsibility for any loss to any person or entity that may result from any act or omission based upon this report. This report is subject to correction, completion, and amendment without notice; however, ConsenSys has no obligation to do so.

Written by David Shuttleworth · Categorized: ConsenSys · Tagged: ConsenSys

Sep 07 2022

Why Ethereum is Poised for Growth: A Look at Network Security

Ethereum is the world’s largest programmable blockchain. It is the foundation for the future of the internet (Web3), and the future of finance (DeFi). Currently, more than half of the entire DeFi ecosystem exists on Ethereum. And despite market volatility and macroeconomic uncertainties, user engagement with Ethereum remains strong. 

In this three-part series, we look at how the Ethereum ecosystem is building for the long term and is poised for growth. This series is adapted from the recently released ‘Impact of the Merge on Institutions’ report written by MetaMask Institutional and the ConsenSys Cryptoeconomic Research team. You can find the full report here.

As with any efficient technology, the Ethereum roadmap is full of upgrades to its infrastructure that make it future-proof. The first such upgrade, called the Merge, will occur in mid-September 2022. It will be a historic moment for the nascent crypto industry and will set up Ethereum for increased security, sustainability, and scalability. 

Currently, the Ethereum network has two blockchain layers running in parallel – the layer running Proof of Work (PoW), called the execution layer (the historic state of Ethereum and block production), and the layer running Proof of Stake (PoS), called the consensus layer. The Merge will see these two layers merge, effectively ending PoW and transitioning the Ethereum mainnet fully to PoS.

Network Security

Security is an important factor in the adoption of a blockchain. The Merge was designed to enhance the security of Ethereum through increased network participation and decentralization. But before we dive into these factors, we should understand the Ethereum Virtual Machine (EVM) and bridges. 

The EVM is a platform where Ethereum data and smart contracts live. It allows developers to develop dapps on the Ethereum network as well as to easily port their code to other chains. For example, Ethereum devs no longer need to learn all the nuances of Solana, and can instead build on Neon EVM with much less friction to deploy their dapp on Solana. So, it adds a layer of composability and provides users the ability to perform all their transactions on the Ethereum network without needing to bridge to other networks. 

Significantly popular infrastructure and applications already exist within the Ethereum ecosystem. This mitigates a notable existential risk of bridge hacks that other networks face since they often need to interact beyond their native network and with the Ethereum infrastructure. 

In the past one year, over $2B have been stolen in bridge hacks (Figure 1). Some of the bridges that have been attacked include Axie’s Ronin, Solana’s Wormhole, Harmony’s Horizon and Nomad. While they are one of the greatest risks to blockchain security, bridges are not inherently part of blockchain security design. Instead, they are simply a means of moving liquidity across different networks. 

Quaterly value stolen in hacked and share of all hacked value stolen from bridge protocols
Figure 1. Value of Funds lost in Bridge Hacks
Source: Chainalysis

One factor that can make other networks such as Solana and Arbitrum more attractive than Ethereum to developers and users is low transaction costs on those networks. Gas fees remain a function of demand. As a higher number of users come to Ethereum and transact on the network, the gas fees go up. And vice-versa. 

The Merge, however, will set the stage for further upgrades that will help lower the cost of using the Ethereum network. A successful Merge will enable sharding, the next upgrade outlined in the Ethereum roadmap. Sharding is the act of splitting a network’s data into smaller portions to ensure easy storage of the data and avoid network congestion. 

By reducing network congestion and enabling scalability, sharding will allow the Ethereum blockchain to process more transactions faster, effectively bringing down transaction costs. Therefore, developers and users will have less need to engage in bridging and risk their assets by moving between blockchains. They will be able to stay within the Ethereum moat for all their DeFi needs.

In addition to reducing bridging risks, the Merge will make Ethereum significantly more secure by making it overly expensive to attack. According to some estimates, hacking a blockchain running on the PoS mechanism will cost about 10-20X more than one operating on a PoW mechanism. 

A key way through which the Merge enhances the security of Ethereum is by democratizing network participation. By ensuring that single-node validators get the same chance at earning rewards as a whale stake, PoS will lead to further decentralization of the Ethereum network.

In addition, it is difficult for a malicious actor to amass the 51% tokens required to launch an attack. Apart from being incredibly expensive to acquire that 51% stake on the network, it will be difficult to convince that many stakers to part with their stake. Currently, it will cost over $11B to launch a 51% attack on the Ethereum network for an hour.

Even if a bad actor manages to launch a 51% attack on the Ethereum network, the cost to sustain that attack will keep increasing because of a mechanism called slashing. If a validator attacks the network, their staked ETH will be burnt and their access to the network will be revoked. The attacker will effectively have to keep putting in more ETH, which will keep getting burnt, to sustain. Slashing is a mechanism that is unique to PoS, and makes it more expensive to attack the Ethereum network when compared with PoW. 

Conclusion

Security of crypto investments is a top concern for institutional investors, ahead of even regulations and market volatility. According to a survey by Nickel Digital Asset Management, Europe’s largest regulated digital asset hedge fund manager, security is the main factor that affects an institutional investor’s engagement with crypto. By enhancing the security of the Ethereum network, the Merge addresses this key issue.

In the next part of this series, we will explore how the Merge affects Ethereum’s valuation in comparison to other Layer 1 networks. You can read more about the Merge and its impact on institutions in the full report, available here.

On September 12th, the key contributors to the report will talk about it on our “Breaking Down the Merge for Institutions” webinar. You can register for it here. 

Written by David Shuttleworth · Categorized: ConsenSys · Tagged: ConsenSys

Sep 06 2022

Why Ethereum is Poised for Growth: A Look at Network Activity

Ethereum is the world’s largest programmable blockchain. It is the foundation for the future of the internet (Web3), and the future of finance (DeFi). Currently, more than half of the entire DeFi ecosystem exists on Ethereum. And despite market volatility and macroeconomic uncertainties, user engagement with Ethereum remains strong.

In this three-part series, we look at how the Ethereum ecosystem is building for the long term, and is poised for growth. This series is adapted from the recently released ‘Impact of the Merge on Institutions’ report written by MetaMask Institutional and the ConsenSys Cryptoeconomic Research team. You can find the full report here.

As with any efficient technology, the Ethereum roadmap is full of upgrades to its infrastructure that make it future-proof. The first such upgrade, called the Merge, will occur in mid-September 2022. It will be a historic moment for the nascent crypto industry and will set up Ethereum for increased security, sustainability, and scalability. 

Currently, the Ethereum network has two blockchain layers running in parallel – the layer running Proof of Work (PoW), called the execution layer (the historic state of Ethereum and block production), and the layer running Proof of Stake (PoS), called the consensus layer. The Merge will see these two layers join, effectively ending PoW and transitioning the Ethereum mainnet fully to PoS.

Why Ethereum dominates DeFi

The DeFi ecosystem today is worth $62.6B, and Ethereum accounts for a majority of the overall DeFi ecosystem, with $36.7B total value locked (TVL). Part of the reason for Ethereum’s dominance in DeFi is that most of the popular DeFi applications such as MakerDAO, Aave, Uniswap, and Curve were built natively on Ethereum.

Ethereum also benefits from a strong community of developers and users, especially the Ethereum CoreDevs, who are committed to improving the network by creating documentation and regularly rolling out network updates. These resources help maintain a robust and decentralized network, and drive further adoption. 

The network has seen skyrocketing figures for adoption and utilization, which are strong signals for network maturity. To understand how user adoption has increased for Ethereum, let’s take a look at some statistics. 

Network Activity

Since January 2020, the total number of unique addresses on the Ethereum network has more than doubled to over 200M (Figure 1). This shows the popularity of the Ethereum network among Web3 users.

Ethereum Unique Address Chart
Figure 1. Ethereum Unique Addresses Since January 2020
Source: Etherscan

The number of active Ethereum addresses has also trended upwards since January 2020, and is currently above 504K, despite the recent market downturn (Figure 2). User participation in the network despite market volatility points to the fact that there are use cases of Ethereum that transcend price activity. In comparison, growth on Fantom is down 70% since the market crash in May.

Active Address
Figure 2. Ethereum Active Addresses and ETH Price since January 2020
Source: Glassnode

In a sign of the maturity of the Ethereum network, gas fees have fallen steadily since January this year (Figure 3). They have also become more predictable even as network activity has increased. Lower gas fee makes Ethereum transactions cost efficient, and agnostic of network activity. As a result, users do not need to worry about paying $100 to complete a transaction during times of congestion.

gas price
Figure 3. Ethereum Average Gas Fee 
Source: Etherscan

Since January 2020, daily transactions on Ethereum have trended upwards and have stabilized (Figure 4). On average, over 1M transactions per day have been completed on Ethereum over the last 12 months. So users continue to leverage the network, despite Web3 and global macro market volatility. This is also a signal that meaningful applications with real world use cases are being built on Ethereum.

transaction count
Figure 4. Daily Transactions on Ethereum 
Source: Etherscan

To understand the magnitude of the number of transactions happening on Ethereum, sample this: In 2021, Ethereum processed more transaction volume than Visa, the world’s largest payments processor. Ethereum processed transactions worth $11.6 trillion, while Visa processed $10.4 trillion (Figure 5).

Total Transaction w additional
Figure 5. A Comparison of Total Transaction Volume of BTC, ETH, and Visa
Source: Stark Mirror

A powerful metric to determine network demand for a blockchain is protocol revenue, which is the amount of money users are willing to pay to transact on a blockchain. A blockchain earns revenue by selling block space, which a miner (or validator on the consensus layer) purchases to complete transactions. 

On the other hand, a blockchain’s primary expenditures are around the resources it spends on shoring up network integrity and maintaining security. These expenses are generally attributable to issuance. Currently, nearly every blockchain spends more money on securing their network than they receive from selling blocks. Therefore, revenue provides a better sense of network demand than simply relying on the total number of transactions. While using Tron or Solana might be cheaper than Ethereum, users may be willing to pay a premium to use Ethereum due to factors such as better security and reliability of the network.

Since mid-March this year, ETH generated $1.8B in protocol revenue, the highest among 20 top blockchains including Avalanche, Solana, Polkadot and Polygon (Figure 6). For a comparison, take Avalanche: It recorded the second-highest protocol revenue in the same time period, generating only $72.6M.

Top blockchins protocol revenue
Figure 6. Cumulative Protocol Revenue for Top Blockchains
Source: Token Terminal

Over the same time period, Ethereum commanded over 90% of the total protocol revenue compared with other Layer 1 (L1) networks (Figure 7).

historical protocol
Figure 7. Daily Protocol Revenue for Top Blockchains
Source: Token Terminal

Since December 2020, staking on Ethereum has gained enormous traction. Over 13.3M ETH had been staked as of August 19, 2022, accounting for nearly 11% of all ETH supply (Figure 8).

Screen Shot 2022 09 06 at 5 10 01 PM
Figure 8. Amount of ETH staked on the consensus layer
Source: Beaconcha.in

Conclusion

As we have seen above, the number of users and liquidity coming to Ethereum is incomparable to other L1 networks. As a result of this high liquidity and large user base, Ethereum becomes attractive to developers who are choosing between different blockchains on which to build. This popularity contributes to building a moat of liquidity for Ethereum. Most decentralized applications (dapps) with the highest TVL and usage across Web3 are built natively on Ethereum. As a result, there is a tremendous amount of value circulating within the network and institutional players can benefit from tapping into this value.

In the next part of this series, we will explore how the Merge will make the Ethereum network more secure. 

This series is adapted from our exclusive report, “The Impact of the Merge on Institutions”, in which we discuss how changes to the Ethereum network as a result of the Merge will translate into opportunities for institutional investors. 

You can download the full report here.

On September 12th, the key contributors to the report will talk about it on our “Breaking Down the Merge for Institutions” webinar. You can register for it here.

Written by David Shuttleworth · Categorized: ConsenSys · Tagged: ConsenSys

Copyright © 2023 · Altitude Pro on Genesis Framework · WordPress · Log in