File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ const payer = Keypair.fromSecretKey(
4444 recipient . publicKey ,
4545 ) ;
4646
47- // Warm up: load compressed tokens (cold) to sender's hot balance
48- // Returns [] if already hot — safe to call unconditionally
47+ // Warm up: load compressed tokens to sender's light-token associated token account
48+ // (hot balance). Returns [] if already hot
4949 const loadIxs = await createLoadAtaInstructions (
5050 rpc ,
5151 senderAta ,
@@ -60,7 +60,7 @@ const payer = Keypair.fromSecretKey(
6060 await sendAndConfirmTx ( rpc , loadTx ) ;
6161 }
6262
63- // Trade: transfer from hot balance
63+ // Transfer from hot balance
6464 const transferIx = createTransferInterfaceInstruction (
6565 senderAta ,
6666 recipientAta ,
@@ -73,4 +73,4 @@ const payer = Keypair.fromSecretKey(
7373 const signature = await sendAndConfirmTx ( rpc , tradeTx ) ;
7474
7575 console . log ( "Tx:" , signature ) ;
76- } ) ( ) ;
76+ } ) ( ) ;
You can’t perform that action at this time.
0 commit comments