rollup-cosmwasm

module
v0.0.1-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2023 License: MIT

README

Project Logo

This repository hosts the fork of Wasmd, an implementation of the Cosmos SDK module x/wasm that enables the execution of WebAssembly (wasm) bytecode on a Cosmos chain. This project aims to extend and enhance the capabilities of wasm smart contracts within the Cosmos ecosystem.

Table of Contents

Introduction

Wasmd is at the forefront of integrating wasm smart contracts into the Cosmos network. This fork is dedicated to expanding its functionalities, ensuring EVM compatibility, and enhancing interoperability with other blockchains in the Cosmos ecosystem.

Features

  • EVM Compatibility: Allows Ethereum smart contracts to run seamlessly on Cosmos.
  • Scalability: Leverages Cosmos' scalability features for enhanced performance.
  • Interoperability: Connects easily with other chains in the Cosmos network.

Installation

Provide step-by-step installation instructions, like so:

Step 1

Configuration Setup

To properly configure the EVM-based Cosmos Chain, you need to set up a config.json file in the config folder.

Creating the Config Folder and File
  1. Create the Config Folder: Create a new folder named config in the root directory of the project. Use the following command in your terminal:

    mkdir config
    
  2. Create the Config File: Create a new file named config.json in the config folder. Use the following command in your terminal:

     touch config/config.json
    
Configuring the Config File
{
  "chainInfo": 
    {
        "chainID":  "aircosmic_5501-1107",
        "key":      "dummy",
        "moniker":  "test-evm-rollup"
    }
}

Step 2

To Initalise a New Chain with the default configuration, run the following command:

sh setup.sh

Step 3

To Start the Chain from the Same Block Height Where Stopped, run the following command:

sh start-chain.sh

Acknowledgements

This project builds upon the foundational work done by the CosmWasm team. We extend our gratitude and acknowledge their significant contributions to the Cosmos ecosystem. For the original CosmWasm repository and their amazing work, visit CosmWasm GitHub Repo.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Directories

Path Synopsis
app
params
Package params defines the simulation parameters in the gaia.
Package params defines the simulation parameters in the gaia.
cmd
tests
e2e
system Module
x
wasm
autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/airchains-network/rollup-cosmwasm/x/wasm/types ALIASGEN: github.com/airchains-network/rollup-cosmwasm/x/wasm/keeper
autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/airchains-network/rollup-cosmwasm/x/wasm/types ALIASGEN: github.com/airchains-network/rollup-cosmwasm/x/wasm/keeper
wasm/types
NOTE: Usage of x/params to manage parameters is deprecated in favor of x/gov controlled execution of MsgUpdateParams messages.
NOTE: Usage of x/params to manage parameters is deprecated in favor of x/gov controlled execution of MsgUpdateParams messages.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL