Skip to content

Commit

Permalink
Update nft package address
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekjain23 committed Dec 17, 2024
1 parent f0aa87e commit 0de2653
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/site/src/utils/ctf-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 } });

Expand All @@ -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;
Expand Down

0 comments on commit 0de2653

Please sign in to comment.