@@ -18,8 +18,8 @@ import { SignerStuff, getSigner, getTokenDecimals } from '../helpers/helpers';
18
18
const wh = await wormhole ( 'Testnet' , [ evm , solana , sui , aptos ] ) ;
19
19
20
20
// Grab chain Contexts -- these hold a reference to a cached rpc client
21
- const sendChain = wh . getChain ( 'Aptos ' ) ;
22
- const rcvChain = wh . getChain ( 'Solana ' ) ;
21
+ const sendChain = wh . getChain ( 'BaseSepolia ' ) ;
22
+ const rcvChain = wh . getChain ( 'Monad ' ) ;
23
23
24
24
// Get signer from local key but anything that implements
25
25
// Signer interface (e.g. wrapper around web wallet) should work
@@ -30,7 +30,7 @@ import { SignerStuff, getSigner, getTokenDecimals } from '../helpers/helpers';
30
30
const token = Wormhole . tokenId ( sendChain . chain , 'native' ) ;
31
31
32
32
// Define the amount of tokens to transfer
33
- const amt = '1 ' ;
33
+ const amt = '0.01 ' ;
34
34
35
35
// Set automatic transfer to false for manual transfer
36
36
const automatic = false ;
@@ -104,7 +104,8 @@ async function tokenTransfer<N extends Network>(
104
104
105
105
// 2) Wait for the VAA to be signed and ready (not required for auto transfer)
106
106
console . log ( 'Getting Attestation' ) ;
107
- await xfer . fetchAttestation ( 400_000 ) ;
107
+ const timeout = 30 * 60 * 1000 ; // Timeout in milliseconds (20 minutes)
108
+ await xfer . fetchAttestation ( timeout ) ;
108
109
// console.log(`Got Attestation: `, attestIds);
109
110
console . log ( ' ' ) ;
110
111
0 commit comments