Browse Source

token updates

jpcaulfi 3 years ago
parent
commit
1843bbcf74
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tokens/mint-2/anchor/tests/test.ts

+ 3 - 0
tokens/mint-2/anchor/tests/test.ts

@@ -73,6 +73,7 @@ describe("mint-token", () => {
         mint: mintKeypair.publicKey,
         owner: payer.publicKey
     });
+    console.log(`Token Address: ${tokenAddress}`);
 
     await program.methods.mintToWallet(
       new anchor.BN(amountToMint), mintAuthorityPdaBump
@@ -105,10 +106,12 @@ describe("mint-token", () => {
         mint: mintKeypair.publicKey,
         owner: payer.publicKey
     });
+    console.log(`Owner Token Address: ${ownerTokenAddress}`);
     const recipientTokenAddress = await anchor.utils.token.associatedAddress({
         mint: mintKeypair.publicKey,
         owner: recipientWallet.publicKey
     });
+    console.log(`Recipient Token Address: ${recipientTokenAddress}`);
 
     await program.methods.transferToWallet(
       new anchor.BN(amountToTransfer)