Comments (9)
Hi, you can scaffold a CosmWasm enabled chain using the ignite wasm app. Tutorials are coming soon, but the gist of it is the following:
ignite s chain myawesomechain
cd myawesomechain
ignite app install github.com/ignite/apps/wasm@wasm/v0.1.1
ignite wasm add
ignite chain build
ignite wasm config
Then you have a cosmwasm enabled chain to which upload contracts. How to develop and deploy contract is explained in depth here: https://book.cosmwasm.com
EDIT: fix typo in command.
from cli.
Thank you very much for your help! However, Is it possible that the initialization command is 'ignite chain init' instead of 'ignite wasm init'? I'm asking because when I tried 'ignite wasm init', it told me that the wasm command only accepts 'add' and 'config' arguments.
from cli.
My bad, it is indeed warm add
from cli.
Hi, I got the following error while I was trying 'ignite wasm add'. It said that "Chain does not support wasm integration (CLI >= v28 and Cosmos SDK >= v0.50).". However, I am using ignite cli 28.2.0 and cosmos-sdk0.50.3.
from cli.
Hi,
Yes you need to use Ignite v28.3.0
from cli.
Hi, I have updated my Ignite to v28.3.0, the following screenshot is what I got. Does this mean that the Cosmwasm-embed ignite chain has been successfully built?
from cli.
Hi, Thank you very much for your help and patience. Regarding deploying contracts, I still have some questions. I briefly went through the Cosmwasm Book and found that it doesn't provide details on deploying contracts. For example, if I use Rust and Wasm to generate a contract called mycontract.wasm, how can I deploy mycontract.wasm to the CosmWasm-embed Ignite chain that I just built? And how can I execute it after the deployment?
from cli.
Hi, I have updated my Ignite to v28.3.0, the following screenshot is what I got. Does this mean that the Cosmwasm-embed ignite chain has been successfully built?
Correct, your ignite chain has now cosmwasm.
from cli.
Hi, Thank you very much for your help and patience. Regarding deploying contracts, I still have some questions. I briefly went through the Cosmwasm Book and found that it doesn't provide details on deploying contracts. For example, if I use Rust and Wasm to generate a contract called mycontract.wasm, how can I deploy mycontract.wasm to the CosmWasm-embed Ignite chain that I just built? And how can I execute it after the deployment?
Here you can find most of the command you need: https://docs.cosmwasm.com/docs/getting-started/interact-with-contract/#go-cli.
from cli.
Related Issues (20)
- Generate `ts-client` with minimal chain does not work HOT 2
- INIT: Feedback Form HOT 3
- Swagger API "Not Implemented" Error for Scaffolded Message HOT 1
- FIX: Remove "validators" from config.yml When Scaffolding Consumer Chains
- META: Reconsider "Apps" Naming
- UPDATE: Remove Tutorial Content from Official Docs
- UPDATE: Scaffolding Functionality
- META: Revamp CLI Docs HOT 1
- INIT: In-Place Testnet Creation HOT 4
- INIT: Add `--binary` flag to `chain serve` HOT 1
- FIX: ENOSPC Error During `npm run dev` in React Frontend App HOT 3
- Minor UX bug for old versions
- INIT: Flag to Add External Modules
- INIT: `ignite testnet` Command
- FIX: 403 Forbidden error when running `buf export` command HOT 1
- FIX: VCS status error (exit status 128) with `ignite/cli/actions/cli` and `chain build` command HOT 1
- INIT: pass install source to the ignite binary
- FIX: Unable to use SPN due to outdated Ignite version
- FIX: Scaffold params with uint64 crashes Ignite
- init --config doesn't work with multiple config files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.