🚧Technical structure

Introduction of Our Blockchain.

CosVM stands as a blockchain network based on the Proof-of-Stake (PoS) consensus mechanism, prioritizing scalability and interoperability. CosVM ecosystem delivers which is designed to synchronize the best of the ecosystems( EVM and Cosmos ). This innovative ecosystem is intricately designed to synchronize and integrate the finest features from EVM and Cosmos ecosystems. With a core focus on handling extensive transaction volumes efficiently, CosVM seamlessly integrates with the Ethereum Virtual Machine (EVM). This integration ensures not only comprehensive compatibility but also facilitates a smooth and user-friendly interaction within its ecosystem. CosVM presents a trans-formative potential, reshaping the dynamics of interaction among Cosmos chains and the Ethereum ecosystem.

Technological Foundations

  • Cosmos SDK: CosVM operates on the Cosmos SDK, a robust framework empowering blockchain development. This SDK provides a versatile and modular architecture to build custom blockchains, facilitating the creation of interoperable and scalable networks.

  • CometBFT Consensus Engine: Powered by the CometBFT consensus engine, a modified iteration of Tendermint Core, CosVM ensures rapid finality and transaction processing. This combination enables the network to achieve swift block finalization and maintain short block times, approximately averaging 5 seconds.

  • Smart Contract Execution: CosmVM utilizes the CosmWasm module, enabling the execution of Ethereum-compatible smart contracts written in Solidity, unlocking a vast array of decentralized applications (dApps) and functionalities.

Introducing the Chain-Sync Module

  • Support EVM and Cosmos: The CosVM ecosystem introduces the Chain-Sync module, strategically designed to support the functionalities of both the Ethereum Virtual Machine (EVM) and Cosmos chains.

  • Leveraging IBC Protocol: This module leverages the Inter-Blockchain Communication (IBC) protocol, an integral component within the Cosmos ecosystem, to foster seamless integration between EVM and Cosmos chains.

  • Unified Developer Experience: By utilizing the chain-sync module, CosVM aspires to provide a unified experience for developers and users alike. This integration aims to amalgamate the strengths of EVM and Cosmos, offering a cohesive and interoperable environment for blockchain innovation.

Key features enabled by CosVM

  • Utilizing modules and various mechanisms established by the Cosmos SDK

  • Blockchain management is facilitated through the implementation of CometBFT's Application Blockchain Interface (ABCI).

  • Utilizing geth as a library to promote code reuse and improve maintainability.

  • Providing a comprehensive Web3 JSON-RPC interface to seamlessly communicate with established Ethereum clients and tools (such as Metamask, Remix, Truffle, etc.)

Developers can take advantage of these features to utilize the existing Ethereum ecosystem tools and software effectively. This enables them to effortlessly deploy smart contracts that can seamlessly interact with the rest of the Cosmos ecosystem.

Understanding the Basics

Ethereum Virtual Machine (EVM)

The Ethereum Virtual Machine (EVM) is a decentralized platform that executes smart contracts. It serves as the runtime environment for smart contracts in Ethereum, enabling a wide array of decentralized applications (dApps) to run securely and efficiently.

EVM Compatibility

CosVM achieves EVM compatibility by incorporating diverse elements that collectively facilitate all EVM state transitions while guaranteeing an identical developer experience to that of Ethereum.

Most components are implemented in the EVM module To achieve a seamless developer UX, however, some of the components are implemented outside of the module.

If you want to learn more about how CosVM achieves EVM compatibility as a Cosmos chain, we recommend understanding the following concepts:

The majority of components have been implemented within the EVM module. Nevertheless, to ensure a smooth developer user experience, a few of these components have been implemented externally into the module.

Cosmos SDK

The Cosmos SDK is the most popular framework for building web3 application-specific blockchains in the world. The Cosmos Hub is the primary component of the expanding Cosmos Network, which leads the way for a new eternity of interconnected blockchains.

CometBFT & ABCI

CometBFT comprises two primary technical elements: a blockchain consensus mechanism and a versatile application interface. The consensus mechanism guarantees that identical transactions are registered on all machines in a consistent sequence. The Application Blockchain Interface (ABCI), which serves as the application interface, empowers the processing of transactions in any programming language. CometBFT has undergone significant development to become a versatile blockchain consensus engine capable of accommodating diverse application states. By enabling the replication of various applications, it can seamlessly substitute the consensus engines of different blockchains, serving as a convenient plug-and-play solution. CosVM serves as a prime illustration of an ABCI application that replaces Ethereum's PoW(Proof of Work) through the utilization of CometBFT's consensus engine.



                          ^  +-------------------------------+  ^
                          |  |                               |  |   
                          |  |  State-machine = Application  |  |
                          |  |                               |  v
                          |  +-------------------------------+
                          |  |                               |  ^
       Blockchain Node    |  |           Consensus           |  |
                          |  |                               |  |
                          |  +-------------------------------+  |   CometBFT
                          |  |                               |  |
                          |  |           Networking          |  |
                          |  |                               |  |
                          v  +-------------------------------+  v

Introducing CosVM (Cosmos Virtual Machine)

CosVM is the Ethereum Virtual Machine running on the Cosmos Hub, making it compatible with Inter-Blockchain Communication (IBC). It's a scalable, high-throughput Proof-of-Stake blockchain that harnesses the capabilities of the Cosmos SDK and operates on the Tendermint Core consensus engine.

Key Features of CosVM

CosVM offers users a variety of strategies to maximize their profits, including zero-cost cross-chain transactions. Experience the power of CosVM as it brings together the strengths of EVM and Cosmos, offering a unique and efficient blockchain solution.

  1. Scalability: CosVM ensures high scalability, accommodating a growing number of users and transactions.

  2. Interoperability: seamless integration with various blockchains, allowing for smooth asset transfers.

  3. Developer-Friendly: A user-friendly environment for developers, facilitating easy creation of EVM-compatible dApps.

  4. Security: security measures ensure the safety of transactions and user assets.

Contributing to CosVM

There are multiple methods to contribute to the CosVM core protocol. To gain practical knowledge, we suggest setting up a local CosVM node using the CosVM CLI and engaging with it by executing queries and transactions using the supported clients.

Contribute open-source to issues on GitHub using the CosVM Contributor Guideline

Last updated