Skip to content

Conversation

@dohaki
Copy link
Contributor

@dohaki dohaki commented Nov 19, 2025

How to test via script

First, set in .env.local the env vars:

  • DEV_WALLET_PK=0x... if you want to execute deposits from EVM
  • DEV_WALLET_KEY_PAIR_SVM=[...] if you want to execute deposits from SVM

USDC Optimism -> USDH HyperCore

yarn tsx ./scripts/tests/swap.ts args \
--host "https://app-frontend-v3-git-usdh-sponsored-intents-uma.vercel.app" \
--originChainId 10 \
--destinationChainId 1337 \
--inputToken "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85" \
--outputToken "0x2000000000000000000000000000000000000168" \
--tradeType "exactInput" \
--amount 1000000 \
--depositor "0x9a8f92a830a5cb89a3816e3d267cb7791c16b04d" \
--recipient "0x9a8f92a830a5cb89a3816e3d267cb7791c16b04d" \
--skipTxExecution true # set to false if you want to execute tx

USDC Optimism -> USDH HyperEvm

yarn tsx ./scripts/tests/swap.ts args \
--host "https://app-frontend-v3-git-usdh-sponsored-intents-uma.vercel.app" \
--originChainId 10 \
--destinationChainId 999 \
--inputToken "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85" \
--outputToken "0x111111a1a0667d36bD57c0A9f569b98057111111" \
--tradeType "exactInput" \
--amount 1000000 \
--depositor "0x9a8f92a830a5cb89a3816e3d267cb7791c16b04d" \
--recipient "0x9a8f92a830a5cb89a3816e3d267cb7791c16b04d" \
--skipTxExecution true # set to false if you want to execute tx

USDC Solana -> USDH HyperEvm

yarn tsx ./scripts/tests/swap.ts args \
--host "https://app-frontend-v3-git-usdh-sponsored-intents-uma.vercel.app" \
--originChainId 34268394551451 \
--destinationChainId 999 \
--inputToken "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" \
--outputToken "0x111111a1a0667d36bD57c0A9f569b98057111111" \
--tradeType "exactInput" \
--amount 1000000 \
--depositor "FmMK62wrtWVb5SVoTZftSCGw3nEDA79hDbZNTRnC1R6t" \
--recipient "0x9a8f92a830a5cb89a3816e3d267cb7791c16b04d" \
--skipTxExecution true # set to false if you want to execute tx

USDC Solana -> USDH HyperEvm

yarn tsx ./scripts/tests/swap.ts args \
--host "https://app-frontend-v3-git-usdh-sponsored-intents-uma.vercel.app" \
--originChainId 34268394551451 \
--destinationChainId 999 \
--inputToken "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" \
--outputToken "0x111111a1a0667d36bD57c0A9f569b98057111111" \
--tradeType "exactInput" \
--amount 1000000 \
--depositor "FmMK62wrtWVb5SVoTZftSCGw3nEDA79hDbZNTRnC1R6t" \
--recipient "0x9a8f92a830a5cb89a3816e3d267cb7791c16b04d" \
--skipTxExecution true # set to false if you want to execute tx

@vercel
Copy link

vercel bot commented Nov 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
app-frontend-v3 Ready Ready Preview Comment Nov 22, 2025 5:09am
sepolia-frontend-v3 Ready Ready Preview Comment Nov 22, 2025 5:09am

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.

2 participants