Account creator provides an interface for implementations to actually create accounts

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

connection: Connection
helperUrl: string

Methods

  • Creates an account using a helperUrl This is hosted here or set up locally with the near-contract-helper repository

    Parameters

    • newAccountId: string

      The name of the NEAR account to be created

    • publicKey: PublicKey

      The public key from the masterAccount used to create this account

    Returns Promise<void>