Open bajtos opened 2 weeks ago
As mentioned in the review of the spark-evaluate PR, we should rather switch to ethers@6. This module was only a temporary crutch, as JSON-RPC providers didn't yet support eth_getFilterChanges. I believe that's also less work :)
When using this package from a TypeScript-enabled project, the function
onContractEvent
hasany
type, which prevents TypeScript for performing any type checking.Things to change:
[ ] Add
index.d.ts
file and describe the exported types there[ ] Add the following entry to
package.json
: