Here I am attaching a snapshot of what I made changes in code as per the GitHub repo explanation.
Can anyone help me to figure out whether all changes which I made are correct or not?
Here I am attaching a snapshot of what I made changes in code as per the GitHub repo explanation.
Can anyone help me to figure out whether all changes which I made are correct or not?
I don’t think you need to add bracket to the Option
component there
I removed brackets after I build the code. but nothing gets loaded in the browser and the console has no error. How do I fix that and successfully run the code?
Collection Address: 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D for Bored Ape Yachet Club, is it correct address am I added or not?
I’m not sure about why it’s not appearing and those are just warning in the console you can ignore them
But I’m not so familiar with the Rarity Rank tutorial did you follow it till the end of the video?
Maybe something was added throughout the video
Yes, I did, But is any specialist available for same to fix the issue.
Hi @Spoilerx, lets see if we can figure out whats going on with your app! Is the collection with all the rankings being generated to you Moralis DB whne you run the node.js script :)?
I think so YES, if you want I can share my moralis server access for verification if you want to do
@YosephKS @IAmJaysWay Guys are you available, I am okay to pay you for helping on this. I am sure it’ll not take long.
Hey, really sorry for the long waiting time! Could you send a snap shot of your DB with the NFT collection page and then from there, we can aim to solve your problems
if you also need access to our server we can share it with you. We can also share with you the local code we are using.
It doesn’t seem like you have any classes with ranked NFT collections in them. A new class should be created every time you run the the Node.js file Are you getting any errors when you run the Node.js file in path
generator/main.js
?
No I am not gettiing any error, Can we join over discord for better discussion or may we can do screen sharing if possible.
Hey @Spoilerx,
Could you still try add this console.log(i)
in the following for loop:
for (let i = pageSize; i < totalNum; i = i + pageSize) {
console.log(i); //ADD THIS
const NFTs = await Moralis.Web3API.token.getAllTokenIds({
address: collectionAddress,
offset: i,
});
allNFTs = allNFTs.concat(NFTs.result);
await timer(6000);
}
it should allow you to follow nicely in the console when the rarity generator has completed. As I have a hunch that you are not completely running your rarity generator, otherwise you should have an error or the collection appearing in your DB. This is my last guess as to why it may not be working for you… if still no luck, dm me and we can try sort something out start of next week. Your console should look something like this (and after the single number incrementing begins you should start getting objects in your Moralis DB):
Sure let me do that share what I am getting. Sure we’ll sort next week no problem if required.
Thank You!
did anyone get a conclusion to this?
I run node.js in generator folder and get a bunch of metadata in green but no yellow NFTID numbers… using the correct server url and app id…no idea why its not connecting and making tables…
Can you make a new thread/topic please with more details e.g. your code.