Registry / crypto / martinboehm-bchutil

martinboehm-bchutil

JSON →
library0.0.0-20190104112650-6373f11b6efegogounverified

Package bchutil provides Bitcoin Cash utility functions for working with addresses and transactions.

go get github.com/martinboehm/bchutil
INSTALL
IMPORT
SIG · MARTINBOEHM-BCHUTI
M
martinboehm-bchutil
cryptogov0.0.0-20190104112650-6373f11b6efe
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

bchutil
github.com/martinboehm/bchutil

Decode and re-encode a Bitcoin Cash address

package main import ( "fmt" "github.com/martinboehm/bchutil" ) func main() { addr, _ := bchutil.DecodeAddress("bitcoincash:qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a") fmt.Println(addr.EncodeAddress()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20190104112650-6373f11b6efelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
martinboehm-bchutil — go get martinboehm-bchutil · libregistry