btc_address_validate 0.1.1 copy "btc_address_validate: ^0.1.1" to clipboard
btc_address_validate: ^0.1.1 copied to clipboard

A minimal library to validate Bitcoin mainnet and testnet addresses

BTCAddressValidate #

pub package CircleCI

A small library to validate Bitcoin addresses.

Examples #

  Address address = validate("1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2");
  print(address.type);
  // => Type.p2pkh
  print(address.network);
  // => Network.mainnet
  print(address.segwit);
  // => false
2
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A minimal library to validate Bitcoin mainnet and testnet addresses

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

base58check, bech32, equatable

More

Packages that depend on btc_address_validate