I’m trying to connect my hardhat instance to my moralis database to index event data. I have a hardhat node running on http://127.0.0.1:8545/
, and I have a server running. The admin CLI command I’m running is:
moralis-admin-cli connect-local-devchain --moralisApiKey XXXXX --moralisApiSecret XXXXX --frpcPath ./frp/frpc --chain hardhat --moralisSubdomain https://XXXXX.usemoralis.com:XXXX/server
However, I keep getting:
Subdomain not found!
Following servers were found:
(0) XXX
(1) XXX
(2) XXX
I know I can just hit 2
to connect to the server I want, but wondering what I’m doing wrong here?
EDIT: Additionally… When I hit 2
I get:
Starting connection to Hardhat
And in my admin panel it says Connected
, but it might be a good feature to have the CLI also say connected