Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "accounts/utils"

Index

Variables

Functions

Object literals

Variables

Const digitPattern

digitPattern: RegExp = /[06789]/g

Digit pattern expression

Functions

Const accountNameFromPublicKey

  • accountNameFromPublicKey(publicKey: string): string
  • Generates an account name from the specified public key

    Parameters

    • publicKey: string

      Valid EOSIO public key

    Returns string

    EOSIO account name

Const hashToEOSName

  • hashToEOSName(data: string): string
  • Generates an account name from a hashed public key

    Parameters

    • data: string

    Returns string

    EOSIO account name

Object literals

Const digitMapping

digitMapping: object

Digit mapping lookup

0

0: string = "1"

6

6: string = "2"

7

7: string = "3"

8

8: string = "4"

9

9: string = "5"

Generated using TypeDoc