Categorygithub.com/ignite/apps/wasm
modulepackage
0.2.1
Repository: https://github.com/ignite/apps.git
Documentation: pkg.go.dev

# README

Wasm

Wasm is an Ignite App developed to extend the Ignite CLI, enabling developers to integrate CosmWasm smart contracts into their blockchain projects with ease. This app adds commands for adding and configuring CosmWasm support within your chain.

The app adds ignite wasm commands to add a CosmWasm integration into a chain.

Features

  • Easily add CosmWasm integration to your blockchain.
  • Streamline the process of configuring Wasm for your chain.
  • Develop and test CosmWasm smart contracts in your Ignite CLI project.

Prerequisites

  • Ignite CLI version v28.3.0 or greater.
  • Knowledge of blockchain development and smart contracts.

Installation

ignite app install -g github.com/ignite/apps/wasm

Usage

  • Navigate to your chain's directory and execute the following command to add Wasm support:
ignite wasm add

This command integrates Wasm into your chain's code and configuration. If your chain configuration does not exist yet (for non-initiated chains), you'll need to add the Wasm configuration manually:

ignite wasm config

Remember, all commands should be executed within your chain directory.

Configuration

In order to configure CosmWasm as permissioned in your chain, you can add the following configuration to your chain's config.yaml file:

genesis:
  app_state:
    wasm:
      params:
        code_upload_access:
          addresses: []
          permission: "Nobody"
        instantiate_default_permission: "Nobody"

Read CosmosWasm docs for more information on the code_upload_access configuration.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author