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

Libraries

btc_address_validate