Eoslime
Search…
Account
Provides an easy access to blockchain account
1
const eoslime = require('eoslime').init();
2
3
// Load existing network account
4
let account = eoslime.Account.load('name', 'privateKey', 'permission');
Copied!

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
1
{
2
actor: '', permission: '' }
3
}
Copied!
Last modified 1yr ago
Copy link