Documentation ¶
Index ¶
Constants ¶
View Source
const (
BipID = 145
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BCHBackend ¶
BCHBackend embeds *btc.Backend and re-implements the Contract method to deal with Cash Address translation.
type Driver ¶
type Driver struct{}
Driver implements asset.Driver.
func (*Driver) DecodeCoinID ¶
DecodeCoinID creates a human-readable representation of a coin ID for Bitcoin Cash.
func (*Driver) Setup ¶
func (d *Driver) Setup(configPath string, logger dex.Logger, network dex.Network) (asset.Backend, error)
Setup creates the BCH backend. Start the backend with its Run method.
Click to show internal directories.
Click to hide internal directories.