bitcoinjs / tiny-secp256k1

A tiny secp256k1 native/JS wrapper
MIT License
92 stars 54 forks source link

tiny-secp compilation in swift and java #93

Closed mattiaferrari02 closed 1 year ago

mattiaferrari02 commented 1 year ago

Hi I need to use this library in react-native, but it is tied with wasm that is not supported in react-native environment. Is it possible to compile your rust source file in java and swift so that it can be called natively from react-native?

The older version of this lib (1.1.6) that didn't make use of wasm is no longer usable in my application because one of my deps is calling a method that is implemented only in your newer versions (privateNegate)

FlorianHubl commented 1 year ago

Anything new on this issue?

junderw commented 1 year ago

@bitcoinerlab/secp256k1 is a pure JS implementation of this interface. It should work on react-native.

That said. react-native now supports WASM.