Are there no widely used Schnorr libs in Java or Kotlin already?
Discussion
Looks like Samourai just wrote their own "lib" https://code.samourai.io/samouraidev/BIP340_Schnorr/-/tree/develop/src/com/samourai/wallet/schnorr
I stole this one. Works pretty well. Had to fiddle with it a bit; but it wasn't difficult.
https://github.com/SamouraiDev/BIP340_Schnorr
>Are there no widely used Schnorr libs in Java or Kotlin already?
Thanks!
I went with [bip-schnorr-java](https://github.com/miketwk/bip-schnorr-java) and am not happy with the verification performance. Less than 20/s. Will give SamouraiDev's version a spin although I have a [strong aversion](https://walletscrutiny.com/android/com.samourai.wallet/).
https://github.com/ACINQ/secp256k1-kmp -- fme way faster than pure JVM impls
You know of any benchmarks? I'll try it out although I indirectly did by working on [kostr](https://github.com/AnonymousGeekDev/kostr) which cost me days hunting a crash bug that left no stacktrace. Test process got killed but no idea by what. My suspect: this dependency.
I hate to admit I'm struggling adding this to [NostrPostr](https://github.com/Giszmo/NostrPostr) library.
)