From d3fab2cb3a7c99080beef70715a638995a0a520d Mon Sep 17 00:00:00 2001 From: Amine E Date: Wed, 20 Mar 2024 17:11:14 +0100 Subject: [PATCH] CCIP: get status offchain (#1825) * CCIP: get status offchain * Apply suggestions from code review Co-authored-by: Dwight Lyle * add offchain page * add offchain page * add offchain page --------- Co-authored-by: Dwight Lyle --- src/config/sidebar.ts | 14 ++- .../tutorials/cross-chain-tokens-from-eoa.mdx | 16 +--- .../ccip/tutorials/get-status-offchain.mdx | 87 +++++++++++++++++++ src/content/ccip/tutorials/index.mdx | 21 +++++ src/content/ccip/tutorials/offchain.mdx | 12 +++ 5 files changed, 135 insertions(+), 15 deletions(-) create mode 100644 src/content/ccip/tutorials/get-status-offchain.mdx create mode 100644 src/content/ccip/tutorials/index.mdx create mode 100644 src/content/ccip/tutorials/offchain.mdx diff --git a/src/config/sidebar.ts b/src/config/sidebar.ts index 45c9b8eff5b..7296f3329cd 100644 --- a/src/config/sidebar.ts +++ b/src/config/sidebar.ts @@ -886,8 +886,18 @@ export const SIDEBAR: Partial> = { url: "ccip/tutorials/programmable-token-transfers-defensive", }, { - title: "Transfer Tokens between EOAs", - url: "ccip/tutorials/cross-chain-tokens-from-eoa", + title: "Offchain", + url: "ccip/tutorials/offchain", + children: [ + { + title: "Transfer Tokens between EOAs", + url: "ccip/tutorials/cross-chain-tokens-from-eoa", + }, + { + title: "Checking CCIP Message Status", + url: "ccip/tutorials/get-status-offchain", + }, + ], }, { title: "Transfer USDC with Data", diff --git a/src/content/ccip/tutorials/cross-chain-tokens-from-eoa.mdx b/src/content/ccip/tutorials/cross-chain-tokens-from-eoa.mdx index 9aa59f5cd62..50b4a6acc25 100644 --- a/src/content/ccip/tutorials/cross-chain-tokens-from-eoa.mdx +++ b/src/content/ccip/tutorials/cross-chain-tokens-from-eoa.mdx @@ -2,23 +2,13 @@ section: ccip date: Last Modified title: "Transfer Tokens between EOAs" -whatsnext: - { - "Learn how to send arbitrary data over CCIP": "/ccip/tutorials/send-arbitrary-data", - "See example cross-chain dApps and tools": "/ccip/examples", - "See the list of supported networks": "/ccip/supported-networks", - "Learn CCIP best practices": "/ccip/best-practices", - } +whatsnext: { "Checking CCIP Message Status Off-Chain": "/ccip/tutorials/get-status-offchain" } --- import { CodeSample, ClickToZoom, CopyText, Aside } from "@components" In this tutorial, you will use Chainlink CCIP to transfer tokens directly from your [EOA (Externally Owned Account)](https://ethereum.org/en/developers/docs/accounts/#types-of-account) to an account on a different blockchain. First, you will pay for CCIP fees on the source blockchain using LINK. Then, you will run the same example paying for CCIP fees in native gas, such as ETH on Ethereum or MATIC on Polygon. - -