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?

Etienne
  • 301
  • 2
  • 6

1 Answers1

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) }

Ismael
  • 30,570
  • 21
  • 53
  • 96
  • 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 '20 at 13:38
  • @Etienne I fixed and tested the example to work with wallet from unit tests. – Ismael Dec 22 '20 at 05: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 '21 at 13:06
  • @Etienne That's a different question see if this can help you https://ethereum.stackexchange.com/questions/97/how-can-i-recover-or-reset-a-lost-wallet-password – Ismael Jan 20 '21 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 '21 at 08:33