CosmWasm / wasmd

Basic cosmos-sdk app with web assembly smart contracts
Other
368 stars 400 forks source link

Better support/docs for calling contracts from native code #372

Open ethanfrey opened 3 years ago

ethanfrey commented 3 years ago

This came up in some discord discussions. It is totally possible now if you get the x/wasm.Keeper or the Handler. We do enable a two way street (contract -> native and native -> contract). However, the second path is not well documented. Let's show a demo somewhere and add some API helpers as needed

alpe commented 2 years ago

This is what we have implemented in tgrade.