package
0.4.0-beta-rc0
Repository: https://github.com/ecadlabs/signatory.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EncodeBinaryPublicKeyHash returns binary representation of the public key hash.
No description provided by the author
EncodeGenericSignature returns encoded version of a digital signature in a generic format.
EncodePrivateKey returns base58 encoded private key.
EncodePublicKey returns base58 encoded public key.
EncodePublicKeyHash returns base58 encoded public key hash.
EncodeSignature returns encoded version of a digital signature in a specific format.
No description provided by the author
GetPublicKeyHash returns BLAKE2B public key hash.
IsEncryptedPrivateKey returns true if the private key is encrypted.
ParsePrivateKey parses base58 encoded private key.
ParsePublicKey parses base58 encoded public key.
ParseRequest returns parsed sign request.
ParseSignature parses base58 encoded signature.

# Variables

ErrPassphrase is returned when required passphrase is not provided.
ErrPrefix is returned in case of unknown Tezos base58 prefix.
ErrPrivateKey is returned when private key type is unknown.
ErrPrivateKeyDecrypt is returned if attempt to decrypt the private key has been failed.
ErrPrivateKeyValue is returned when elliptic D value of unexpected order is provided.
ErrPublicKey is returned when private key type is unknown.
ErrSignature is the error returned if the signature type is unknown.
No description provided by the author
No description provided by the author

# Structs

BlockHeader represents unsigned block header.
No description provided by the author
No description provided by the author
EmmyEndorsementRequest represents unsigned endorsement.
No description provided by the author
GenericOperationRequest represents operation without a signature.
InlinedEndorsement represents inlined endorsement operation with signature.
InlinedPreendorsement represents inlined preendorsement operation with signature.
Manager has fields common for all manager operations.
No description provided by the author
OpActivateAccount represents "activate_account" operation.
OpBallot represents "ballot" operation.
OpDelegation represents "delegation" operation.
OpDoubleBakingEvidence represents "double_baking_evidence" operation.
OpDoubleEndorsementEvidence represents "double_endorsement_evidence" operation.
OpDoublePreendorsementEvidence represents "double_preendorsement_evidence" operation.
OpEmmyEndorsement represents "endorsement" operation.
OpEndorsementWithSlot represents "endorsement" operation.
No description provided by the author
OpOrigination represents "origination" operation.
OpProposals represents "proposals" operation.
OpRegisterGlobalConstant represents "register_global_constant" operation.
OpReveal represents "reveal" operation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OpSeedNonceRevelation represents "seed_nonce_revelation" operation.
No description provided by the author
OpTenderbakeEndorsement represents "endorsement" operation.
OpTransaction represents "transaction" operation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PreendorsementRequest represents unsigned preendorsement.
No description provided by the author
No description provided by the author
ScriptedContract contains contract data.
No description provided by the author
TenderbakeBlockRequest represents unsigned block header.
TenderbakeEndorsementRequest represents unsigned endorsement.
No description provided by the author
TxParameters represents transaction parameters.

# Interfaces

No description provided by the author
MessageWithLevel is implemented by UnsignedBlockHeader and UnsignedEndorsement.
No description provided by the author
Operation is implemented by all operations.
No description provided by the author
UnsignedMessage is implemented by all kinds of sign request payloads.

# Type aliases

No description provided by the author
No description provided by the author
OpPreendorsement represents "preendorsement" operation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PassphraseFunc is a callback used to obtain a passphrase for decryption of the private key.
No description provided by the author