command
Version:
v0.0.0-...-1f7ed7c
Opens a new window with list of versions in this module.
Published: Dec 16, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Convert bitcoin cash address format between base58 and base32, supporting mainnet / testnet / regtest
How to use:
-
Install Depedencies:
go get github.com/bcext/cashutil
go get github.com/bcext/gcash
-
clone this repository:
cd $GOPATH
git clone https://github.com/qshuai/Tools.git
-
install this tool:
cd Tools/cov
go install
-
Usage:
cov qr35ennsep3hxfe7lnz5ee7j5jgmkjswssk2puzvgv mainnet
// output: 1MirQ9bwyQcGVJPwKUgapu5ouK2E2Ey4gX
cov qqm2p7aglxw3dn7zzrdwmhd8lm2veypvlqu4yc6dtv testnet
// output: mkVodiCHZ9AkZJLjSxYMvtweiYKr1wYP1w
cov mfhy8vnokuzwygtBVEzPZxDDQj6bJJS45W regtest
// output: bchreg:qqpp23mvg0aw5xt8lvql77yz9uuepyeqvsvcg2zqgv
ToDo:
- to support bitpay address format
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.