Documentation
¶
Index ¶
- func BNBDecodeToBytes(input string) ([]byte, error)
- func BNBEncodeToString(bytes []byte) (string, error)
- func Bech32DecodeToBytes(input string, hrp string) ([]byte, error)
- func Bech32EncodeToString(bytes []byte, hrp string) (string, error)
- func EtherToBytes(input string) ([]byte, error)
- func EtherToString(input []byte) (string, error)
- func ToBytes(input string, coinType uint32) ([]byte, error)
- func ToString(input []byte, coinType uint32) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BNBDecodeToBytes ¶
BNBDecodeToBytes converts the input string to a byte array
func BNBEncodeToString ¶
BNBEncodeToString converts the input byte array to a string representation of the BNB address.
func EtherToBytes ¶
EtherToBytes converts the input string to a byte array.
func EtherToString ¶
EtherToString converts the input byte array to a string representation of the Ethereum address.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.