ourzora / ocs-hackathon-24

Zora Onchain Summer Hackathon 24 Guide
7 stars 0 forks source link

unable to mint zora nft #7

Open Nith567 opened 3 weeks ago

Nith567 commented 3 weeks ago

all i am doing is trying to mint these: zora.co/collect/base... through coinbase smart wallet in my website thats it. Check this out for abi : base.blockscout.com/address/0xAF...

repo: https://github.com/Nith567/mint-

I wonder where exactly went wrong here also in the abi unable to conclude what minterarguments contain: "name": "minterArguments",( i have done like this, correct me if i am wrong here: const mintArguments = { quantityToMint: 1, mintComment: "Summer Chain!", mintReferral: "0x8879318091671ba1274e751f8cdef76bb37eb3ed" }; ) which i encoded this one

Nith567 commented 3 weeks ago

@oveddan

Screenshot 2024-06-09 at 8 29 19 PM
iainnash commented 2 weeks ago

Hi!

Can you help by sharing the encoded data you're sending to the coinbase smart wallet?

You should be able to console.log the data.

Another thing to pay attention to is that you need to assign a payable ethereum value along with the calldata for the mint to go through.