Narcissistic Pickle Meister

    @ethronjs/plugin.eth.accounts

    0.1.0 • Public • Published

    @ethronjs/plugin.eth.accounts

    NPM version Total downloads

    Ethron.js plugin for working with accounts.

    Developed in Dogma, compiled to JavaScript.

    Engineered in Valencia, Spain, EU by EthronLabs.

    Use

    const accounts = require("@ethronjs/plugin.eth.accounts")
    

    accounts.generate()

    This task generates the accounts file:

    generate({accts, path})
    generate(accts, path)
    
    • accts (object), accounts to create.
    • path (string), file where to save the accounts, such as conf/accounts.js. The file can be .js or .json.

    The accounts are set with an object, whose properties represent the accounts:

    accountName: {
      balance: "ethers",    //when not set, 0 ETH used
      key: {                //when not set, a new account generated
        pub: "address",
        pvt: "address"
      },
      password: "password"  //when not set, mypass used
    }
    

    Keywords

    none

    Install

    npm i @ethronjs/plugin.eth.accounts

    DownloadsWeekly Downloads

    0

    Version

    0.1.0

    License

    none

    Unpacked Size

    5.91 kB

    Total Files

    4

    Last publish

    Collaborators

    • ethronjs