The public key encoded in base58. Needed due to asynchronous getter of the public key.
The signer containing the private key used to sign the message.
Optional
dAppUrl: stringThe URL of the dApp that is publishing the message. Defaults to "aleph.im". Used by wallets to display the requester of the signature.
The Sign method provides a way to sign a given Aleph message using a Tezos account. The full message is not used as the payload, only fields of the BaseMessage type are.
nacl is used to sign the payload with the account's private key. The final message's signature is composed of the signed payload and the user's public key.
The Aleph message to sign, using some of its fields.
XTZAccount implements the Account class for the Tezos protocol. It is used to represent a Tezos account when publishing a message on the Aleph network.