Closed digitalgoodsprovider closed 6 years ago
This issue is a little old but we should have a segwit guide in the works and up on the site in the next week or two. Sorry for the delay!
For the growing list of guides, keep an eye on this page: http://bcoin.io/guides.html
Segwit guide has now been published on bcoin.io: http://bcoin.io/guides/segwit.html
The doc example is missing. The only library so far with an example is bitcoinjs can you make an example as it will lead to the bitcoin network seeing the benefit
generate a SegWit address: https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/test/integration/addresses.js#L60
create and broadcast a Transaction with a SegWit: https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/test/integration/transactions.js#L155