0

The server option has been removed from moralis which was easier to work with. But now it has a stream option. I have already set up the mongodb database, local server etc..

To create a new stream which wants to listen to the events, it needs the contract address and abi. But I haven't deployed the contract on testnet yet, I want to use the local hardhat contract address and abi. Can someone please tell how to do it?

1 Answer 1

0

The Streams API doesn't support local chains, you can view the supported chains here.

2
  • So I must deploy it first in goerli testnet and then use it? Commented Dec 16, 2022 at 5:29
  • Correct if you want to use the Streams API.
    – Alex
    Commented Dec 16, 2022 at 19:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.