0
const privateKey = user_wallet.private_key;
const bundlr = new Bundlr(arweaveUrl, "Ethereum", privateKey );
await bundlr.ready();

Im not able to initalize Bundlr for etherum.

Giving me the following error

{
    "message": "Invalid typed array length: 0xPRIVATEKEY"
}
2
  • can you post a private key example. it seems that the used format is incorrect
    – Badr Bellaj
    Jan 10, 2023 at 10:52
  • I used it as it is just from the DB ,its not at all encrypted
    – user114704
    Jan 10, 2023 at 11:14

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.