Bech32 & segwit address support?
I've been reviewing for common libraries that may not yet have segwit address support. I haven't seen anyone work on it yet, please add this soon!
https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki
Any news about this ? can't get UTXOs for bech32
Invalid address: Checksum mismatch. Code:1
cough https://github.com/bitpay/bitcore-lib/issues/119 https://github.com/bitpay/bitcore-lib/graphs/code-frequency
youssefgh: even if they added bech32, you won't be able to spend those coins with this library. Maybe time to jump to another JS library like bcoin/bitcoinjs.
Yes, @afk11 am already using bitcoinjs. i only use bitpay's insight-api to query balances and UTXOs I think i should start looking for alts Thanks for the heads up !
@youssefgh Did you ever manage to find an alternative that support Bech32? I've run into the same issue since the insight-api still doesn't support it.
@coreyphillips yes, a tricky one but it works am using electrumx server (you can run your own or use one of the public testnet or mainet ones) check my wallet to see how since electrumx doesn't support Rest, i had to create a java proxy to convert Rest calls to Json-rpc over TCP calls, check it out here You can test that live on testnet or mainnet
@youssefgh That's awesome, thanks. I'll give it a look. Otherwise, I'll end up creating an alternative api to insight-api as well.
@coreyphillips cool, you're welcome, happy to help !