axelarnetwork / support

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

Can I get callers address from destination chain? #47

Closed Olanetsoft closed 10 months ago

Olanetsoft commented 10 months ago

If I send a message over axelar to a contract on destination chain B, is there any way for that contract to verify the message came from me and not someone else?

Olanetsoft commented 10 months ago

Yes, you can verify the origin of a message sent to a contract on a destination chain. The Axelar network decentrally verifies and signs the truth of the source transaction, chain, and address. Then, this is available to you for authorization as part of your _execute method. We handle authentication; you handle authorization.

We made a video on this; take a look at it here.