Speedy Nodes + Moralis API

Hello.

Is it possible to use it with NodeJS? How I can use it? Because I found only this and can’t understand how I can use speedy nodes + moralis API with NodeJS.

Thanks.

1 Like

Using speedy node is like using any other node. You use the ROC url to init a web3 or ethers object.

Web3Api can be used from nodejs, this is not related to nodes. You init Moralis with server url and appid or with moralisSecret and you can use web3api after that

1 Like

So another words I just use speedy for connect to a node? And then can use ethersjs / web3js for work with that?

Can u provide more info about moralisSecret and how I can use it with nodejs?

Thanks.

You can find it in your admin interface, you can use it instead of server url and app id when you init Moralis sdk. You should keep it secret. We will add example in documentation too in the near future.

1 Like

Where?

How? Can u provide me with code example?

But how I can do it right now? )

Thanks.

You can find examples in other forum posts on how to do it with server url and app id. After you do that you only replace the parameters with only one parameter named moralisSecret

You can try to do it first with server url and app id so that it is easier to get to the next step

2 Likes

An example:

1 Like

Ok. Now I see. But u didn’t answer where I cam take it in admin area? Which one?

Already do it with server. But with moralisSecret not. I can’t find any info about it. Try to search in docs and find only this: https://c2n.me/4f75bqA.png. But I think it’s not the same.

Thanks.

Try in admin interface, where you can see your account info.

1 Like

I suggest you can go step by step and install node and integrate speedy nodes: https://docs.moralis.io/speedy-nodes/connecting-to-rpc-nodes/connect-to-eth-node#connect-to-your-speedy-node

check this out

1 Like

2 Likes

By default opened the page https://admin.moralis.io/servers. So a u talking about this one: https://c2n.me/4f75m3b.png?

I already got it. Thanks.

Thanks.

1 Like

That is where moralisSecret is, you found it now

1 Like