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
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
The following problems exist within the personal namespace of the interactive docs:
personal_newAccount example isn't working
personal_unlockAccount example doesn't work because it relies on personal_newAccount
personal_sendTransaction example doesn't work because it relies on personal_newAccount
The problem is due to the crypto-browserify package not being completely compatible with nodes crypto module. In personal_newAccount, encrypt is called and then we begin to run into errors with scrypt.
Could try setting up our own provider (like ganache.provider) and passing in own accounts. Or could try to polyfill the functions we need from the crypto package. Maybe try installing an scrypt browser-capable version, or using subtle crypto to .encrypt and .decrypt which uses the right aes type and so we could probably make it work somehow.
The following problems exist within the
personal
namespace of the interactive docs:personal_newAccount
example isn't workingpersonal_unlockAccount
example doesn't work because it relies onpersonal_newAccount
personal_sendTransaction
example doesn't work because it relies onpersonal_newAccount
The problem is due to the
crypto-browserify
package not being completely compatible with nodescrypto
module. Inpersonal_newAccount
, encrypt is called and then we begin to run into errors with scrypt.Could try setting up our own provider (like
ganache.provider
) and passing in own accounts. Or could try to polyfill the functions we need from thecrypto
package. Maybe try installing anscrypt
browser-capable version, or using subtle crypto to.encrypt
and.decrypt
which uses the rightaes
type and so we could probably make it work somehow.References:
The text was updated successfully, but these errors were encountered: