package
2.21.1-hedera-beta.0
Repository: https://github.com/smartcontractkit/chainlink.git
Documentation: pkg.go.dev

# Functions

Base58ToAddress returns Address with byte values of s.
BytesToHexString encodes bytes as a hex string.
FromEncryptedJSON gets key from json and password.
FromHex returns the bytes represented by the hexadecimal string s.
Has0xPrefix validates str begins with '0x' or '0X'.
HexToAddress returns Address with byte values of s.
HexToBytes returns the bytes represented by the hexadecimal string str.
MustNewInsecure return Key if no error This insecure function is used for testing purposes only.
PubkeyToAddress returns address from ecdsa public key.

# Constants

Tron address should have 21 bytes (20 bytes + 1 byte prefix).
AddressLengthBase58 is the expected length of the address in base58format.
HashLength is the expected length of the hash.
TronBytePrefix is the hex prefix to address.

# Structs

# Type aliases

Address represents the 21 byte address of an Tron account.
Raw represents the Tron private key.