{"size": 448, "ext": "js", "max_stars_repo_path": "src/origin/js/export.js", "max_stars_repo_name": "DAD-Chain/dad-wallet", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/origin/js/export.js", "max_issues_repo_name": "DAD-Chain/dad-wallet", "max_issues_repo_issues_event_min_datetime": "2021-03-10T01:03:44.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-10T20:35:02.000Z", "max_forks_repo_path": "src/origin/js/export.js", "max_forks_repo_name": "DAD-Chain/dad-wallet", "max_forks_repo_forks_event_min_datetime": "2020-07-06T09:00:21.000Z", "max_forks_repo_forks_event_max_datetime": "2020-07-06T09:00:21.000Z"}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": 1, "avg_line_length": 17.92, "max_line_length": 60, "alphanum_fraction": 0.5803571429}
var clipboard = new ClipboardJS('#copy_pk');

getWalletFromLocal((res)=>{
    var data = bg.exportAccount;
    let ret = getPrivateKey(res,data.password,data.address);
    $('#input_pk').text(ret);
})


clipboard.on('success', function(e){
    $('.toast-wrap').show();
    setTimeout(() => {
        $('.toast-wrap').fadeOut('slow');
    }, 1000);
});

$('#continue').on('click',()=>{
    bg.exportAccount = null;
    pageJump('home.html')
});




