chore: rename everything to alby hub

This commit is contained in:
Roland Bewick 2024-07-05 20:32:40 +07:00
parent 8d93c4a6cd
commit 3088373477
81 changed files with 282 additions and 277 deletions

View file

@ -5,10 +5,10 @@ spec:
image:
registry_type: GHCR
registry: getalby
repository: nostr-wallet-connect-next
repository: hub
instance_size_slug: basic-xxs
envs:
- key: LDK_ESPLORA_SERVER
value: "https://electrs.albylabs.com"
- key: LOG_EVENTS
value: "true"
- key: LDK_ESPLORA_SERVER
value: "https://electrs.albylabs.com"
- key: LOG_EVENTS
value: "true"

View file

@ -94,7 +94,7 @@ jobs:
env:
CGO_ENABLED: 1
TAG: ${{ github.ref_name }}
run: go build ${{ env.GOTAGS }} -o build/bin/${{ env.PACKAGE_NAME }}/bin/${{ env.EXEC_NAME }} -ldflags "-X 'github.com/getAlby/nostr-wallet-connect/version.Tag=${{ env.TAG }}'" cmd/http/main.go
run: go build ${{ env.GOTAGS }} -o build/bin/${{ env.PACKAGE_NAME }}/bin/${{ env.EXEC_NAME }} -ldflags "-X 'github.com/getAlby/hub/version.Tag=${{ env.TAG }}'" cmd/http/main.go
- name: Copy shared libraries to the output directory
run: |

View file

@ -54,7 +54,7 @@ jobs:
- name: Setup GoLang
uses: actions/setup-go@v5
with:
go-version-file: './go.mod'
go-version-file: "./go.mod"
- name: Get dependencies
run: go get -v -t -d ./...
@ -101,17 +101,17 @@ jobs:
- name: Build App
if: runner.os == 'macOS'
run: wails build --platform darwin/universal -webview2 embed -o ${{ env.EXEC_NAME }} -tags "wails" -ldflags "-X 'github.com/getAlby/nostr-wallet-connect/version.Tag=${{ env.TAG }}'"
run: wails build --platform darwin/universal -webview2 embed -o ${{ env.EXEC_NAME }} -tags "wails" -ldflags "-X 'github.com/getAlby/hub/version.Tag=${{ env.TAG }}'"
shell: bash
- name: Build App
if: runner.os == 'Linux'
run: wails build --platform linux/amd64 -webview2 embed -o ${{ env.EXEC_NAME }} -tags "wails" -ldflags "-X 'github.com/getAlby/nostr-wallet-connect/version.Tag=${{ env.TAG }}'"
run: wails build --platform linux/amd64 -webview2 embed -o ${{ env.EXEC_NAME }} -tags "wails" -ldflags "-X 'github.com/getAlby/hub/version.Tag=${{ env.TAG }}'"
shell: bash
- name: Build Windows App
if: runner.os == 'Windows'
run: wails build --platform windows/amd64 -webview2 embed -o ${{ env.EXEC_NAME }}.exe -tags "wails" -ldflags "-X 'github.com/getAlby/nostr-wallet-connect/version.Tag=${{ env.TAG }}'"
run: wails build --platform windows/amd64 -webview2 embed -o ${{ env.EXEC_NAME }}.exe -tags "wails" -ldflags "-X 'github.com/getAlby/hub/version.Tag=${{ env.TAG }}'"
shell: bash
- name: Import Code-Signing Certificates for macOS

View file

@ -35,7 +35,7 @@ COPY . .
COPY --from=frontend /build/frontend/dist ./frontend/dist
RUN GOARCH=$(echo "$TARGETPLATFORM" | cut -d'/' -f2) go build \
-ldflags="-X 'github.com/getAlby/nostr-wallet-connect/version.Tag=$TAG'" \
-ldflags="-X 'github.com/getAlby/hub/version.Tag=$TAG'" \
-o main cmd/http/main.go
COPY ./build/docker/copy_dylibs.sh .

View file

