I have a smart contract in Remix and would like to be able to filter events using Infura. I know nothing on how to get started. I went to infura and created a project which has a project ID. What should I do next? How do I connect them together?
I don't know about the solution as a whole (event filtering), but I can help by connecting to Infura from Remix:
- Open "DEPLOY & RUN TRANSACTIONS" tab from the left panel (Eth logo and ">")
- In the "Environment" field choose "Web3 Provider"
- In the opened pop-up window put your Infura endpoint. Endpoint's example: "https://%NETWORK_NAME%.infura.io/v3/%PROJECT_ID%".
- Then you can deploy or import the contract.