Compare commits
2 Commits
051cb69f5e
...
f0403a2bbe
Author | SHA1 | Date | |
---|---|---|---|
|
f0403a2bbe | ||
|
3f86981339 |
5
.gitignore
vendored
5
.gitignore
vendored
@ -53,4 +53,7 @@ public/*-development.js
|
||||
docker-compose.*.yml
|
||||
*.sql
|
||||
!/prisma/migrations/*/*.sql
|
||||
!/docker/db/seed.sql
|
||||
!/docker/db/seed.sql
|
||||
|
||||
# nostr wallet connect
|
||||
scripts/nwc-keys.json
|
||||
|
@ -107,7 +107,7 @@ export default function CLN ({ ssrData }) {
|
||||
/>
|
||||
<AutowithdrawSettings />
|
||||
<WalletButtonBar
|
||||
enabled={!!wallet} onDelete={async () => {
|
||||
status={!!wallet} onDelete={async () => {
|
||||
try {
|
||||
await removeWallet({ variables: { id: wallet?.id } })
|
||||
toaster.success('saved settings')
|
||||
|
@ -76,7 +76,7 @@ export default function LightningAddress ({ ssrData }) {
|
||||
/>
|
||||
<AutowithdrawSettings />
|
||||
<WalletButtonBar
|
||||
enabled={!!wallet} onDelete={async () => {
|
||||
status={!!wallet} onDelete={async () => {
|
||||
try {
|
||||
await removeWallet({ variables: { id: wallet?.id } })
|
||||
toaster.success('saved settings')
|
||||
|
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