From 84715d0b8bf018163f1d654ec89c56346542a4b6 Mon Sep 17 00:00:00 2001 From: Vivek Jain Date: Tue, 17 Dec 2024 20:36:39 +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 c4071f35470..f723be1a38c 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 NFTPackageAddress = "0x61b31360fb89cae585b8cb593edde20dfc690a3f260c12693bbb8b33ebf4707d" 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: `${NFTPackageAddress}::ctf_nft::mint_to_sender`, + target: `${NFTPackageAddress}::CTF_NFT::mint_to_sender`, arguments: [tx.pure.vector('u8', arg0), tx.pure.vector('u8', arg1)], }); return tx;