Add script to use NWC with stacker lnd (#1151)
This commit is contained in:
parent
3f86981339
commit
f0403a2bbe
3
.gitignore
vendored
3
.gitignore
vendored
@ -54,3 +54,6 @@ docker-compose.*.yml
|
|||||||
*.sql
|
*.sql
|
||||||
!/prisma/migrations/*/*.sql
|
!/prisma/migrations/*/*.sql
|
||||||
!/docker/db/seed.sql
|
!/docker/db/seed.sql
|
||||||
|
|
||||||
|
# nostr wallet connect
|
||||||
|
scripts/nwc-keys.json
|
||||||
|
12
scripts/nwc
Normal file
12
scripts/nwc
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# https://github.com/benthecarman/nostr-wallet-connect-lnd
|
||||||
|
|
||||||
|
LND_HOST="${STACKER_LND_HOST:-localhost}"
|
||||||
|
LND_PORT="${STACKER_LND_GRPC_PORT:-10010}"
|
||||||
|
|
||||||
|
RUST_LOG=info nostr-wallet-connect-lnd \
|
||||||
|
--relay wss://relay.damus.io \
|
||||||
|
--lnd-host $LND_HOST --lnd-port $LND_PORT \
|
||||||
|
--macaroon-file docker/lnd/stacker/regtest/admin.macaroon --cert-file docker/lnd/stacker/tls.cert \
|
||||||
|
--keys-file scripts/nwc-keys.json
|
Loading…
x
Reference in New Issue
Block a user