axelarnetwork / support

Your source for support with the Axelar Network
3 stars 1 forks source link

Call a smart contract message upon receiving the funds transferred, from any chain to a cosmos chain. #32

Closed Olanetsoft closed 10 months ago

Olanetsoft commented 10 months ago

Basically replacing a Send Message with an execute contract message.

Olanetsoft commented 10 months ago

Take a look at this code sample: https://github.com/axelarnetwork/evm-cosmos-gmp-sample/tree/main/cosmwasm-integration/multi-send

It sends funds from an EVM to a Cosmos Chain and programmatically does something with the transferred assets. You should be able to modify it to do whatever you want on the destination chain.