bcoin-org / bcrypto

JS crypto library
Other
98 stars 41 forks source link

Add support for bech32m (BIP350) #61

Closed pinheadmz closed 2 years ago

pinheadmz commented 3 years ago

Sources:

BIP 173 (bech32)

BIP 350 (bech32m)

pinheadmz commented 3 years ago

This branch now imports libtorsion from https://github.com/bcoin-org/libtorsion/pull/1 which is libtorsion current master branch plus the bech32 commit. Libtorsion has gone through a lot of changes since it was last imported and a good deal of the API expected by bcrypto was broken. All those fixes are in the last commit: https://github.com/bcoin-org/bcrypto/pull/61/commits/dc61f9d97fe92215f99ae7f9ebdeb8ea331117af