[package]
name = "fedimint-ln-gateway"
version = "0.2.1"
authors = ["The Fedimint Developers"]
edition = "2021"
description = "ln-gateway is a core lightning plugin which allows a Lightning node operator to receive or pay Lightning invoices on behalf of fedimint users."
license = "MIT"
repository = "https://github.com/fedimint/fedimint"
[lib]
name = "ln_gateway"
path = "src/lib.rs"
[[bin]]
name = "gatewayd"
path = "src/bin/gatewayd.rs"
[[bin]]
name = "gateway-cln-extension"
path = "src/bin/cln_extension.rs"
[[test]]
name = "gatewayd-integration-tests"
path = "tests/integration_tests.rs"
[dependencies]
anyhow = "1.0.66"
async-stream = "0.3.5"
async-trait = "0.1.64"
axum = "0.6.4"
axum-macros = "0.3.1"
aquamarine = "0.3.0"
bitcoin = { version = "0.29.2", features = ["serde"] }
bitcoin_hashes = "0.11.0"
clap = { version = "4.1.6", features = ["derive", "std", "help", "usage", "error-context", "suggestions", "env"], default-features = false }
cln-plugin = "0.1.5"
cln-rpc = { workspace = true }
fedimint-client = { version = "0.2.1", path = "../../fedimint-client" }
fedimint-core = { version = "0.2.1", path = "../../fedimint-core" }
fedimint-logging = { version = "0.2.1", path = "../../fedimint-logging" }
fedimint-rocksdb = { version = "0.2.1", path = "../../fedimint-rocksdb" }
fedimint-ln-client = { version = "0.2.1", path = "../../modules/fedimint-ln-client" }
fedimint-ln-common = { version = "0.2.1", path = "../../modules/fedimint-ln-common" }
fedimint-mint-client = { version = "0.2.1", path = "../../modules/fedimint-mint-client" }
fedimint-dummy-client = { version = "0.2.1", path = "../../modules/fedimint-dummy-client" }
fedimint-wallet-client = { version = "0.2.1", path = "../../modules/fedimint-wallet-client" }
futures = "0.3.24"
erased-serde = "0.3"
lightning-invoice = "0.26.0"
prost = "0.12.1"
rand = "0.8"
reqwest = { version = "0.11.14", features = [ "json", "rustls-tls" ], default-features = false }
secp256k1 = "0.24.2"
secp256k1-zkp = { version = "0.7.0", features = [ "serde", "bitcoin_hashes" ] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.91"
strum = "0.24"
strum_macros = "0.24"
thiserror = "1.0.39"
tokio = { version = "1.26", features = ["full"] }
tokio-stream = "0.1.11"
tonic = { version = "0.10.2", features = ["transport", "tls"] }
tonic_lnd = { workspace = true }
tower-http = { version = "0.4.3", features = ["cors", "auth"] }
tracing = { version = "0.1.37", default-features = false, features= ["log", "attributes", "std"] }
url = { version = "2.3.1", features = ["serde"] }
[dev-dependencies]
fedimint-dummy-server = { path = "../../modules/fedimint-dummy-server" }
fedimint-dummy-common = { path = "../../modules/fedimint-dummy-common" }
fedimint-ln-client = { path = "../../modules/fedimint-ln-client" }
fedimint-ln-server = { path = "../../modules/fedimint-ln-server" }
fedimint-ln-common = { path = "../../modules/fedimint-ln-common" }
fedimint-mint-client = { path = "../../modules/fedimint-mint-client" }
fedimint-wallet-client = { path = "../../modules/fedimint-wallet-client" }
fedimint-testing = { path = "../../fedimint-testing" }
lightning = "0.0.118"
threshold_crypto = { workspace = true }
assert_matches = "1.5.0"
[build-dependencies]
fedimint-build = { version = "0.2.1", path = "../../fedimint-build" }
tonic-build = "0.10.2"