Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AccountManager

Index

Methods

Static addCodePermission

  • addCodePermission(account: Account): Promise<void>
  • Grants eosio.code permission to the specified account's active key

    Parameters

    • account: Account

      Account without eosio.code permissions

    Returns Promise<void>

Static createAccount

Static createAccounts

  • Generates a specified number of random accounts

    Parameters

    • Default value numberOfAccounts: number = 1

      Number of accounts to generate

    • Optional options: AccountCreationOptions

    Returns Promise<Account[]>

    Array of created account transaction promises

Static Private flattenOptions

  • Flattens account creation options

    author

    Kevin Brown <github.com/thekevinbrown>

    Parameters

    Returns object

    Account creation options

Static setupAccount

  • Publishes a new account and allocates ram where possible

    Parameters

    Returns Promise<any>

    Transaction result promise

Generated using TypeDoc