bech32 icon indicating copy to clipboard operation
bech32 copied to clipboard

migrate from buffer to Uint8Array

Open bhaveshg16 opened this issue 1 year ago • 3 comments

the following PR fixes #51 . test script contained some instance of buffer which i shifted to Uint8Array. uint8array-tools library has also been used to make things easier.

bhaveshg16 avatar Apr 09 '24 15:04 bhaveshg16

I have kept naming conventions as it is.. LMK if that has to be changed @junderw

bhaveshg16 avatar Apr 09 '24 16:04 bhaveshg16

also in code there are requirements to convert typedArray to string in 'utf8' or 'binary' format. Whereas uint8array-tools library only provides to convert it to 'hex' format. I'll proceed with adding those two feature as well in that library

bhaveshg16 avatar Apr 09 '24 17:04 bhaveshg16

Hey @junderw all requested changes have been made. For now i Have installed "uint8array-tools" library from my forked repo. please review it.

bhaveshg16 avatar Apr 13 '24 09:04 bhaveshg16