Documentation ¶
Index ¶
Constants ¶
View Source
const AddrLength = 20
AddrLength is byte length of eth account address.
View Source
const HashLength = 32
HashLength is byte length of cryptographic hash.
Variables ¶
View Source
var ErrAddrLength = errs.Class("Address must be 20 bytes in length")
ErrAddrLength represents the error that the address is the wrong length.
Functions ¶
This section is empty.
Types ¶
type Address ¶
Address is wallet address on eth chain.
func AddressFromBytes ¶
AddressFromBytes creates a new address from hex bytes.
func AddressFromHex ¶
AddressFromHex creates new address from hex string.
Click to show internal directories.
Click to hide internal directories.