cli icon indicating copy to clipboard operation
cli copied to clipboard

Scaffolding `wasm` ready chains

Open lumtis opened this issue 3 years ago • 3 comments

Is your feature request related to a problem or issue you encountered? Please describe. CosmWasm is one of the most popular smart contract VM in Cosmos and therefore it makes sense that Ignite CLI simplifies the process of building a chain with CosmWasm enabled

Right now we already have this issue created: https://github.com/ignite/cli/issues/1837 which is about dynamically importing the wasm module This task is about a simpler implementation where chain are scaffolded initially with wasm module. Therefore with a specific template for wasm enabled chains

This issue is similar to this one for EVM: https://github.com/ignite/cli/issues/2633 but for wasm

Describe the solution you'd like Adding a flag --wasm in scaffold chain to let chains include the wasm module when scaffolded

ignite scaffold chain planet --wasm

Ideally a chain could be scaffolded with evm and wasm

ignite scaffold chain planet --wasm --evm

Once the chain is scaffolded, regular CLI commands can work for custom modules

Going further

We could consider scaffolding in the chain source an environment for CosmWasm contract development like Beaker from Osmosis: https://github.com/osmosis-labs/beaker

lumtis avatar Oct 25 '22 02:10 lumtis

Hey Guys, any update on this ticket, it was pending for so long. Just wanted to know if it's still in progress.

dev573 avatar Mar 22 '23 18:03 dev573

I see

starport module import wasm

on previous issues, but how does this translate to using ignite. As there is no module subcommand:

ignite module
unknown command "module" for "ignite"

I see this EPIC is open: https://github.com/ignite/cli/issues/3051

Is it even possible today, or do we have to wait until this epic is implemented?

Jovonni avatar Dec 31 '23 20:12 Jovonni

any update on this?

pynixwang avatar Feb 28 '24 07:02 pynixwang

Succeeded with new CosmWasm App:

  • https://github.com/ignite/apps/pull/60
  • https://github.com/ignite/cli/pull/3956

Available here.

salmad3 avatar May 30 '24 05:05 salmad3