diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index 3167425e..dfa7109d 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -67,7 +67,7 @@ jobs:
- 'global.json'
- 'nuget.config'
- 'NuGet.config'
- # NSpark (the Elenpay/nspark fork, git submodule), which the Spark client is built from
+ # NSpark (the Lunar-Rails/nspark fork, git submodule), which the Spark client is built from
- 'vendor/**'
- '.gitmodules'
# build/e2e harness that exercises the above
diff --git a/.github/workflows/spark-dev-images.yml b/.github/workflows/spark-dev-images.yml
index abc72571..47f546b7 100644
--- a/.github/workflows/spark-dev-images.yml
+++ b/.github/workflows/spark-dev-images.yml
@@ -18,7 +18,7 @@ permissions:
env:
OPEN_SSP_REPOSITORY: benthecarman/open-ssp
OPEN_SSP_SHA: 89525792d65d7e0f7092e9f6d66b5082c00e48ca
- IMAGE_PREFIX: ghcr.io/elenpay/nodeguard-spark-dev
+ IMAGE_PREFIX: ghcr.io/lunar-rails/nodeguard-spark-dev
jobs:
build:
@@ -101,7 +101,7 @@ jobs:
matrix:
image: [ operator, ldk-server, ssp ]
env:
- IMAGE: ghcr.io/elenpay/nodeguard-spark-dev-${{ matrix.image }}
+ IMAGE: ghcr.io/lunar-rails/nodeguard-spark-dev-${{ matrix.image }}
steps:
- uses: actions/download-artifact@v8.0.2
with:
diff --git a/.gitmodules b/.gitmodules
index 1bf5909e..b62c7981 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -18,9 +18,9 @@
url = https://github.com/C-Otto/rebalance-lnd
[submodule "remote-signer"]
path = remote-signer
- url = https://github.com/Elenpay/Nodeguard-Remote-Signer
+ url = https://github.com/Lunar-Rails/Nodeguard-Remote-Signer
branch = develop
[submodule "vendor/nspark"]
path = vendor/nspark
- url = https://github.com/Elenpay/nspark.git
+ url = https://github.com/Lunar-Rails/nspark.git
branch = main
diff --git a/.justfile b/.justfile
index 14cf6905..5808534c 100644
--- a/.justfile
+++ b/.justfile
@@ -99,7 +99,7 @@ update-protos:
# Submodules #
##############
-REMOTE_SIGNER_URL := 'https://github.com/Elenpay/Nodeguard-Remote-Signer'
+REMOTE_SIGNER_URL := 'https://github.com/Lunar-Rails/Nodeguard-Remote-Signer'
REMOTE_SIGNER_DIR := 'remote-signer'
# Add the Remote Signer submodule, or initialize it on a fresh clone
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index d9c7ba9d..004d73a8 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -23,8 +23,8 @@ Pull requests are the best way to propose changes to the codebase. We actively w
## Any contributions you make will be under the AGPL Software License
In short, when you submit code changes, your submissions are understood to be under the same [AGPL License](http://choosealicense.com/licenses/agpl-3.0/) that covers the project. Feel free to contact the maintainers if that's a concern.
-## Report bugs using Github's [issues](https://github.com/elenpay/nodeguard/issues)
-We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/elenpay/nodeguard/issues); it's that easy!
+## Report bugs using Github's [issues](https://github.com/Lunar-Rails/NodeGuard/issues)
+We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/Lunar-Rails/NodeGuard/issues); it's that easy!
## Write bug reports with detail, background, and sample code
Here's an example:
diff --git a/README.md b/README.md
index 015d8e6e..3258267f 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,8 @@
# NodeGuard
-
-
-[](https://github.com/Elenpay/NodeGuard/actions/workflows/dotnet.yml)
-[](https://github.com/Elenpay/NodeGuard/actions/workflows/docker.yaml)
+
+
+[](https://github.com/Lunar-Rails/NodeGuard/actions/workflows/dotnet.yml)
+[](https://github.com/Lunar-Rails/NodeGuard/actions/workflows/docker.yaml)
@@ -15,13 +15,13 @@ Current features of NodeGuard are the following:
- Asynchronous channel funding leveraging cold multisig wallets and hot wallets
- Multisig wallet creation and import (BIP39), only segwit for now
-- Liquidity automation by settings rules in tandem with [NodeGuard liquidator](https://github.com/Elenpay/liquidator)
-- Optional remote signing through [NodeGuard Remote Signer](https://github.com/Elenpay/Nodeguard-Remote-Signer) functions for channel funding transactions, separating the NodeGuard keys from the actual software
+- Liquidity automation by settings rules in tandem with [NodeGuard liquidator](https://github.com/Lunar-Rails/ep-liquidator)
+- Optional remote signing through [NodeGuard Remote Signer](https://github.com/Lunar-Rails/Nodeguard-Remote-Signer) functions for channel funding transactions, separating the NodeGuard keys from the actual software
- Automatic sweeping of funds in lightning nodes to avoid having funds on the node hot wallets
- Channel management
- Channel creation interception with returning address to multisig wallets to avoid having funds on hot wallets
- Support for hardware wallets to sign the PSBTs for channel funding transactions
-- Minimalistic in-browser wallet with [NodeGuard Companion](https://github.com/Elenpay/Nodeguards-Companion) to ease signing of transactions and wallet creation
+- Minimalistic in-browser wallet with [NodeGuard Companion](https://github.com/Lunar-Rails/Nodeguards-Companion) to ease signing of transactions and wallet creation
- In-browser notification systems for channel approvals
- Two-factor authentication
- Manual and automated Swap Outs (Loop, 40swap and [Spark](docs/spark-swaps.md))
diff --git a/THIRD-PARTY-NOTICES.md b/THIRD-PARTY-NOTICES.md
index 7efc08e6..3c985320 100644
--- a/THIRD-PARTY-NOTICES.md
+++ b/THIRD-PARTY-NOTICES.md
@@ -6,8 +6,8 @@ its license in its package metadata.
## NSpark
-- Path: [vendor/nspark](vendor/nspark/), a git submodule of the Elenpay fork
- of .
+- Path: [vendor/nspark](vendor/nspark/), a git submodule of the Lunar-Rails fork
+ of .
- License: MIT, Copyright (c) 2026 OrkLabs S.A.S. and NSpark contributors. The full text is in
`vendor/nspark/LICENSE`.
- NSpark's own dependencies are listed in `vendor/nspark/THIRD_PARTY_NOTICES.md`.
diff --git a/docker/docker-compose.dev.yml b/docker/docker-compose.dev.yml
index a44155da..441a05e0 100644
--- a/docker/docker-compose.dev.yml
+++ b/docker/docker-compose.dev.yml
@@ -6,7 +6,7 @@ include:
services:
nbxplorer:
restart: unless-stopped
- # Must carry the POST form of the custom selectutxos endpoint (Elenpay/NBXplorer): NodeGuard moves
+ # Must carry the POST form of the custom selectutxos endpoint (Lunar-Rails/ep-nbxplorer): NodeGuard moves
# the ignored-outpoint list into a request body once it outgrows the request line, and a GET-only
# build answers 405 there. LargeIgnoreListCoinSelectionE2ETests probes the route and names this pin
# when it is missing. TODO before merging the POST transport: repin to the IMMUTABLE tag of the
diff --git a/docker/spark/README.md b/docker/spark/README.md
index da4ce2f3..5a16df77 100644
--- a/docker/spark/README.md
+++ b/docker/spark/README.md
@@ -41,9 +41,9 @@ The images are built from open-ssp commit `89525792d65d7e0f7092e9f6d66b5082c00e4
| Image | Built from | License |
|---|---|---|
-| `ghcr.io/elenpay/nodeguard-spark-dev-operator` | open-ssp `vendor/spark` (benthecarman's fork of [buildonspark/spark](https://github.com/buildonspark/spark)) | Apache-2.0 |
-| `ghcr.io/elenpay/nodeguard-spark-dev-ldk-server` | open-ssp `vendor/ldk-server` ([lightningdevkit/ldk-server](https://github.com/lightningdevkit/ldk-server)) | MIT or Apache-2.0 |
-| `ghcr.io/elenpay/nodeguard-spark-dev-ssp` | open-ssp `ssp.Dockerfile` | MIT |
+| `ghcr.io/lunar-rails/nodeguard-spark-dev-operator` | open-ssp `vendor/spark` (benthecarman's fork of [buildonspark/spark](https://github.com/buildonspark/spark)) | Apache-2.0 |
+| `ghcr.io/lunar-rails/nodeguard-spark-dev-ldk-server` | open-ssp `vendor/ldk-server` ([lightningdevkit/ldk-server](https://github.com/lightningdevkit/ldk-server)) | MIT or Apache-2.0 |
+| `ghcr.io/lunar-rails/nodeguard-spark-dev-ssp` | open-ssp `ssp.Dockerfile` | MIT |
[docker-compose.yml](docker-compose.yml) refers to them by the tag `open-ssp-`. Each can be overridden with `SPARK_OPERATOR_IMAGE`, `SPARK_LDK_SERVER_IMAGE` and `SPARK_SSP_IMAGE`.
@@ -54,9 +54,9 @@ git clone --recurse-submodules https://github.com/benthecarman/open-ssp ~/open-s
cd ~/open-ssp && git checkout 89525792d65d7e0f7092e9f6d66b5082c00e48ca && git submodule update --init --recursive
SPARK_ADMIN_TOKEN=x SSP_IMAGE=open-ssp:regtest-local \
docker compose -f docker-compose.regtest.yml build spark-operator-0 ldk-server ssp
-docker tag open-ssp-spark-operator:regtest ghcr.io/elenpay/nodeguard-spark-dev-operator:open-ssp-89525792d65d
-docker tag open-ssp-ldk-server:regtest ghcr.io/elenpay/nodeguard-spark-dev-ldk-server:open-ssp-89525792d65d
-docker tag open-ssp:regtest-local ghcr.io/elenpay/nodeguard-spark-dev-ssp:open-ssp-89525792d65d
+docker tag open-ssp-spark-operator:regtest ghcr.io/lunar-rails/nodeguard-spark-dev-operator:open-ssp-89525792d65d
+docker tag open-ssp-ldk-server:regtest ghcr.io/lunar-rails/nodeguard-spark-dev-ldk-server:open-ssp-89525792d65d
+docker tag open-ssp:regtest-local ghcr.io/lunar-rails/nodeguard-spark-dev-ssp:open-ssp-89525792d65d
```
The configuration in [config/](config/) and [setup-spark.sh](setup-spark.sh) is adapted from open-ssp's e2e setup (MIT).
diff --git a/docker/spark/docker-compose.yml b/docker/spark/docker-compose.yml
index 67598e13..ca44bb9e 100644
--- a/docker/spark/docker-compose.yml
+++ b/docker/spark/docker-compose.yml
@@ -15,7 +15,7 @@ x-spark: &spark
x-spark-operator: &spark-operator
<<: *spark
- image: ${SPARK_OPERATOR_IMAGE:-ghcr.io/elenpay/nodeguard-spark-dev-operator:open-ssp-89525792d65d}
+ image: ${SPARK_OPERATOR_IMAGE:-ghcr.io/lunar-rails/nodeguard-spark-dev-operator:open-ssp-89525792d65d}
depends_on:
bitcoind:
condition: service_started
@@ -99,7 +99,7 @@ services:
spark-ldk-server:
<<: *spark
- image: ${SPARK_LDK_SERVER_IMAGE:-ghcr.io/elenpay/nodeguard-spark-dev-ldk-server:open-ssp-89525792d65d}
+ image: ${SPARK_LDK_SERVER_IMAGE:-ghcr.io/lunar-rails/nodeguard-spark-dev-ldk-server:open-ssp-89525792d65d}
depends_on:
bitcoind:
condition: service_started
@@ -131,7 +131,7 @@ services:
spark-ssp:
<<: *spark
- image: ${SPARK_SSP_IMAGE:-ghcr.io/elenpay/nodeguard-spark-dev-ssp:open-ssp-89525792d65d}
+ image: ${SPARK_SSP_IMAGE:-ghcr.io/lunar-rails/nodeguard-spark-dev-ssp:open-ssp-89525792d65d}
depends_on:
spark-operator-0: { condition: service_started }
spark-operator-1: { condition: service_started }
diff --git a/docs/spark-swaps.md b/docs/spark-swaps.md
index 74e54a93..8bac7031 100644
--- a/docs/spark-swaps.md
+++ b/docs/spark-swaps.md
@@ -6,7 +6,7 @@ Spark is a swap-out provider next to Loop and 40swap. A node moves Lightning liq
NodeGuard is not a Spark wallet product. A Spark wallet is transit only: each swap's sats leave in an exit of their own leaves, and the guardrails below alert when sats stay behind.
-The Spark client is the [NSpark](https://github.com/orklabs/nspark) .NET SDK, from the [Elenpay fork](https://github.com/Elenpay/nspark) in `vendor/nspark` (a git submodule). By default, on mainnet, the operators are Lightspark, Breez and Flashnet (2-of-3) and the SSP is Lightspark's.
+The Spark client is the [NSpark](https://github.com/orklabs/nspark) .NET SDK, from the [Lunar-Rails fork](https://github.com/Lunar-Rails/nspark) in `vendor/nspark` (a git submodule). By default, on mainnet, the operators are Lightspark, Breez and Flashnet (2-of-3) and the SSP is Lightspark's.
## How a swap runs
@@ -52,7 +52,7 @@ So the exposure is the sats in transit, while they are on Spark. That is why a S
`SPARK_SIGNER` sets where the Spark keys live:
- **`wallet`** (the default; temporary). Spark wallets are created on the Wallets page's Spark tab (or with `CreateSparkWallet`), and each node is given the Spark wallet its swaps pass through. Their keys are hot: see [Spark wallets](#spark-wallets-temporary).
-- **`remote`**. One Spark wallet, whose keys stay in the remote signer Lambda under its `/spark/` routes, serves every node; see the [remote signer README](https://github.com/Elenpay/Nodeguard-Remote-Signer#spark-signing). Its keys come from the seed with master fingerprint `SPARK_SEED_FINGERPRINT`, at Spark account `SPARK_ACCOUNT` (`m/8797555'/account'/…`). NodeGuard calls `/spark/info` at startup. It uses the signer only if the signer reports the same contract version and a policy for exactly NodeGuard's operators, threshold and SSP, and serves the expected Spark identity:
+- **`remote`**. One Spark wallet, whose keys stay in the remote signer Lambda under its `/spark/` routes, serves every node; see the [remote signer README](https://github.com/Lunar-Rails/Nodeguard-Remote-Signer#spark-signing). Its keys come from the seed with master fingerprint `SPARK_SEED_FINGERPRINT`, at Spark account `SPARK_ACCOUNT` (`m/8797555'/account'/…`). NodeGuard calls `/spark/info` at startup. It uses the signer only if the signer reports the same contract version and a policy for exactly NodeGuard's operators, threshold and SSP, and serves the expected Spark identity:
- On the first successful handshake, NodeGuard saves the identity the signer serves (table `SparkSignerIdentities`, one row per `SPARK_SEED_FINGERPRINT` and `SPARK_ACCOUNT`), logs a warning with it and audits it. Every later handshake must serve the same identity: swaps record the identity that received them, and a signer serving another would leave them unable to exit. Watch the logs on the first start in remote mode, and compare the saved identity with the seed ceremony's `verify --spark-account` when convenient.
- `SPARK_IDENTITY_PUBKEY` is optional. When set, the signer must serve it from the first handshake on, and it must agree with the saved identity.
- To accept another identity for the same seed and account on purpose, first move the Spark balance out (see [Rotating or retiring the Spark seed](#rotating-or-retiring-the-spark-seed)), then delete the saved row and restart NodeGuard:
diff --git a/go.mod b/go.mod
index b66579f6..01bb68a6 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/elenpay/nodeguard
+module github.com/lunar-rails/nodeguard
go 1.25.0
diff --git a/src/NodeGuard.csproj b/src/NodeGuard.csproj
index 998eeca4..a7cddb69 100644
--- a/src/NodeGuard.csproj
+++ b/src/NodeGuard.csproj
@@ -62,7 +62,7 @@
-
+
diff --git a/src/Services/NBXplorerService.cs b/src/Services/NBXplorerService.cs
index 1a9727b3..d205f969 100644
--- a/src/Services/NBXplorerService.cs
+++ b/src/Services/NBXplorerService.cs
@@ -178,7 +178,7 @@ public async Task GetUTXOsByLimitAsync(DerivationStrategyBase deriv
// Kestrel's 8KB MaxRequestLineSize and NBXplorer answered 414 — which the callers
// swallow into a degraded selection. The body limit is 30MB, roughly 3,662x the
// room, so the list no longer has a practical ceiling.
- // NOTE: this requires an NBXplorer serving POST /selectutxos (Elenpay/NBXplorer#18).
+ // NOTE: this requires an NBXplorer serving POST /selectutxos (Lunar-Rails/ep-nbxplorer#18).
// Against an older build every call answers 405 and coin selection degrades.
var response = await _httpClient.PostAsync(url,
JsonContent.Create(new { ignoreOutpoints }), cancellation);