A TypeScript and Rust implementation of the Spark
Bitcoin L2 protocol: @qntx/spark (npm,
packages/spark) with cryptographic primitives in Rust (crates/spark-crypto) behind a
versioned C ABI (crates/spark-ffi).
Status: pre-release. @qntx/spark exports the full platform-neutral client
(createSparkClient), invoices, deposits, transfers, Lightning, tokens, exits and the LNURL
server library, plus the SparkCrypto backend interface (./crypto) and signer (./signer).
See the package README for the security model. The audit scope and
code guide live in AUDIT.md.
Changes are tracked in CHANGELOG.md; contributor invariants and the local gate live in AGENTS.md and CONTRIBUTING.md.
Licensed under the Apache License, Version 2.0 (LICENSE or https://www.apache.org/licenses/LICENSE-2.0); see NOTICE and THIRD_PARTY.md.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project shall be licensed as above, without any additional terms or conditions.