New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot fetch nft #26
Comments
It has to be something with the JsonRPC link in the index.js file or something in our config.js or hardhat.config.js. I'm having the same error and just playing around with the code. No solid solution to share yet. Any support would be appreciated. |
I had this issue the problem is coming from the deploy.js not printing out the correct NFTMarket contract address as well as the correct NFT contract address... |
@skimaharvey sorry I dont have enough know-how about Mumbai or test networks is there a guideline to follow to make this project run with a test network? |
@skimaharvey can you be more detail pls |
@berk-can hey i just figure out why we get this error. It's not our code. I think the problem is the version of libraries we use has changed. Just change the version in package.json exactly like orginal code and paste the package-lock.json from the orginal code to your project then npm i |
i get the same type of error as berk-can but for fetching market NFTs, i can create NFTs and they show in my dashboard but but not in the market, so i can't test buy/sell. Thanks |
@hoan27920232 sorry didnt get what you meant by original code, should I get package.json from a first commit of yours? |
@berk-can from the repository i assume |
hey i just figure out why we get this error. It's not our code. I think the problem is the version of libraries we use has changed. Just change the version in package.json exactly like orginal code and paste the package-lock.json from the orginal code to your project then npm i @hoan27920232 This doesn't fix the problem, i can still create NFTs and they show in my dashboard but not the marketplace (home page). I got this error again >>> Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.5.2) |
I had to add the chainstack RPC and it works now. NFTs are created and listed in dashboard for an account, and listed in the home page as marketplace, however nothing happens when i click on the Buy button. Thanks |
I've installed it from start, started hardhat server, connected metamask and imported account then went into site problem didnt occured again |
Hi all, I've setup project as mentioned in README (local setup without changing hardhat config), then I've connected new account from metamask (should I have do something else?) then I've clicked to My Assets, and it thrown this error:
Uncaught (in promise) Error: call revert exception (method="fetchMyNFTs()", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.5.0) at Logger.makeError (index.js?ffb2:185) at Logger.throwError (index.js?ffb2:194) at Interface.decodeFunctionResult (interface.js?a807:341) at Contract.eval (index.js?f179:288) at Generator.next (<anonymous>) at fulfilled (index.js?f179:5)
I am newby on Blockchain part so I dont know if there is something else I should have done, can somebody please direct me
The text was updated successfully, but these errors were encountered: