4 "summary": "K1 is Swift wrapper around libsecp256k1 (bitcoin-core/secp256k1), offering ECDSA, Schnorr (BIP340) and ECDH features.",
5 "description": "K1 is a Swift package that wraps the libsecp256k1 library, offering a Swift-friendly API for ECDSA, Schnorr (BIP340), and ECDH features, with performance and security as primary goals.",
6 "homepage": "https://github.com/yllfejziu/K1",
12 "Yll Fejziu": "yllfejziu@gmail.com"
15 "git": "https://github.com/yllfejziu/K1.git",
22 "swift_versions": "5.0",
23 "preserve_paths": "Sources/**/*",
24 "pod_target_xcconfig": {
25 "SWIFT_INCLUDE_PATHS": "${PODS_ROOT}",
26 "HEADER_SEARCH_PATHS": "\"${PODS_ROOT}/Sources/secp256k1/libsecp256k1\"",
27 "GCC_PREPROCESSOR_DEFINITIONS": "ECMULT_WINDOW_SIZE=15 ECMULT_GEN_PREC_BITS=4 ENABLE_MODULE_ECDH=1 ENABLE_MODULE_RECOVERY=1 ENABLE_MODULE_SCHNORRSIG=1 ENABLE_MODULE_EXTRAKEYS=1",
28 "SWIFT_ACTIVE_COMPILATION_CONDITIONS": "CRYPTO_IN_SWIFTPM_FORCE_BUILD_API",
29 "GENERATE_INFOPLIST_FILE": "YES",
30 "ENABLE_USER_SCRIPT_SANDBOXING": "NO"
33 "Sources/secp256k1/libsecp256k1/{src,include,contrib}/*.{h,c}",
34 "Sources/secp256k1/libsecp256k1/src/modules/{ecdh}/*.{h,c}",
35 "Sources/K1/**/*.swift"
37 "public_header_files": "Sources/secp256k1/libsecp256k1/include/*.h",
38 "private_header_files": [
39 "Sources/secp256k1/libsecp256k1/*.h",
40 "Sources/secp256k1/libsecp256k1/{contrib,src}/*.h",
41 "Sources/secp256k1/libsecp256k1/src/modules/{ecdh}/*.h"
44 "Sources/secp256k1/libsecp256k1/src/*test*.{c,h}",
45 "Sources/secp256k1/libsecp256k1/src/gen_context.c",
46 "Sources/secp256k1/libsecp256k1/src/*bench*.{c,h}",
47 "Sources/secp256k1/libsecp256k1/src/modules/**/*test*.{c,h}",
48 "Sources/secp256k1/libsecp256k1/src/*precompute_ecmult*"
50 "swift_version": "5.0"