{"repo":"ACINQ/secp256k1-kmp","free":true,"listed":false,"github":"https://github.com/ACINQ/secp256k1-kmp","clone":"git clone https://github.com/ACINQ/secp256k1-kmp.git","description":"Kotlin Multi Platform bindings for Bitcoin secp256k1 library.","language":"Kotlin","stars":72,"topics":["kotlin","bitcoin","secp256k1","multiplatform","ios","android","jvm"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Secp256k1 for Kotlin/Multiplatform Kotlin/Multiplatform wrapper for Bitcoin Core's secp256k1 library. Targets: JVM, Android, iOS & Linux. Installation secp256k1-kmp is available on maven central Then, the actual dependency depends on your targeted platform(s): Multiplatform Add the secp256k1 dependency to the common sourceSet, and the JNI dependencies to JVM and Android sourcesets: Native targets (iOS, linux64) Native targets include libsecp256k1, called through KMP's c-interop, simply add the fr.acinq.secp256k1:secp256k1 dependency. JVM targets & Android The JVM library uses JNI bindings for libsecp256k1, which is much faster than BouncyCastle. It will extract and load native bindings for your operating system in a temporary directory. JNI libraries are included for: - Linux 64 bits (x86 64 and arm64) - Windows 64 bits (x86 64) - Macos 64 bits (x86 64 and arm64) Along this library, you must specify which JNI native library to use in your dependency manager: For desktop or server JVMs , you must add the dependency: Either the fr.acinq.secp256k1:secp256k1-kmp-jni-jvm dependency which imports all supported platforms. Or the platform specific dependencies (note that you can add multiple as they do not conflict): fr.acinq.secp256k1:secp256k1-kmp-jni-jvm-linux for Linux fr.acinq.secp256k1:secp256k1-kmp-jni-jvm-darwin for Mac OS X fr.acinq.secp256k1:secp256k1-kmp-jni-jvm-mingw for Windows For Android , you must add the fr.acinq.secp256k1:secp256k1-kmp-jni-android dependency If you ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ACINQ","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ACINQ/secp256k1-kmp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}