package
2.0.1+incompatible
Repository: https://github.com/criptodevs/tron-wallet.git
Documentation: pkg.go.dev

# Functions

Base58ToAddress returns Address with byte values of s.
Base64ToAddress returns Address with byte values of s.
BigToAddress returns Address with byte values of b.
Bytes2Hex returns the hexadecimal encoding of d.
BytesToHexString encodes bytes as a hex string.
CopyBytes returns an exact copy of the provided bytes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FromHex returns the bytes represented by the hexadecimal string s.
No description provided by the author
Has0xPrefix validates str begins with '0x' or '0X'.
Hex2Bytes returns the bytes represented by the hexadecimal string str.
Hex2BytesFixed returns bytes of a specified fixed length flen.
HexStringToBytes hex string as bytes.
HexToAddress returns Address with byte values of s.
No description provided by the author
LeftPadBytes zero-pads slice to the left up to length l.
No description provided by the author
PubkeyToAddress returns address from ecdsa public key.
RightPadBytes zero-pads slice to the right up to length l.
No description provided by the author
ToHex returns the hex representation of b, prefixed with '0x'.
ToHexArray creates a array of hex-string based on []byte.
TrimLeftZeroes returns a subslice of s without leading zeroes.

# Constants

AddressLength is the expected length of the address.
AddressLengthBase58 is the expected length of the address in base58format.
HashLength is the expected length of the hash.
No description provided by the author
TronBytePrefix is the hex prefix to address.

# Variables

No description provided by the author

# Structs

No description provided by the author

# Type aliases

Address represents the 21 byte address of an Tron account.