CosmWasm / wasmd

Basic cosmos-sdk app with web assembly smart contracts
Other
364 stars 386 forks source link

How can I connect wasmd to my local chain? #1841

Closed calibar closed 4 months ago

calibar commented 4 months ago

Hi, I am a beginner. I have successfully built a CosmWasm-embed chain using Ignite CLI on my local VM. However, I am unsure of how to deploy and execute a smart contract on this chain. I was advised to refer to the instructions provided here: https://docs.cosmwasm.com/docs/getting-started/interact-with-contract. However, it seems that these instructions assume that the wasmd has already been configured to connect to a Testnet. Could you please guide me on how to connect the wasmd to my local chain? For instance, I have generated an executable called mycontract.wasm using Rust and Wasm. What steps should I follow to deploy mycontract.wasm onto my local chain and execute it? The following picture is the information about my local chain. mychain info Screenshot from 2024-03-24 23-20-17