Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
/ cw-ide-vscode Public archive

An open-source project for CosmWasm smart contract developers

License

Notifications You must be signed in to change notification settings

oraichain/cw-ide-vscode

Repository files navigation

Welcome to CosmWasm IDE Extension

CosmWasm IDE logo   Oraichain logo

CosmosWasm IDE - An open-source project for CosmWasm smart contract developers

CosmWasm IDE Optimization

This is a bash script with a locked set of dependencies to produce reproducible builds of cosmwasm smart contracts. It also does heavy optimization on the build size, using binary stripping and wasm-opt.

CosmWasm IDE Extension Interface

The extension provides three custom VS Code buttons: Build CosmWasm, Deploy CosmWasm, Upload CosmWasm and Instantiate CosmWasm under the status bar of Vs Code and a CosmWasm IDE Explorer under the Explorer tab of VS Code.

  • Build CosmWasm button will build the smart contract to the .wasm file based on the file you open in VS Code.
  • Deploy CosmWasm button will deploy your contract onto the network that you choose on the CosmWasm IDE explorer.
  • Instantiate CosmWasm button will instantiate your contract onto the network that you choose on the explorer.
  • Upload CosmWasm button will upload your contract onto the network that you choose on the explorer.

CosmWasm IDE Webview (the local webview has a default url: http://localhost:3000/). This allows the frontend & CosmWasm developers to easily customize the extension UI, adding new testnets for the development purposes & so on without cloning this repository.

The CosmWasm IDE Explorer helps you modify the destination network that you want to interact with, and you can use it to interact with the smart contract you deploy with corresponding execute and query actions.

Development

Run and debug the extension in your local, please refer to the following guides:

Please refer to the official CosmWasm IDE documentation which includes all repos related to it:

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Build to VS Code Extension

vsce package

Deploy to Vscode marketplace

## Deploy to VS Code Extension Marketplac

vsce publish --pat $AUTHORIZATION

## Deploy to Eclipse Open VSX for Gitpod

ovsx publish --pat $AUTHORIZATION