package
Version:
v0.2.0-rc1
Opens a new window with list of versions in this module.
Published: Apr 29, 2021
License: BlueOak-1.0.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewBackend generates the network parameters and creates a bch backend as a
btc clone using an asset/btc helper function.
BCHBackend embeds *btc.Backend and re-implements the Contract method to deal
with Cash Address translation.
Contract returns the output from embedded Backend's Contract method, but
with the SwapAddress field converted to Cash Address encoding.
Driver implements asset.Driver.
DecodeCoinID creates a human-readable representation of a coin ID for
Bitcoin Cash.
Setup creates the BCH backend. Start the backend with its Run method.
Version returns the Backend implementation's version number.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.