hello everyone i mnaged to create contract and put it on testnet and i’m trying to claim the nft contract
this my code for claiming `
const callNft = async () => {
await doContractCall({
contractAddress,
contractName: "bit-nft",
functionName: "claim",
functionArgs: [],
onFinish: (data) => {
console.log({ data });
},
postConditions: [
createNonFungiblePostCondition(
"waller-addres",
NonFungibleConditionCode.Owns,
createAssetInfo("address", 'bit-wolfy', 'bit-wolfy'),
stringUtf8CV('bit-nft')
)
],
network
})
}`
but i get faild on wallet abot by post-condition. i’m trying to find example for how make claim nft using stacks js and i can’t find one any help