<commit_before>import React from 'react';
import crypto from 'crypto';
var fs = window.require('fs');
var os = window.require('os');



export default class CreateWallet extends React.Component {
    constructor(props) {
        super(props);


    }

    //here we create the wallet file in the default location after prompting for a password and creating the encrypted file.

    create_wallet() {
        var home_dir = os.homedir();

        fs.writeFile(home_dir + '/safexwallet.dat', '', function (err) {
            if (err) {
                console.log(err);
            }
        });
    }


    render() {
        return (
            <div>

                Create Wallet
            </div>
        );
    }




}<commit_msg>input fields<commit_after>import React from 'react';
import crypto from 'crypto';
var fs = window.require('fs');
var os = window.require('os');



export default class CreateWallet extends React.Component {
    constructor(props) {
        super(props);


    }

    //here we create the wallet file in the default location after prompting for a password and creating the encrypted file.

    create_wallet() {
        var home_dir = os.homedir();

        fs.writeFile(home_dir + '/safexwallet.dat', '', function (err) {
            if (err) {
                console.log(err);
            }
        });
    }


    render() {
        return (
            <div>
                <form>
                    <input type="password" name="first_password" />
                    <input type="password" name="secon_password" />


                </form>
            </div>
        );
    }




}
{'fraction_non_alphanumeric': 0.11507692307692308, 'fraction_numerical': 0.0, 'mean_word_length': 1.7559322033898306, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2539719', 'n_tokens_mistral': 466, 'n_tokens_neox': 430, 'n_words': 125}