Documentation ¶
Index ¶
- Constants
- func DecodeBase58(data string) ([]byte, error)
- func DecodeBase58String(data string) (string, error)
- func DecodeBase58ToString(data string) (string, error)
- func EncodeBase58(data, prefix []byte) (string, error)
- func EncodeBase58String(data string, prefix []byte) (string, error)
- func MustDecodeBase58(data string) []byte
- func MustEncodeBase58(data, prefix []byte) string
- func MustEncodeOperationHash(data []byte) string
Constants ¶
View Source
const ( PrefixBlockHash = "B" PrefixOperationHash = "o" PrefixOperationListHash = "Lo" PrefixOperationListListHash = "LLo" PrefixProtocolHash = "P" PrefixContextHash = "Co" PrefixPublicKeyTZ1 = "tz1" PrefixPublicKeyTZ2 = "tz2" PrefixPublicKeyTZ3 = "tz3" PrefixPublicKeyTZ4 = "tz4" PrefixPublicKeyKT1 = "KT1" PrefixPublicKeyTxr1 = "txr1" PrefixOriginatedSmartRollup = "sr1" PrefixRollupInboxHash = "txi" PrefixRollupMessageHash = "txm" PrefixRollupCommitmentHash = "txc" PrefixRollupMessageResultHash = "txmr" PrefixRollupMessageResultListHash = "txM" PrefixRollupWithdrawListHash = "txw" PrefixScriptExpr = "expr" PrefixED25519Seed = "edsk" PrefixED25519PublicKey = "edpk" PrefixSecp256k1SecretKey = "spsk" PrefixP256SecretKey = "p2sk" PrefixSecp256k1PublicKey = "sppk" PrefixP256PublicKey = "p2pk" PrefixSecp256k1Scalar = "SSp" PrefixSecp256k1Element = "GSp" PrefixED25519SecretKey = "edsk" PrefixED25519Signature = "edsig" PrefixSecp256k1Signature = "spsig" PrefixP256Signature = "p2sig" PrefixGenericSignature = "sig" PrefixChainID = "Net" PrefixCryptoBoxPublicKeyHash = "id" PrefixED25519EncryptedSeed = "edesk" PrefixSecp256k1EncryptedSecretKey = "spesk" PrefixP256EncryptedSecretKey = "p2esk" PrefixBakerHash = "SG1" PrefixSmartRollupCommitment = "src1" PrefixSmartRollupState = "srs1" PrefixSmartRollupInbox = "srib1" PrefixSmartRollupMerkelizedTree = "srib2" )
Bytes prefixes
Variables ¶
This section is empty.
Functions ¶
func DecodeBase58ToString ¶
DecodeBase58ToString -
func EncodeBase58String ¶
EncodeBase58String -
func MustEncodeOperationHash ¶
MustEncodeOperationHash -
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.