Skip to content

bianjieai/vscode-ext-irita-wasm

Repository files navigation

vscode-ext-irita-wasm

Visual Studio Code Extension for IRITA WASM

Version Installs

This extension has been designed to help you in generating template of cosmwasm smart contract, compiling and deploying smart contracts of cosmwasm to IRITA.

Features

Generate

  • Generate template of the cosmwasm smart contracts

Compile

  • Compile the cosmwasm smart contracts

Deploy

  • Deploy the cosmwasm smart contract to IRITA

Requirements

Release Notes

See CHANGELOG.md

Extension Settings

This extension contributes the following settings:

  • Algorithm: algorithm: sm2, secp256k1

  • ChainID: chain ID

  • Denom: denom

  • GasLimit: gas limit

  • RPCAddress: RPC address in the form of http://host:port.

  • Mnemonic: mnemonic of the key to be used

  • NOTE!: At present, only mnemonic is supported to import key!

These settings can be changed in standard VSCode settings accessible using the Gear box icon in lower left corner.

Settings 1 Settings 2

How to use this extension?

Press Ctrl+Shift+X or Cmd+Shift+X to open the Extensions panel. Find and install the VSCode Extension for vscode-ext-irita-wamsm. You can also install the extension from the Marketplace.

The extension provides the following functionalities which facilitate the whole smart contracts development process.

  • Generate
  • Compile
  • Deploy

Generate

Right click anywhere in the resource manager, and choose 'vscode-ext-irita-wasm: Generate contract template' to generate a template.

Generate

Compile

if you want to compile a cosmwasm smart contract, right click the directory of the project or any file in the directory, choose 'vscode-ext-irita-wasm: Compile the project' to compile smart contract.The compiled file is in the target folder under the project

Compile

Deploy

Fill in the configuration first, then right click the .wasm file and choose 'vscode-ext-irita-wasm: Deploy contract on IRITA'; or open .wasm file, press Ctrl+Shift+P or Cmd+Shift+P and enter 'deploy' to deploy contract.

Deploy

License

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

About

Visual Studio Code Extension for IRITA WASM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published