Node Polyfills
dApp-kit has been built on top of Connex, which will require crypto, buffer, http, https and some other node polyfills, check example app configuration files if you are stuck.
Last updated
Was this helpful?
dApp-kit has been built on top of Connex, which will require crypto, buffer, http, https and some other node polyfills, check example app configuration files if you are stuck.
Last updated
Was this helpful?
this usually happens when working with bundler. This config fixes it:
vite.config.ts
you miss some node polyfills, the fix depends on the bundler
example for vite bundler using `vite-plugin-node-polyfills`:
vite.config.ts
it's a common issue when you miss other node polyfills. in Angular we fixed it like so:
src/polyfills.ts