Versions in this module Expand all Collapse all v0 v0.3.0 May 2, 2023 Changes in this version + func NewAddressBuilder(asset xc.ITask) (xc.AddressBuilder, error) + func NewSigner(asset xc.ITask) (xc.Signer, error) + type AddressBuilder struct + func (ab AddressBuilder) GetAddressFromPublicKey(publicKeyBytes []byte) (xc.Address, error) + func (ab AddressBuilder) GetAllPossibleAddressesFromPublicKey(publicKeyBytes []byte) ([]xc.PossibleAddress, error) + type Signer struct + Address string + PrivateKey ed25519.PrivateKey + PublicKey ed25519.PublicKey + func (signer Signer) ImportPrivateKey(privateKeyString string) (xc.PrivateKey, error) + func (signer Signer) Sign(privateKeyBz xc.PrivateKey, data xc.TxDataToSign) (xc.TxSignature, error)