Validation tool Bitcoin and other Altcoin addresses on Go.
See also the Python implementation.
Currency | Symbol | Mainnet | Testnet | Note |
---|---|---|---|---|
Bitcoin | BTC | + | + | P2PKH (Legacy Adresses), P2SH (Pay to Script Hash), P2WPKH (Native SegWit), P2TR (Taproot) address formats |
Cosmos | ATOM | + | - | |
Binance Coin | BNB | + | + | |
Aion | AION | + | + | |
IOTA | MIOTA | + | Devnet | Chrysalis, Legacy address formats |
go get -u github.com/nilptrr/gocat@latest
validationResult := gocat.Validate(symbol, address)
Logo by Yulia Nikolaeva
Font: Orbitron by Matt McInerney
The Unlicense. See the LICENSE file for details.