Open tiero opened 1 year ago
This would be a good feature. I might work on it, if others think this is necessary.
Feel free to work on it.
I think the biggest hold out is bip174 which might be tough.
I made a few tools in uint8array-tools (we use them in tiny-secp256k1) that can help with some of the Buffer APIs we use. You can add more tools to that if needed.
Switching away from Buffers should probably be a major version bump, and I think we can also move OPS to enum etc.
Whatever you want to work on, feel free.
If you have questions, asking here is fine. I am also available on Matrix (see the README)
Since Buffer is a subclass of Uint8Array, is there any plans to migrate the library to use them to have native support in browsers without polyfills? https://nodejs.dev/en/api/v18/buffer/