Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Length is the expected length of the address Length = 21 // LengthBase58 is the expected length of the address in base58format LengthBase58 = 34 // LengthEthAddress is the expected length of the eth address LengthEthAddress = 20 // TronBytePrefix is the hex prefix to address TronBytePrefix = byte(0x41) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address []byte
Address represents the 21 byte address of a tron account.
func FromBase58 ¶
func FromBase58Unsafe ¶
func FromEthAddress ¶
func FromHexUnsafe ¶
func (Address) ToEthAddress ¶
Click to show internal directories.
Click to hide internal directories.