btc_address_validate_swan

Creator: coderz1093

Last updated:

0 purchases

btc_address_validate_swan Image
btc_address_validate_swan Images

Languages

Categories

Add to Cart

Description:

btc address validate swan

BTCAddressValidate #


A small library to validate Bitcoin addresses.
Thanks #
To the excellent base58check and bech32 packages.
Partly inspired by the npm package bitcoin-address-validation.
Examples #
Address address = validate("1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2");
print(address.type);
// => Type.p2pkh
print(address.network);
// => Network.mainnet
print(address.segwit);
// => false
copied to clipboard
Alternatives #
bitcoin_flutter also allows address validation. However, it lacks P2SH support.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.