Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainTools ¶
type ChainTools struct {
// contains filtered or unexported fields
}
func NewChainTools ¶
func NewChainTools() (tools *ChainTools, err error)
func (*ChainTools) GetBip44HdAddressPrompt ¶
func (s *ChainTools) GetBip44HdAddressPrompt(ctx context.Context, req *GetBip44HdAddressRequestPrompt) (*GetBip44HdAddressResponsePrompt, error)
GetBip44HdAddressPrompt this method will return an address based on the requested HD path
func (*ChainTools) NewToOldAddress ¶
func (s *ChainTools) NewToOldAddress(newAddress string) (string, error)
type GetBip44HdAddressRequestPrompt ¶
type GetBip44HdAddressRequestPrompt struct { Xpub string `protobuf:"bytes,1,opt,name=xpub,proto3" json:"xpub,omitempty"` Change bool `protobuf:"varint,2,opt,name=change,proto3" json:"change,omitempty"` AddressIndex uint32 `protobuf:"varint,3,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` // contains filtered or unexported fields }
type GetBip44HdAddressResponsePrompt ¶
type GetBip44HdAddressResponsePrompt struct { PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` CashAddr string `protobuf:"bytes,2,opt,name=cash_addr,json=cashAddr,proto3" json:"cash_addr,omitempty"` SlpAddr string `protobuf:"bytes,3,opt,name=slp_addr,json=slpAddr,proto3" json:"slp_addr,omitempty"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.