Validating addresses
Closed this issue · 5 comments
jangerhard commented
Is it possible to use this library to validate base58 addresses? Will there be segwit support as well?
SFzxc commented
This lib still in early stage. I'm developing feature based on user request. i will add validation soon. Thanks for requesting
SFzxc commented
PRs are welcome!
SFzxc commented
@jangerhard Please take a look at testcases to use. Segwit format support as well!
https://github.com/anicdh/bitcoin_flutter/blob/master/test/address_test.dart#L14
Thank you!
SFzxc commented
Btw, long address like tb1qqqqqp399et2xygdj5xreqhjjvcmzhxw4aywxecjdzew6hylgvsesrxh6hy
is not support yet. It correct address but current lib treat it as invalid.
Feel free to reopen issue if you get any problem. Many thanks
longhoangwkm commented
published new code as 2.0.0