Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPublicKey ¶
func GetPublicKey(asset *xc.ChainConfig, publicKeyBytes []byte) cryptotypes.PubKey
func IsEVMOS ¶
func IsEVMOS(asset *xc.ChainConfig) bool
func NewAddressBuilder ¶
func NewAddressBuilder(asset xc.ITask) (xc.AddressBuilder, error)
NewAddressBuilder creates a new Cosmos AddressBuilder
Types ¶
type AddressBuilder ¶
AddressBuilder for Cosmos
func (AddressBuilder) GetAddressFromPublicKey ¶
func (ab AddressBuilder) GetAddressFromPublicKey(publicKeyBytes []byte) (xc.Address, error)
GetAddressFromPublicKey returns an Address given a public key
func (AddressBuilder) GetAllPossibleAddressesFromPublicKey ¶
func (ab AddressBuilder) GetAllPossibleAddressesFromPublicKey(publicKeyBytes []byte) ([]xc.PossibleAddress, error)
GetAllPossibleAddressesFromPublicKey returns all PossubleAddress(es) given a public key
Click to show internal directories.
Click to hide internal directories.