Towards better alternate runtime environment support (e.g. browser, Bun, React Native, ...)
Focus first on light-client
/ prover
and their dependencies.
A number of node
modules are used in both modules or their dependencies. This forces non node
consumers to shim/polyfill those methods, which is not ideal. Some of the dependencies ship with polyfill, adding to the confusion.
Unless specified, it should be assumed that lodestar libs do not depend on env specific modules.