Closed macterra closed 2 months ago
It works when I add the import to a local copy of the source:
import { Buffer } from 'buffer';
const MASTER_SECRET = Buffer.from("Bitcoin seed", "utf8");
Actually we use esbuild and this package is used in an extension that includes all the necessary configuration to prevent errors like those that occur in your environment. You can find this configuration here: https://github.com/Nintondo/extension/blob/main/build.ts
What's the work around?