You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
I'm currently trying to run a web worker to check objects in smart contracts using the web3 npm package. The web3 library references the window object on import and thus errors out since the window object does not exist in the context of the web worker. All libraries not using the window object seem to be importing fine into he web worker.
Use Cases
When we want to simultaneously run a dapp and also check changes in global state variables without creating blockchain events.