Skip to content

Conversation

dfapel
Copy link
Collaborator

@dfapel dfapel commented Sep 12, 2025

Summary

This PR adds an example script to send an interchain transfer from Solana.

Notes

There is no "gas price" on Solana - transaction fees are fixed, and there is an optional priority fee. The script will display the average prioritization fee as returned by the RPC.

Example transfer: https://devnet-amplifier.axelarscan.io/gmp/5UWgw1wpveXdaKwGnWzLmzhpbC4gSB9Pu2s5orR4wjLtKCtnMygikWdFRVuv37ze1Hnf9ubVEUG4FhcUYbKKqzzx-15

It is possible to specify a payload that is then used to execute the callContractWithInterchainToken function on the destination account after the interchain transfer succeeded.

Usage

How to run:

bun solana:start <token-id> <token-address> <destination-chain> <destination-address> <amount> <payload>

@tzinas tzinas changed the title Add ITS transfer script for Solana Add ITS transfer script for Solana (SQU-2, SQU-1) Sep 16, 2025
Copy link

linear bot commented Sep 16, 2025

SQU-2

SQU-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant