I am developing a smart contract project and I need to listen events on my expressjs-server. Is it possible to listen events from there?


You can use Graph to subscribe to event from your contract from your expressjs-server https://ethereum.org/en/developers/tutorials/the-graph-fixing-web3-data-querying/#gatsby-focus-wrapper as an alternative you can use Ethers.JS https://docs.ethers.io/v5/concepts/events/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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