forked from ton-core/ton-core
-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
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.
An example can be found at: https://github.com/ton-org/ton-core/blob/main/src/boc/BitString.ts#L17
mois-ilya
Metadata
Metadata
Assignees
Labels
No labels