Skip to content

Commit 1843bbc

Browse files
author
jpcaulfi
committed
token updates
1 parent 766abd4 commit 1843bbc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tokens/mint-2/anchor/tests/test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ describe("mint-token", () => {
7373
mint: mintKeypair.publicKey,
7474
owner: payer.publicKey
7575
});
76+
console.log(`Token Address: ${tokenAddress}`);
7677

7778
await program.methods.mintToWallet(
7879
new anchor.BN(amountToMint), mintAuthorityPdaBump
@@ -105,10 +106,12 @@ describe("mint-token", () => {
105106
mint: mintKeypair.publicKey,
106107
owner: payer.publicKey
107108
});
109+
console.log(`Owner Token Address: ${ownerTokenAddress}`);
108110
const recipientTokenAddress = await anchor.utils.token.associatedAddress({
109111
mint: mintKeypair.publicKey,
110112
owner: recipientWallet.publicKey
111113
});
114+
console.log(`Recipient Token Address: ${recipientTokenAddress}`);
112115

113116
await program.methods.transferToWallet(
114117
new anchor.BN(amountToTransfer)

0 commit comments

Comments
 (0)