Hi everyone,
i created account by using web3 with the following way web3.eth.accounts.create():
it give me account address and private key.
when i use this private key TX failed with the error that “expected private key to be an Unit8Array with length 32”.
I also tried by removing 0x from the front of private key still the error same.
Jan 11, 2021, 2:26 AM
new Uint8Array(....);
Jan 11, 2021, 3:59 AM
didn’t resolved by this
resolved
Jan 11, 2021, 6:18 AM