BIP38 is a standard process to encrypt Bitcoin and crypto currency private keys that is less susceptible to brute force attacks thus protecting the user.
This package can't be used with Plug'n'Play which is a feature of Yarn Berry because it relies on implicit dependencies.
bip38 tried to access safe-buffer, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
Required package: safe-buffer (via "safe-buffer")
Required by: bip38@npm:3.1.0 (via /Users/brian/Code/platform-sdk/.yarn/cache/bip38-npm-3.1.0-f2bcae6b96-2.zip/node_modules/bip38/)
Adding safe-buffer as a direct dependency resolves this issue.
This package can't be used with Plug'n'Play which is a feature of Yarn Berry because it relies on implicit dependencies.
Adding
safe-buffer
as a direct dependency resolves this issue.