How to connect a local hardhat contract with the new version of moralis stream?

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?

this may help