Eoslime
  • Introduction
  • Examples
  • Tutorial
  • Changelog
    • Version 2.0.0 [TypeScript]
    • Version 1.0.4
    • Version 1.0.3
    • Version 1.0.2
    • Version 1.0.1
  • Developer Documentation
    • Initialization
    • Account
      • Methods
      • Static Methods
      • Default Account
    • Multisignature Account
      • Methods
    • Providers
    • Contract
      • Deployment
      • Instantiation
      • Blockchain Contract Action Methods
    • Utils
  • CLI
    • init
      • --with-example
    • compile
      • --path
    • deploy
      • --path
      • --network
      • --deployer
    • test
      • --path
      • --network
      • --resource-report
    • shape
      • --framework
    • nodeos
      • start
        • --path
      • stop
      • logs
        • --lines
      • accounts
Powered by GitBook
On this page
  • Parameters
  • Properties

Was this helpful?

  1. Developer Documentation

Account

Provides an easy access to blockchain account

    const eoslime = require('eoslime').init();
    
    // Load existing network account
    let account = eoslime.Account.load('name', 'privateKey', 'permission');

Parameters

  • name - account name

  • privateKey - private key of the account. If you provide a permission, the privateKey should be the relevant for that permission

  • permission ( Optional ) - the account's permission.

    Default - active Permission per account. If you want to operate with another account's permission you should load the same account with the second permission.

Properties

  • name

  • publicKey

  • privateKey

  • provider - The network provider that the account is connected to

  • authority - transactions authority

{
    actor: '', permission: '' }
}
PreviousInitializationNextMethods

Last updated 4 years ago

Was this helpful?