Find events on a deployed contract using ethers js.
This example fetches events from 0x1629179ec4e32F81E94688c608f6eC48BA949e84
on the polygon mainnet.
node index.js
This will generate the output file GemsAddedEvents.json containing the fetched events.