Cloning OpenSea NFT Boilerplate Questions

there seems to be no audio in your recording

but I’m not sure if it’s really an error, looks like it might be just missing implementation or some error modal placeholder in the UI there :raised_hands:

can you check which address is the API checking the NFT balance of?

In the beginning when you first create them, I believe it is like that but once it synced everything some other columns should appear :raised_hands:

1 Like

Thanks so much for letting me know! Would you happen to also know whether the “event” attribute should not be undefined when you attempt to list an NFT with the final code? In the image below the “event” attribute is undefined.

Assuming you’re using web3js (which is the one that’s used in this tutorial) :thinking:

then based on the docs, it seems that the event will only appear on("receipt")

https://web3js.readthedocs.io/en/v1.2.11/web3-eth-contract.html#id36

did you do this? or how do you implement to get the console log?

Hey , sir as I see u clone the marketplace successfully
I have a question, is in the marketplace there is function to list nft through ur wallet ?
Means user connects the wallet and all the nft will show in his wallet then he clicks on the nft and then there is option of listing or sell …
I Don’t want to mint nft I just want to sell and buy

This console.log was of the error receipt returned from a failed attempt at listing an NFT. My code for the list function in the NFTBalance.jsx file is as below:

This is all because I’m getting an “Error: Transaction has been reverted by the EVM” error whenever I try to list an NFT with the final boilerplate code. However, executing the createMarketItem() function in Remix also fails, with the status “false Transaction mined but execution failed”. Therefore, I’m thinking my Sync event might be incorrect. Would you be able to have a look at it below?


image
image

Hi @ennng, Thanks for your reply.

Finally, I created my own NFT with your guidance, thanks again. and it is listed in your collection tab it’s fine.

When I try to list the NFT, there is an approve button with Approve for all function what is the purpose of this button?

Also after successfully listing the NFT it does not appear in the marketplace.

Also, I can’t buy any nft from the marketplace it shows This nft is not for sale.

please help me with this.

Thank you.

congratulations :slight_smile:

Just try to list your NFT and forget about Approve button, if not going through then you have to approve but normally you don’t need it,
after List your NFT, the MetaMask will pop up and ask for little fees, if you accept then you have to wait from a conformation sometimes take a few second sometimes takes more time (in main net) depends on Network and you have to wait also to display on the Marketplace (not instantly display, it will take sometimes), if display then you can see buy on your NFT and you can buy it again (used other wallet address)

1 Like

Thank for your reply @ennng.

Okay, i approve the nft and then listed it both are working fine with success message. but when i see in scan i see only two transactions. there is no transaction for list i attached the image below.

And also i can’t see anything in the your transaction tab

Please help me to resolve this.

Thank you.

Have an another doubt, do i want to add this NFT in collections.js file?

@ennng

i’m getting error in getAllTokenIds
https://mdn1vfdmhcz6.usemoralis.com:2053/server/functions/getAllTokenIds

this is the payload passing
chain: “0x13881”, address: “explore”, limit: 10

at the address attribute there is no address.

i don’t know what is worng.

What are you trying to do here?

i just see this in the network tab it was failing with 400 status code,
Thats why im asking to you, is there any problem with this?

You can do Bundles & Bulk Transfer in opensea or you can use a tool called mini mouse macro (which is basically track all your movement and click on the computer, you have to done the step ones and then it will automate and repeat all steps by its own,
if anyone have better solution please let us know

sorry I don’t know, maybe somebody else can help you on this!

1 Like

Thanks for your reply.

still the listed NFTs are not showing in the marketplace i attached the moralis dashboard here

You can see there are some transactions in ItemImages but no transactions is in the CreatedMarketItem and MarketItems

i can see the listed nft transaction in the ItemImages tab

Please help me with this.

Thank you

Have you include the address of NFT to collections.js ?

“0x89”: [ // This ID of Matic (polygn network)
{

    image:
    "https://gateway.pinata.cloud/ipfs/.......",
    name: "xxxx",   
    addrs: "xxxxx......", 
}
  
  ],

if yes, have you got the confirmation? please check your metamask (there is pending and queue how many NFT still under process)
Untitled

please check that you can speed the process by increasing the fees price.

How can I solve this problem ? I think I’ve done everything right, can you please help me?

@ennng sorry for the inconvenience the problem is from my end only i fixed this problem. Now i can see the things in your transaction tab.

after list the nft, i try to buy those nft with other account. but i did not see the particular nft in the marketpalce but i can see other nft which not listed.

i don’t know what is the problem please help me to fix this.

thank you.