Try to important from the same account that you bought this NFT, the same wallet, add address and ID and make sure you are in the right network you can see in the top of MetaMask, it should work
Thanks for the reply.
i didn’t bought the NFT. i mint the nft with the help of the following tutorial
When you mint it, to which address did you do that?
because mint means you have to assign this particular NFT to wallet address?
when you upload your NFT to the Dapp and submit, there should be MetaMask that connected to the Dapp, the same MetaMask address you need to import that NFT
i mint this with my address “0x5438344a1d8e62Eb9022829680d30A1025180e8A”
I can track the transaction now please see it bellow: please change the network in your metamask to Rinkeby Test Network and try to import again from mobile app metamask
Address 0x5438344a1d8e62eb9022829680d30a1025180e8a | Etherscan
I think it’s this one https://github.com/ethereum-boilerplate/ethereum-nft-marketplace-boilerplate/blob/main/src/contracts/marketplaceBoilerplate.sol the marketplaceBoilerplate contract
@ennng I tried in Rinkeby Test Network but I got the same error message.
Let me tell you what we need to build.
want to create own NFT token, and list it in the marketplace which moralis provided.
Please advise me to do this.
Thank you.
What you can do:
1- Create your own NFT or generate your NFT, there are many code out there you can easily generate NFT after that ( you need to get the image and josn file and upload them to any platform that support IPFS like Pinata (very easy to upload your image and json files)
2-Go to remix and deploy your NFT contract, the first step you don’t do anything yet, only generate NFT and upload it to platform, in this step you deploy your contract to the blockchain and during deploying you can choose whatever blockchain network you want, by changing on MetaMask that you connected to Remix, I would suggest first you deploy on Mumbai test network because the address of Marketplace (clone opeansea) is already deployed and you don’t have to deploy Market again, later you can deploy your own Market,
so, now you have address for NFT and Address for Market
3-From step 2 you can mint easily from Remix when you deploy your NFT there is choice to mint to any address (wallet) you want and then after mint
connect your wallet (that you mint to) to the Market and everything will work fine.
BTY when you deploy your NFT (this generate address which is the address of your collection) and you can mint to any other wallet or address because you are the owner of this collection.
please follow this tutorial, it is very simple and only 20 minutes or so and all codes and resources are include you do not have to write a single line of code only follow along.
How to create an ERC721 NFT collection? | Deploy Smart Contract on Polygon - YouTube
Important question please?
I deployed my own contract (Market) and I have also my own NFT collection on my wallet so if I want to list my NFT collection to the Market explorer (my own address) I have to do it one by one to display all my NFT on to Market explorer? it will take more time, lets say I have 1000 NFT? then under my collection do I have to list one by one to display them on the Market?
Is there easy and quick way to do that? even through other platform like opensea or rarible?
error message Invalid ABI, please verify
you can try this one under providers MoralisDappProvider.js
const [contractABI, setContractABI] = useState(’[ { “inputs”: [], “stateMutability”: “nonpayable”, “type”: “constructor” }, { “anonymous”: false, “inputs”: [ { “indexed”: true, “internalType”: “uint256”, “name”: “itemId”, “type”: “uint256” }, { “indexed”: true, “internalType”: “address”, “name”: “nftContract”, “type”: “address” }, { “indexed”: true, “internalType”: “uint256”, “name”: “tokenId”, “type”: “uint256” }, { “indexed”: false, “internalType”: “address”, “name”: “seller”, “type”: “address” }, { “indexed”: false, “internalType”: “address”, “name”: “owner”, “type”: “address” }, { “indexed”: false, “internalType”: “uint256”, “name”: “price”, “type”: “uint256” }, { “indexed”: false, “internalType”: “bool”, “name”: “sold”, “type”: “bool” } ], “name”: “MarketItemCreated”, “type”: “event” }, { “anonymous”: false, “inputs”: [ { “indexed”: true, “internalType”: “uint256”, “name”: “itemId”, “type”: “uint256” }, { “indexed”: false, “internalType”: “address”, “name”: “owner”, “type”: “address” } ], “name”: “MarketItemSold”, “type”: “event” }, { “inputs”: [ { “internalType”: “address”, “name”: “nftContract”, “type”: “address” }, { “internalType”: “uint256”, “name”: “tokenId”, “type”: “uint256” }, { “internalType”: “uint256”, “name”: “price”, “type”: “uint256” } ], “name”: “createMarketItem”, “outputs”: [], “stateMutability”: “payable”, “type”: “function” }, { “inputs”: [ { “internalType”: “address”, “name”: “nftContract”, “type”: “address” }, { “internalType”: “uint256”, “name”: “itemId”, “type”: “uint256” } ], “name”: “createMarketSale”, “outputs”: [], “stateMutability”: “payable”, “type”: “function” }, { “inputs”: [], “name”: “fetchMarketItems”, “outputs”: [ { “components”: [ { “internalType”: “uint256”, “name”: “itemId”, “type”: “uint256” }, { “internalType”: “address”, “name”: “nftContract”, “type”: “address” }, { “internalType”: “uint256”, “name”: “tokenId”, “type”: “uint256” }, { “internalType”: “address payable”, “name”: “seller”, “type”: “address” }, { “internalType”: “address payable”, “name”: “owner”, “type”: “address” }, { “internalType”: “uint256”, “name”: “price”, “type”: “uint256” }, { “internalType”: “bool”, “name”: “sold”, “type”: “bool” } ], “internalType”: “struct marketPlaceBoilerPlate.MarketItem[]”, “name”: “”, “type”: “tuple[]” } ], “stateMutability”: “view”, “type”: “function” }, { “inputs”: [], “name”: “owner”, “outputs”: [ { “internalType”: “address”, “name”: “”, “type”: “address” } ], “stateMutability”: “view”, “type”: “function”}]’)
It’s already there bro
if you have done .env correctly and place the correct ABI and address that should work otherwise I don’t know exactly where the issue come from? probably other member can help you on that.
Also try to update npm install
node_modules
sometimes gave a lot of errors when update them,it will resolve, try all possibilities.
Thanks a lot for your help, the error message is on moralis server side is not on the dapp
Hey, so I just snagged the boiler-plate code, installed the dependencies, running a Moralis server on ETH MainNet, and connected a wallet with an ETH NFT, but it doesn’t get fetched.
seems like you could be forgotten to export something from the file?
Hey. I have watched your video many times, I have not been able to solve these issues “there was a problem with the confirmation setting” and “there was a problem listing your nft” you can click on the link for a detailed explanation. https://www.youtube.com/watch?v=dxNe5Xwpy8o Can you help me, please?
Could any mods help with this? I haven’t made any edits to the code base yet and I am extremely hesitant to. I have used Moralis to spin up dapps before and have had no issues retrieving my NFT balances. With this boiler plate code, I didn’t make any edits to it at all, connected my wallet that contains an NFT, and it does not display. Even the console is showing that it is empty and that’s just not true.
Can anyone check for me whether there are columns for each attribute of the MarketItemCreated event in the CreatedMarketItems table in the Dashboard when the sync event is created/when the table is created? I’m finding that the attribute names don’t show up when the table is empty, and was wondering if that was normal.