Skip to content

Commit

Permalink
feat: add video to Send Messages with Tokens doc (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
ffe9f8 authored Nov 14, 2023
1 parent a358505 commit 65138b5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/pages/dev/general-message-passing/gmp-tokens-with-messages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@

import { Callout } from "/src/components/callout"

<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/VkdRSrf4cmY"
title="YouTube video player"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
></iframe>

To call chain B from chain A and send some tokens along the way, the user needs to call `callContractWithToken` on the gateway of chain A, specifying:

- The destination chain, which must be an EVM chain from [Chain names](/dev/reference/mainnet-chain-names).
Expand Down

1 comment on commit 65138b5

@vercel
Copy link

@vercel vercel bot commented on 65138b5 Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.