ASSOCIATED_TOKEN_PROGRAM_ID,
} from '@solana/spl-token';
} from '@certusone/wormhole-sdk';
const SOLANA_TOKEN_BRIDGE_ADDRESS = "wormDTUJ6AWPNvk59vGQbDvGJmqbDTdgWgAqcLBCgUb";
// determine destination address - an associated token account
const solanaMintKey = new PublicKey(
(await getForeignAssetSolana(
SOLANA_TOKEN_BRIDGE_ADDRESS,
hexToUint8Array(nativeToHexString(tokenAddress, CHAIN_ID_ETH) || "")
const recipientAddress = await Token.getAssociatedTokenAddress(
ASSOCIATED_TOKEN_PROGRAM_ID,