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
I'm developing a dapp using sveltekit + tonconnectui, I have to install the vite-plugin-node-polyfills package to fix the Fix Buffer is not defined error, because @ton/core uses Buffer which is a nodejs only type. I hope you can replace it with Uint8Array so we can better use it in browser.
I'm developing a dapp using sveltekit + tonconnectui, I have to install the
vite-plugin-node-polyfills
package to fix the Fix Buffer is not defined error, because@ton/core
usesBuffer
which is a nodejs only type. I hope you can replace it withUint8Array
so we can better use it in browser.An example can be found at: https://github.com/ton-org/ton-core/blob/main/src/boc/BitString.ts#L17
The text was updated successfully, but these errors were encountered: