From 0de26538285364ad2da3e1726c1b54ae86621678 Mon Sep 17 00:00:00 2001 From: Vivek Jain Date: Tue, 17 Dec 2024 20:17:03 +0530 Subject: [PATCH] Update nft package address --- docs/site/src/utils/ctf-utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/site/src/utils/ctf-utils.ts b/docs/site/src/utils/ctf-utils.ts index 959e229c47b..c4071f35470 100644 --- a/docs/site/src/utils/ctf-utils.ts +++ b/docs/site/src/utils/ctf-utils.ts @@ -26,7 +26,7 @@ export const handleChallengeSubmit = async ({ const NETWORKS = { testnet: { url: getFullnodeUrl('testnet') }, }; - + const NFTPackageAddress = "0xedeca9d6897cf86917e45f5c5cd596da48a5c4e3e1d9425aee42bed37c9ee44d" const client = new IotaClient({ url: NETWORKS.testnet.url }); const result = await client.getObject({ id: inputText, options: { showType: true } }); @@ -44,7 +44,7 @@ export const handleChallengeSubmit = async ({ const arg1 = new TextEncoder().encode('NFT Reward for completing challenge'); tx.setGasBudget(50000000); tx.moveCall({ - target: `0x6e4d9fbc71192a1220bf836672f16022b25cdc8548acaa7a9fd19510d34391e9::testnet_nft::mint_to_sender`, + target: `${NFTPackageAddress}::ctf_nft::mint_to_sender`, arguments: [tx.pure.vector('u8', arg0), tx.pure.vector('u8', arg1)], }); return tx;