chaintools

package
v0.0.0-...-e16fa07 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2023 License: MIT Imports: 7 Imported by: 0

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

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL