Function registerAccountAdmin

  • registers a new account on the blockchain

    Parameters

    • chromiaClient: IClient

      a client to connect to the blockchain

    • adminSignatureProvider: SignatureProvider

      a signature provider with the keypair stored in chromia.yml under lib.ft4.core.admin

    • authDescriptor: AnyAuthDescriptorRegistration

      the auth descriptor that will be used to access the account. The account id will be copied from the auth descriptor id

    Returns Promise<TransactionCompletion>

    a TransactionReceipt object that allows to check the status of the transaction and its RID