### Install and Run ccip-tools-ts CLI Source: https://github.com/smartcontractkit/ccip-tools-ts/blob/main/README.md Demonstrates how to clone the repository, install dependencies, and run the CLI tool. It shows different ways to execute the tool, including using `tsx` and `npm run build`. ```shell git clone https://github.com/smartcontractkit/ccip-tools-ts cd ccip-tools-ts npm install ./src/index.ts --help # tsx shebang available # or npm run build ./dist/ccip-tools-ts --help # node shebang script npx path/to/repo/ccip-tools-ts --help # or pointing to folder directly ``` -------------------------------- ### Get CCIP Lane Configuration Source: https://github.com/smartcontractkit/ccip-tools-ts/blob/main/README.md Retrieves and displays lane, OnRamp, and OffRamp configurations for a specified CCIP lane between two networks. It also performs validation checks and warns about potential mismatches, such as an OnRamp not being registered in the Router. ```sh $cli lane lane ethereum-mainnet 0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D avalanche-mainnet ``` -------------------------------- ### Solana Special Cases for CCIP Transaction Execution Source: https://github.com/smartcontractkit/ccip-tools-ts/blob/main/README.md Provides specific flags for handling Solana transactions, such as forcing buffer usage for large messages or creating lookup tables for accounts to fit within transaction limits. ```shell --solana-force-buffer ``` ```shell --solana-force-lookup-table ``` ```shell --solana-cu-limit ``` -------------------------------- ### Discover Supported CCIP Tokens Source: https://github.com/smartcontractkit/ccip-tools-ts/blob/main/README.md Discovers and validates tokens transferable between specified source and destination chains via CCIP. It supports automatic pool version detection, custom pools, rate limiter validation, and parallel processing. ```sh $cli --format pretty getSupportedTokens ethereum-mainnet 0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D polygon-mainnet ``` -------------------------------- ### Show CCIP Transaction Details Source: https://github.com/smartcontractkit/ccip-tools-ts/blob/main/README.md This command retrieves details for a given CCIP transaction hash. It automatically detects the source network and attempts to find commit reports and execution receipts. ```shell $cli [show] [--log-index num] ``` -------------------------------- ### Manually Execute CCIP Message Source: https://github.com/smartcontractkit/ccip-tools-ts/blob/main/README.md Allows manual execution of a CCIP message from a source transaction. Options include overriding gas limits for execution and token pool operations, estimating gas limits, and batch execution of messages from the same sender. ```shell $cli manualExec [--gas-limit num] [--tokens-gas-limit num] ``` ```shell $cli manualExec --estimate-gas-limit ``` ```shell $cli manualExec --sender-queue [--exec-failed] ``` -------------------------------- ### Estimate Gas for CCIP Message Source: https://github.com/smartcontractkit/ccip-tools-ts/blob/main/README.md Estimates the minimum CCIP gas limit required for a message execution without actually sending it. It mirrors the parameters of the `send` command, providing insights into gas costs for cross-chain operations. ```sh $cli estimateGas 11155111 0x0BF3dE8c5D3e8A2B34D2BEeB17ABfCeBaf363A59 ethereum-testnet-sepolia-arbitrum-1 \ --receiver 0xAB4f961939BFE6A93567cC57C59eEd7084CE2131 \ --sender 0xEC1062cbDf4fBf31B3A6Aac62B6F6F123bb70E12 \ --transfer-tokens 0xFd57b4ddBf88a4e07fF4e34C487b99af2Fe82a05=0.1 ``` -------------------------------- ### Send CCIP Message Source: https://github.com/smartcontractkit/ccip-tools-ts/blob/main/README.md Sends a message between specified source and destination networks using a CCIP router. Supports custom data, gas limits, fee tokens, and token transfers. If receiver is omitted, it defaults to the sender's address on the destination. Data can be UTF-8 encoded if not hex. ```sh $cli send 11155111 0x0BF3dE8c5D3e8A2B34D2BEeB17ABfCeBaf363A59 ethereum-testnet-sepolia-arbitrum-1 \ --receiver 0xAB4f961939BFE6A93567cC57C59eEd7084CE2131 \ --data 'hello world' \ --gas-limit 300000 \ --fee-token 0x779877A7B0D9E8603169DdbD7836e478b4624789 \ --transfer-tokens 0xFd57b4ddBf88a4e07fF4e34C487b99af2Fe82a05=0.1 ``` -------------------------------- ### Parse CCIP Transaction Data Source: https://github.com/smartcontractkit/ccip-tools-ts/blob/main/README.md Parses hex-encoded function call data, error messages, and revert reasons for known CCIP contracts. It can optionally decode specific fragments using a provided selector, including event data. ```sh $cli parseBytes 0xbf16aab6000000000000000000000000779877a7b0d9e8603169ddbd7836e478b4624789 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.