1

enter image description here

If someone has an Ethereum ICO keystore Json file like this pics, is it possible to convert it to the v3?

1 Answer 1

1

There is the javascript library ethereumjs-wallet that allows to open various formats, EthSale between them and write a wallet in V3 format.

const { default: Wallet } = require('ethereumjs-wallet')

async function convert(str, pass) {
    const saleWallet = Wallet.fromEthSale(str, pass)
    const v3Wallet = await saleWallet.toV3(pass)
    console.log(v3Wallet)
}
5
  • I have been trying to use this but I have been getting an error: "TypeError: Wallet.fromEthSale is not a function". Any idea on why I get this? I am using node v15 and ethereumjs-wallet v1.0.1
    – Etienne
    Dec 21, 2020 at 13:38
  • @Etienne I fixed and tested the example to work with wallet from unit tests.
    – Ismael
    Dec 22, 2020 at 5:05
  • Hi @Ismael, Thanks for this. I have set this up, it works but it has not solved my problem. Actually, I am trying to brute force an ICO wallet because I have lost the password. I am now looking for any tool which can help me brute force the password
    – Etienne
    Jan 20, 2021 at 13:06
  • @Etienne That's a different question see if this can help you ethereum.stackexchange.com/questions/97/…
    – Ismael
    Jan 20, 2021 at 19:23
  • 1
    Pyethrecover is not working for me. I will keep trying with hashcat, it seems to be more robust.
    – Etienne
    Jan 21, 2021 at 8:33

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.