Function
registerAccountAdmin
registerAccountAdmin( chromiaClient: IClient, adminSignatureProvider: SignatureProvider, authDescriptor: AnyAuthDescriptorRegistration, ): Promise<{ receipt: TransactionReceipt }>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<{ receipt: TransactionReceipt }>
a TransactionReceipt object that allows to check the status of the transaction and its RID
- chromiaClient: IClient