Contract - module call
Explanation of executing modules inside a CosmWasm contract using sending Native SCRT as an example.
Last updated
Was this helpful?
Explanation of executing modules inside a CosmWasm contract using sending Native SCRT as an example.
Last updated
Was this helpful?
Sending Native SCRT from a contract is realtively trivial and can be done using the message. This is a call. Any native denoms can be send in this way (ex. native IBC tokens).
Having Trouble? Always make sure your contract has enough funds to begin with!
You can send some coins to your contract like this:
You can always see decrypted error messages from the contract like so:
You can see the spent coins as events when you query for the transaction: