{"size": 426, "ext": "js", "max_stars_repo_path": "blockchain/Day_01/rendu/WalletLoader/wallet_loader.js", "max_stars_repo_name": "PoCFrance/security-pool-2018", "max_stars_repo_stars_event_min_datetime": "2018-02-27T09:31:04.000Z", "max_stars_repo_stars_event_max_datetime": "2019-05-09T14:42:51.000Z", "max_issues_repo_path": "blockchain/Day_01/rendu/WalletLoader/wallet_loader.js", "max_issues_repo_name": "PoCFrance/security-pool-2018", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "blockchain/Day_01/rendu/WalletLoader/wallet_loader.js", "max_forks_repo_name": "PoCFrance/security-pool-2018", "max_forks_repo_forks_event_min_datetime": "2018-02-27T09:31:05.000Z", "max_forks_repo_forks_event_max_datetime": "2018-07-27T14:07:53.000Z"}
{"max_stars_count": 8, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 26.625, "max_line_length": 87, "alphanum_fraction": 0.720657277}
const Fs = require("fs");
const Wallet = require("ethereumjs-wallet");
const HDKEY = require("ethereumjs-wallet/hdkey");

const load_file = process.argv[2];
const load_pass = process.argv[3];
try 
{
  const load_wallet = Wallet.fromV3(JSON.parse(Fs.readFileSync(load_file)), load_pass);
  console.log("Secret Private Key: 0x" + load_wallet._privKey.toString('hex'));
}
catch (e)
{
  console.log("Invalid File or Password");
}
