Hey guys,
How do we connect to the self hosted moralis server (on hardhat)? I need to do this to test cloud code. I used to use the following command to test on Moralis hosted server:
moralis-admin-cli connect-local-devchain --chain hardhat --moralisSubdomain mgjfj1lq8sbh.usemoralis.com --frpcPath ./frp/frpc
I tried doing this now, replacing Moralis subdomain with my localhost domain, however that gives an frpc error.
Also, from the client file, what syntax do we use to query the database. Do we continue using Moralis.Cloud?