@ -125,7 +125,7 @@ For more information refer to:
### Versioning
$ go run -ldflags="-X 'github.com/getAlby/nostr-wallet-connect/version.Tag=v0.6.0'" cmd/http/main.go
$ go run -ldflags="-X 'github.com/getAlby/hub/version.Tag=v0.6.0'" cmd/http/main.go
### Windows
@ -137,9 +137,9 @@ Breez SDK requires gcc to build the Breez bindings. Run `choco install mingw` an
- `CLIENT_NOSTR_PUBKEY`: if set, this service will only listen to events authored by this public key. You can set this to your own nostr public key.
- `RELAY`: default: "wss://relay.getalby.com/v1"
- `COOKIE_SECRET`: a randomly generated secret string. (only needed in http mode)
- `DATABASE_URI`: a sqlite filename. Default: $XDG_DATA_HOME/nostr-wallet-connect/nwc.db
- `DATABASE_URI`: a sqlite filename. Default: $XDG_DATA_HOME/albyhub/nwc.db
- `PORT`: the port on which the app should listen on (default: 8080)
- `WORK_DIR`: directory to store NWC data files. Default: $XDG_DATA_HOME/nostr-wallet-connect
- `WORK_DIR`: directory to store NWC data files. Default: $XDG_DATA_HOME/albyhub
- `LOG_LEVEL`: log level for the application. Higher is more verbose. Default: 4 (info)
### LND Backend parameters
@ -181,9 +181,9 @@ Create an OAuth client at the [Alby Developer Portal](https://getalby.com/develo
Follow the steps to integrate Mutinynet with your NWC Next setup:
1. Configure your environment with the [Mutinynet LDK parameters](https://github.com/getAlby/nostr-wallet-connect-next#mutinynet)
1. Configure your environment with the [Mutinynet LDK parameters](https://github.com/getAlby/hub#mutinynet)
2. Proceed as described in the [Development](https://github.com/getAlby/nostr-wallet-connect-next#Development) section to run the frontend and backend
2. Proceed as described in the [Development](https://github.com/getAlby/hub#Development) section to run the frontend and backend
3. During onboarding, after setting your password and authorizing via Alby OAuth, you'll be directed to `/onboarding/lightning/migrate-alby`. Click "Skip For Now" to access your wallet interface
@ -334,11 +334,11 @@ Run NWC on your own node!
### Digital Ocean
[![Deploy to DO](https://www.deploytodo.com/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/getAlby/nostr-wallet-connect-next/tree/master)
[![Deploy to DO](https://www.deploytodo.com/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/getAlby/hub/tree/master)
### Render
[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/getAlby/nostr-wallet-connect-next)
[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/getAlby/hub)
### Fly
@ -380,10 +380,16 @@ LDK logs:
_Tested on Linux only_
`docker run -v ~/.local/share/alby-nwc:/data -e WORK_DIR='/data' -p 8080:8080 ghcr.io/getalby/nostr-wallet-connect-next:latest`
`docker run -v ~/.local/share/albyhub:/data -e WORK_DIR='/data' -p 8080:8080 ghcr.io/getalby/hub:latest`
#### From Source
_Tested on Linux only_
`docker run -v ~/.local/share/alby-nwc:/data -e WORK_DIR='/data' -p 8080:8080 $(docker build -q .)`
##### Docker Compose
`docker compose up`
##### Manually
`docker run -v ~/.local/share/albyhub:/data -e WORK_DIR='/data' -p 8080:8080 $(docker build -q .)`

View file

@ -16,13 +16,13 @@ import (
"golang.org/x/oauth2"
"gorm.io/gorm"
"github.com/getAlby/nostr-wallet-connect/config"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
nip47 "github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/nostr-wallet-connect/service/keys"
"github.com/getAlby/hub/config"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
nip47 "github.com/getAlby/hub/nip47/models"
"github.com/getAlby/hub/service/keys"
)
type albyOAuthService struct {

View file

@ -3,8 +3,8 @@ package alby
import (
"context"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/lnclient"
)
type AlbyOAuthService interface {

View file

@ -15,17 +15,17 @@ import (
"github.com/sirupsen/logrus"
"gorm.io/gorm"
"github.com/getAlby/nostr-wallet-connect/alby"
"github.com/getAlby/nostr-wallet-connect/config"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
permissions "github.com/getAlby/nostr-wallet-connect/nip47/permissions"
"github.com/getAlby/nostr-wallet-connect/service"
"github.com/getAlby/nostr-wallet-connect/service/keys"
"github.com/getAlby/nostr-wallet-connect/utils"
"github.com/getAlby/nostr-wallet-connect/version"
"github.com/getAlby/hub/alby"
"github.com/getAlby/hub/config"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
permissions "github.com/getAlby/hub/nip47/permissions"
"github.com/getAlby/hub/service"
"github.com/getAlby/hub/service/keys"
"github.com/getAlby/hub/utils"
"github.com/getAlby/hub/version"
)
type api struct {

View file

@ -16,9 +16,9 @@ import (
"crypto/rand"
"crypto/sha256"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/utils"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/utils"
"golang.org/x/crypto/pbkdf2"
)

View file

@ -8,7 +8,7 @@ import (
"net/http"
"time"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/hub/logger"
"github.com/sirupsen/logrus"
)

View file

@ -13,10 +13,10 @@ import (
"strings"
"time"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/lsp"
"github.com/getAlby/nostr-wallet-connect/utils"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/lsp"
"github.com/getAlby/hub/utils"
decodepay "github.com/nbd-wtf/ln-decodepay"
"github.com/sirupsen/logrus"
)

View file

@ -5,9 +5,9 @@ import (
"io"
"time"
"github.com/getAlby/nostr-wallet-connect/alby"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/hub/alby"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/lnclient"
)
type API interface {

View file

@ -10,9 +10,9 @@ import (
"time"
echologrus "github.com/davrux/echo-logrus/v4"
"github.com/getAlby/nostr-wallet-connect/http"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/service"
"github.com/getAlby/hub/http"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/service"
"github.com/labstack/echo/v4"
log "github.com/sirupsen/logrus"
)

View file

@ -7,8 +7,8 @@ import (
"fmt"
"os"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/logger"
"gorm.io/gorm"
"gorm.io/gorm/clause"
)

View file

@ -3,8 +3,8 @@ package db
import (
"fmt"
"github.com/getAlby/nostr-wallet-connect/db/migrations"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/hub/db/migrations"
"github.com/getAlby/hub/logger"
"github.com/glebarez/sqlite"
"gorm.io/gorm"
)

View file

@ -5,8 +5,8 @@ import (
"fmt"
"time"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/logger"
"github.com/nbd-wtf/go-nostr"
"gorm.io/gorm"
)

View file

@ -2,7 +2,7 @@ services:
albyhub:
platform: linux/amd64
container_name: albyhub
image: ghcr.io/getalby/nostr-wallet-connect-next:latest
image: ghcr.io/getalby/hub:latest
volumes:
- ./albyhub-data:/data
ports:

View file

@ -5,7 +5,7 @@ import (
"slices"
"sync"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/hub/logger"
"github.com/sirupsen/logrus"
)

View file

@ -7,7 +7,7 @@ app = 'nwc'
primary_region = 'lax'
[build]
image = 'ghcr.io/getalby/nostr-wallet-connect-next:latest'
image = 'ghcr.io/getalby/hub:latest'
[env]
DATABASE_URI = '/data/nwc.db'

View file

@ -166,7 +166,7 @@ export function Welcome() {
Subject to the following terms, Alby grants to you a
perpetual, worldwide license to the Application pursuant to
the Apache-2.0 license.
(https://github.com/getAlby/nostr-wallet-connect-next?tab=Apache-2.0-1-ov-file#readme).
(https://github.com/getAlby/hub?tab=Apache-2.0-1-ov-file#readme).
This EULA pertains solely to the Application and does not
limit your rights under, or grant you rights that supersede,
the license terms of any particular component.

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/getAlby/nostr-wallet-connect
module github.com/getAlby/hub
go 1.22.2

View file

@ -4,10 +4,10 @@ import (
"fmt"
"net/http"
"github.com/getAlby/nostr-wallet-connect/alby"
"github.com/getAlby/nostr-wallet-connect/config"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/service"
"github.com/getAlby/hub/alby"
"github.com/getAlby/hub/config"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/service"
"github.com/labstack/echo/v4"
)

View file

@ -14,14 +14,14 @@ import (
"github.com/labstack/echo/v4/middleware"
"gorm.io/gorm"
"github.com/getAlby/nostr-wallet-connect/config"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/service"
"github.com/getAlby/hub/config"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/service"
"github.com/getAlby/nostr-wallet-connect/api"
"github.com/getAlby/nostr-wallet-connect/frontend"
"github.com/getAlby/hub/api"
"github.com/getAlby/hub/frontend"
)
type HttpService struct {

View file

@ -16,8 +16,8 @@ import (
decodepay "github.com/nbd-wtf/ln-decodepay"
"github.com/sirupsen/logrus"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
)
type BreezService struct {

View file

@ -3,7 +3,7 @@
package breez
import (
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/hub/lnclient"
)
func NewBreezService(mnemonic, apiKey, inviteCode, workDir string) (result lnclient.LNClient, err error) {

View file

@ -11,8 +11,8 @@ import (
"github.com/elnosh/gonuts/wallet"
"github.com/elnosh/gonuts/wallet/storage"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
decodepay "github.com/nbd-wtf/ln-decodepay"
"github.com/sirupsen/logrus"
)

View file

@ -13,15 +13,15 @@ import (
"strings"
"time"
//"github.com/getAlby/nostr-wallet-connect/glalby" // for local development only
//"github.com/getAlby/hub/glalby" // for local development only
"github.com/getAlby/glalby-go/glalby"
decodepay "github.com/nbd-wtf/ln-decodepay"
"github.com/sirupsen/logrus"
"github.com/getAlby/nostr-wallet-connect/config"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/hub/config"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
)
type GreenlightService struct {

View file

@ -1,6 +1,6 @@
package greenlight
import "github.com/getAlby/nostr-wallet-connect/lnclient"
import "github.com/getAlby/hub/lnclient"
type NodeInfo struct {
ID string `json:"id"`

View file

@ -16,19 +16,19 @@ import (
"time"
"github.com/getAlby/ldk-node-go/ldk_node"
// "github.com/getAlby/nostr-wallet-connect/ldk_node"
// "github.com/getAlby/hub/ldk_node"
"encoding/hex"
decodepay "github.com/nbd-wtf/ln-decodepay"
"github.com/sirupsen/logrus"
"github.com/getAlby/nostr-wallet-connect/config"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/lsp"
"github.com/getAlby/nostr-wallet-connect/utils"
"github.com/getAlby/hub/config"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/lsp"
"github.com/getAlby/hub/utils"
)
type LDKService struct {

View file

@ -6,8 +6,8 @@ import (
"time"
"github.com/getAlby/ldk-node-go/ldk_node"
// "github.com/getAlby/nostr-wallet-connect/ldk_node"
"github.com/getAlby/nostr-wallet-connect/logger"
// "github.com/getAlby/hub/ldk_node"
"github.com/getAlby/hub/logger"
"github.com/sirupsen/logrus"
)

View file

@ -16,9 +16,9 @@ import (
"github.com/btcsuite/btcd/chaincfg/chainhash"
decodepay "github.com/nbd-wtf/ln-decodepay"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/lnclient/lnd/wrapper"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/lnclient/lnd/wrapper"
"github.com/getAlby/hub/logger"
"github.com/sirupsen/logrus"
// "gorm.io/gorm"

View file

@ -12,8 +12,8 @@ import (
"strings"
"time"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
decodepay "github.com/nbd-wtf/ln-decodepay"
"github.com/sirupsen/logrus"

View file

@ -7,9 +7,9 @@ import (
"context"
"embed"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/service"
"github.com/getAlby/nostr-wallet-connect/wails"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/service"
"github.com/getAlby/hub/wails"
log "github.com/sirupsen/logrus"
)

View file

@ -3,8 +3,8 @@ package controllers
import (
"encoding/json"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/nip47/models"
"github.com/sirupsen/logrus"
)

View file

@ -3,9 +3,9 @@ package controllers
import (
"context"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/nip47/models"
"github.com/nbd-wtf/go-nostr"
"github.com/sirupsen/logrus"
)

View file

@ -8,9 +8,9 @@ import (
"github.com/nbd-wtf/go-nostr"
"github.com/stretchr/testify/assert"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/nostr-wallet-connect/tests"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/nip47/models"
"github.com/getAlby/hub/tests"
)
const nip47GetBalanceJson = `

View file

@ -3,11 +3,11 @@ package controllers
import (
"context"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
permissions "github.com/getAlby/nostr-wallet-connect/nip47/permissions"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/nip47/models"
permissions "github.com/getAlby/hub/nip47/permissions"
"github.com/nbd-wtf/go-nostr"
"github.com/sirupsen/logrus"
)

View file

@ -8,10 +8,10 @@ import (
"github.com/nbd-wtf/go-nostr"
"github.com/stretchr/testify/assert"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/nostr-wallet-connect/nip47/permissions"
"github.com/getAlby/nostr-wallet-connect/tests"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/nip47/models"
"github.com/getAlby/hub/nip47/permissions"
"github.com/getAlby/hub/tests"
)
const nip47GetInfoJson = `

View file

@ -3,9 +3,9 @@ package controllers
import (
"context"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/nip47/models"
"github.com/nbd-wtf/go-nostr"
"github.com/sirupsen/logrus"
)

View file

@ -8,9 +8,9 @@ import (
"github.com/nbd-wtf/go-nostr"
"github.com/stretchr/testify/assert"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/nostr-wallet-connect/tests"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/nip47/models"
"github.com/getAlby/hub/tests"
)
const nip47ListTransactionsJson = `

View file

@ -5,9 +5,9 @@ import (
"fmt"
"strings"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/nip47/models"
"github.com/nbd-wtf/go-nostr"
decodepay "github.com/nbd-wtf/ln-decodepay"
"github.com/sirupsen/logrus"

View file

@ -8,9 +8,9 @@ import (
"github.com/nbd-wtf/go-nostr"
"github.com/stretchr/testify/assert"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/nostr-wallet-connect/tests"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/nip47/models"
"github.com/getAlby/hub/tests"
)
const nip47LookupInvoiceJson = `

View file

@ -3,9 +3,9 @@ package controllers
import (
"context"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/nip47/models"
"github.com/nbd-wtf/go-nostr"
"github.com/sirupsen/logrus"
)

View file

@ -8,9 +8,9 @@ import (
"github.com/nbd-wtf/go-nostr"
"github.com/stretchr/testify/assert"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/nostr-wallet-connect/tests"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/nip47/models"
"github.com/getAlby/hub/tests"
)
const nip47MakeInvoiceJson = `

View file

@ -1,7 +1,7 @@
package controllers
import (
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/hub/nip47/models"
"github.com/nbd-wtf/go-nostr"
)

View file

@ -6,11 +6,11 @@ import (
"strings"
"sync"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/nip47/models"
"github.com/nbd-wtf/go-nostr"
decodepay "github.com/nbd-wtf/ln-decodepay"
"github.com/sirupsen/logrus"

View file

@ -9,9 +9,9 @@ import (
"github.com/nbd-wtf/go-nostr"
"github.com/stretchr/testify/assert"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/nostr-wallet-connect/tests"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/nip47/models"
"github.com/getAlby/hub/tests"
)
const nip47MultiPayJson = `

View file

@ -4,10 +4,10 @@ import (
"context"
"sync"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/nip47/models"
"github.com/nbd-wtf/go-nostr"
"gorm.io/gorm"
)

View file

@ -9,9 +9,9 @@ import (
"github.com/nbd-wtf/go-nostr"
"github.com/stretchr/testify/assert"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/nostr-wallet-connect/tests"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/nip47/models"
"github.com/getAlby/hub/tests"
)
const nip47MultiPayKeysendJson = `

View file

@ -5,11 +5,11 @@ import (
"fmt"
"strings"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/nip47/models"
"github.com/nbd-wtf/go-nostr"
decodepay "github.com/nbd-wtf/ln-decodepay"
"github.com/sirupsen/logrus"

View file

@ -8,9 +8,9 @@ import (
"github.com/nbd-wtf/go-nostr"
"github.com/stretchr/testify/assert"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/nostr-wallet-connect/tests"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/nip47/models"
"github.com/getAlby/hub/tests"
)
const nip47PayInvoiceJson = `

View file

@ -3,11 +3,11 @@ package controllers
import (
"context"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/nip47/models"
"github.com/nbd-wtf/go-nostr"
"github.com/sirupsen/logrus"
"gorm.io/gorm"

View file

@ -8,9 +8,9 @@ import (
"github.com/nbd-wtf/go-nostr"
"github.com/stretchr/testify/assert"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/nostr-wallet-connect/tests"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/nip47/models"
"github.com/getAlby/hub/tests"
)
const nip47KeysendJson = `

View file

@ -3,9 +3,9 @@ package controllers
import (
"context"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/nip47/models"
"github.com/nbd-wtf/go-nostr"
"github.com/sirupsen/logrus"
)

View file

@ -7,13 +7,13 @@ import (
"fmt"
"time"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
controllers "github.com/getAlby/nostr-wallet-connect/nip47/controllers"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/nostr-wallet-connect/nip47/permissions"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
controllers "github.com/getAlby/hub/nip47/controllers"
"github.com/getAlby/hub/nip47/models"
"github.com/getAlby/hub/nip47/permissions"
"github.com/nbd-wtf/go-nostr"
"github.com/nbd-wtf/go-nostr/nip04"
"github.com/sirupsen/logrus"

View file

@ -4,8 +4,8 @@ import (
"encoding/json"
"testing"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/nostr-wallet-connect/tests"
"github.com/getAlby/hub/nip47/models"
"github.com/getAlby/hub/tests"
"github.com/nbd-wtf/go-nostr"
"github.com/nbd-wtf/go-nostr/nip04"
"github.com/stretchr/testify/assert"

View file

@ -3,7 +3,7 @@ package models
import (
"encoding/json"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/hub/lnclient"
)
const (

View file

@ -3,12 +3,12 @@ package nip47
import (
"context"
"github.com/getAlby/nostr-wallet-connect/config"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/nip47/notifications"
permissions "github.com/getAlby/nostr-wallet-connect/nip47/permissions"
"github.com/getAlby/nostr-wallet-connect/service/keys"
"github.com/getAlby/hub/config"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/nip47/notifications"
permissions "github.com/getAlby/hub/nip47/permissions"
"github.com/getAlby/hub/service/keys"
"github.com/nbd-wtf/go-nostr"
"gorm.io/gorm"
)

View file

@ -1,6 +1,6 @@
package notifications
import "github.com/getAlby/nostr-wallet-connect/nip47/models"
import "github.com/getAlby/hub/nip47/models"
type Notification struct {
Notification interface{} `json:"notification,omitempty"`

View file

@ -4,8 +4,8 @@ import (
"context"
"errors"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/logger"
)
type Nip47NotificationQueue interface {

View file

@ -5,14 +5,14 @@ import (
"encoding/json"
"errors"
"github.com/getAlby/nostr-wallet-connect/config"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/nostr-wallet-connect/nip47/permissions"
"github.com/getAlby/nostr-wallet-connect/service/keys"
"github.com/getAlby/hub/config"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/nip47/models"
"github.com/getAlby/hub/nip47/permissions"
"github.com/getAlby/hub/service/keys"
"github.com/nbd-wtf/go-nostr"
"github.com/nbd-wtf/go-nostr/nip04"
"github.com/sirupsen/logrus"

View file

@ -6,10 +6,10 @@ import (
"log"
"testing"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/nip47/permissions"
"github.com/getAlby/nostr-wallet-connect/tests"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/nip47/permissions"
"github.com/getAlby/hub/tests"
"github.com/nbd-wtf/go-nostr"
"github.com/nbd-wtf/go-nostr/nip04"
"github.com/stretchr/testify/assert"

View file

@ -5,12 +5,12 @@ import (
"slices"
"time"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/nostr-wallet-connect/utils"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/nip47/models"
"github.com/getAlby/hub/utils"
"github.com/sirupsen/logrus"
"gorm.io/gorm"
)

View file

@ -4,9 +4,9 @@ import (
"testing"
"time"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/nostr-wallet-connect/tests"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/nip47/models"
"github.com/getAlby/hub/tests"
"github.com/stretchr/testify/assert"
)

View file

@ -5,8 +5,8 @@ import (
"fmt"
"strings"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/nip47/models"
"github.com/nbd-wtf/go-nostr"
)

View file

@ -3,7 +3,7 @@ services:
runtime: image
name: albyhub
image:
url: ghcr.io/getalby/nostr-wallet-connect-next:latest
url: ghcr.io/getalby/hub:latest
numInstances: 1
region: frankfurt # Default: oregon
plan: starter

View file

@ -1,11 +1,11 @@
### Installation on a Raspberry Pi Zero
```shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/getAlby/nostr-wallet-connect-next/master/scripts/install.sh)"
/bin/bash -c "$(curl -fsSL https://getalby.com/zero/install.sh)"
```
### Updating a running instance
```shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/getAlby/nostr-wallet-connect-next/master/scripts/update.sh)"
/bin/bash -c "$(curl -fsSL https://getalby.com/zero/update.sh)"
```

View file

@ -4,14 +4,14 @@ Run your Alby Hub with phoenixd as a backend.
## Requirements
+ Linux distribution
+ Runs pretty much on any VPS or server
- Linux distribution
- Runs pretty much on any VPS or server
## Docker
To run Alby Hub with phoenixd use [docker-compose](https://docs.docker.com/compose/) using the [docker-compose.yml file](https://raw.githubusercontent.com/getAlby/nostr-wallet-connect-next/master/scripts/linux-x86_64/phoenixd/docker-compose.yml).
To run Alby Hub with phoenixd use [docker-compose](https://docs.docker.com/compose/) using the [docker-compose.yml file](https://raw.githubusercontent.com/getAlby/hub/master/scripts/linux-x86_64/phoenixd/docker-compose.yml).
$ wget https://raw.githubusercontent.com/getAlby/nostr-wallet-connect-next/master/scripts/linux-x86_64/phoenixd/docker-compose.yml
$ wget https://raw.githubusercontent.com/getAlby/hub/master/scripts/linux-x86_64/phoenixd/docker-compose.yml
$ docker-compose up # or docker-compose up --pull=always <- to make sure you get the latest images
It will run on localhost:8080 by default. You can configure the port by editing the docker-compose.yml file.
@ -26,7 +26,7 @@ Make sure to backup the `albyhub-phoenixd` which is used as volume for albyhub a
### Installation (non-Docker)
$ wget https://raw.githubusercontent.com/getAlby/nostr-wallet-connect-next/master/scripts/linux-x86_64/phoenixd/install.sh
$ wget https://raw.githubusercontent.com/getAlby/hub/master/scripts/linux-x86_64/phoenixd/install.sh
$ ./install.sh
The install script will prompt you for a installation folder and will install phoenixd and Alby Hub there.
@ -47,10 +47,9 @@ Or us the start scripts:
$ [your install path]/phoenixd/start.sh
$ [your install path]/albyhub/start.sh
### Backup
Make sure to backup your data directories:
+ `[your install path]/phoenixd/data`
+ `[your install path]/albyhub/data`
- `[your install path]/phoenixd/data`
- `[your install path]/albyhub/data`

View file

@ -2,7 +2,7 @@ services:
albyhub:
platform: linux/amd64
container_name: albyhub
image: ghcr.io/getalby/nostr-wallet-connect-next:latest
image: ghcr.io/getalby/hub:latest
volumes:
- ./albyhub-phoenixd:/data
ports:

View file

@ -1,8 +1,8 @@
package keys
import (
"github.com/getAlby/nostr-wallet-connect/config"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/hub/config"
"github.com/getAlby/hub/logger"
"github.com/nbd-wtf/go-nostr"
)

View file

@ -1,11 +1,11 @@
package service
import (
"github.com/getAlby/nostr-wallet-connect/alby"
"github.com/getAlby/nostr-wallet-connect/config"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/service/keys"
"github.com/getAlby/hub/alby"
"github.com/getAlby/hub/config"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/service/keys"
"gorm.io/gorm"
)

View file

@ -16,17 +16,17 @@ import (
"github.com/joho/godotenv"
"github.com/kelseyhightower/envconfig"
"github.com/getAlby/nostr-wallet-connect/alby"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/service/keys"
"github.com/getAlby/nostr-wallet-connect/version"
"github.com/getAlby/hub/alby"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/service/keys"
"github.com/getAlby/hub/version"
"github.com/getAlby/nostr-wallet-connect/config"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/nip47"
"github.com/getAlby/nostr-wallet-connect/nip47/models"
"github.com/getAlby/hub/config"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/nip47"
"github.com/getAlby/hub/nip47/models"
)
type service struct {
@ -56,7 +56,7 @@ func NewService(ctx context.Context) (*service, error) {
logger.Logger.Info("AlbyHub " + version.Tag)
if appConfig.Workdir == "" {
appConfig.Workdir = filepath.Join(xdg.DataHome, "/alby-nwc")
appConfig.Workdir = filepath.Join(xdg.DataHome, "/albyhub")
logger.Logger.WithField("workdir", appConfig.Workdir).Info("No workdir specified, using default")
}
// make sure workdir exists

View file

@ -10,16 +10,16 @@ import (
"github.com/nbd-wtf/go-nostr/nip19"
"github.com/sirupsen/logrus"
"github.com/getAlby/nostr-wallet-connect/config"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/lnclient/breez"
"github.com/getAlby/nostr-wallet-connect/lnclient/cashu"
"github.com/getAlby/nostr-wallet-connect/lnclient/greenlight"
"github.com/getAlby/nostr-wallet-connect/lnclient/ldk"
"github.com/getAlby/nostr-wallet-connect/lnclient/lnd"
"github.com/getAlby/nostr-wallet-connect/lnclient/phoenixd"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/hub/config"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/lnclient/breez"
"github.com/getAlby/hub/lnclient/cashu"
"github.com/getAlby/hub/lnclient/greenlight"
"github.com/getAlby/hub/lnclient/ldk"
"github.com/getAlby/hub/lnclient/lnd"
"github.com/getAlby/hub/lnclient/phoenixd"
"github.com/getAlby/hub/logger"
)
func (svc *service) StartNostr(ctx context.Context, encryptionKey string) error {
@ -39,7 +39,7 @@ func (svc *service) StartNostr(ctx context.Context, encryptionKey string) error
logger.Logger.WithFields(logrus.Fields{
"npub": npub,
"hex": svc.keys.GetNostrPublicKey(),
}).Info("Starting nostr-wallet-connect")
}).Info("Starting Alby Hub")
svc.wg.Add(1)
go func() {
//Start infinite loop which will be only broken by canceling ctx (SIGINT)

View file

@ -3,8 +3,8 @@ package service
import (
"fmt"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/logger"
)
// TODO: this should happen on ctx.Done() rather than having to call manually

View file

@ -1,7 +1,7 @@
package tests
import (
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/hub/db"
"github.com/nbd-wtf/go-nostr"
"github.com/nbd-wtf/go-nostr/nip04"
)

View file

@ -4,7 +4,7 @@ import (
"context"
"time"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/hub/lnclient"
)
// for the invoice:

View file

@ -3,12 +3,12 @@ package tests
import (
"os"
"github.com/getAlby/nostr-wallet-connect/config"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/events"
"github.com/getAlby/nostr-wallet-connect/lnclient"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/service/keys"
"github.com/getAlby/hub/config"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/events"
"github.com/getAlby/hub/lnclient"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/service/keys"
"gorm.io/gorm"
)

View file

@ -6,7 +6,7 @@ import (
"net/http"
"time"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/hub/logger"
"github.com/sirupsen/logrus"
)
@ -23,7 +23,7 @@ func GetLatestReleaseTag() string {
if latestRelease != "" && time.Since(lastVersionCheck) < 5*time.Minute {
return latestRelease
}
url := "https://api.github.com/repos/getAlby/nostr-wallet-connect-next/releases"
url := "https://api.github.com/repos/getAlby/hub/releases"
client := http.Client{
Timeout: time.Second * 10,

View file

@ -1,7 +1,7 @@
{
"$schema": "https://wails.io/schemas/config.v2.json",
"name": "AlbyHub",
"outputfilename": "Nostr-Wallet-Connect",
"name": "Alby Hub",
"outputfilename": "albyhub",
"frontend:install": "yarn install",
"frontend:build": "yarn build:wails",
"frontend:dev:watcher": "yarn dev:wails",

View file

@ -5,9 +5,9 @@ import (
"embed"
"log"
"github.com/getAlby/nostr-wallet-connect/api"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/nostr-wallet-connect/service"
"github.com/getAlby/hub/api"
"github.com/getAlby/hub/logger"
"github.com/getAlby/hub/service"
"github.com/wailsapp/wails/v2"
"github.com/wailsapp/wails/v2/pkg/options"
"github.com/wailsapp/wails/v2/pkg/options/assetserver"

View file

@ -9,10 +9,10 @@ import (
"github.com/sirupsen/logrus"
"github.com/getAlby/nostr-wallet-connect/alby"
"github.com/getAlby/nostr-wallet-connect/api"
"github.com/getAlby/nostr-wallet-connect/db"
"github.com/getAlby/nostr-wallet-connect/logger"
"github.com/getAlby/hub/alby"
"github.com/getAlby/hub/api"
"github.com/getAlby/hub/db"
"github.com/getAlby/hub/logger"
"github.com/wailsapp/wails/v2/pkg/runtime"
)