Moralis Course Help Thread

Hi TheFabled, please remember that this video course is in Vanilla JS, but you are using React.

For more information on React components and hooks for your Moralis project here is the GitHub link to React Moralis docs:
https://github.com/MoralisWeb3/react-moralis

Thank you for the link. I will try using that for samples.

Now on to my next question, lol.

I am trying to display the market cap of any given token. I start by loading the token meta data, then pull the totalSupply using runContractFunction, I pull the updated price from the 1Inch hook. Now Im looking to adjust the total supply for burned tokens so I try to check the balance of the tokens in the burn address.

GetTokenBalance() of the address 0x00000000000… returns nothing? it works for all other addresses.

Is this an issue with the server doing a check to make sure the input address is not the 0x0 address, or maybe is it stopping the historical sync due to the data size of the request?

Already solved in another topic from you, please take a look.

Carlos Z

the address 0x00000… means a zero address, so is normal that does not return any data over that zero address.

Carlos Z

I don’t understand? The zero address is just like any another address. It might hold the most crypto out of all the addresses. Even my own token uses it as a burn address for tokens and LP. Why would it not return any info?

1 Like

In Moralis the plugin are not listed for fiat or 1 inch. How can I install them?

1 Like

You can read more about it here: :nerd_face:

https://btcmanager.com/ethereum-genesis-address-black-hole-520-million-worth-tokens/

Carlos Z

Please take a look at the video provided in our docs :nerd_face:

https://docs.moralis.io/moralis-server/plugins

Carlos Z

Hey All
Do I need to pay to access the Moralis Discord Server?

Not at all, its completly free. You just need a discord account, and join to our server.
Any other “pay” feature showed in discord, its them, not us, our discord server is completely free to join.

Carlos Z

Thanks. Could you paste the link here please? The link on the website sends me to a server where I have the “boost” the server and pay.
Kind Regards

1 Like

Sure

https://discord.gg/VJc2MKBY

Should redirect you to the same server i have. :nerd_face:

Carlos Z

1 Like

That worked!
Regards

1 Like

I noticed that when you get to section 201 / 202 the instructor is presenting code that he says we have already written.

I’m not seeing those sections in the video. Is he referencing a previous video/tutorial series he did?

I took a look through the Moralis videos on YouTube but I’m not seeing anything obvious.

I did look at the git repository and am able to work through the code and understand it but for someone who may be newer to programming, I think this is probably pretty confusing.

Maybe a link to those videos could be added to the video description / links.

Hey @mindfoolgames, hope you are well.

Indeed sir, the template was made for this video, then modified a little bit for this course, which is only vanilla JS.

https://www.youtube.com/watch?v=UP6MfkU3Bkg&list=PLFPZ8ai7J-iR4F882O2mBjqydynG9iDZS&index=7

You can find all the code for each section here: https://github.com/MoralisWeb3/course-resources

Carlos Z

1 Like

Thank you for the reply.

Fortunately I found the code in the repository and was able to work through it.

How to connect moralis with Ganache. i am trying hard but it does not work

You need to spin up a local dev chain server, then you can follow the instructions under the “View Details” section.

Here’s a video that may also help:
https://www.youtube.com/watch?v=aRRS394is1U

1 Like

we can not find those option in updated moralis. There is no more option to connect to ganache

thi
i am trying to connect with ganache but i could not see any option as shown in video.
what can i do?

1 Like