diff --git a/README.md b/README.md index 7de1e3dd..da8dc4ac 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -
- LNDHub.go -
+# LndHub.go -# Wrapper for Lightning Network Daemon (lnd) ⚡ +![LndHub.go](static/img/logo.png) + +Wrapper for Lightning Network Daemon (lnd) ⚡ It provides separate accounts with minimum trust for end users. Live deployment at [ln.getalby.com](https://ln.getalby.com). diff --git a/docs/docs.go b/docs/docs.go index 93a16188..29c881ef 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -720,7 +720,7 @@ var SwaggerInfo = &swag.Spec{ Host: "", BasePath: "/", Schemes: []string{"https", "http"}, - Title: "LNDhub.go", + Title: "LndHub.go", Description: "Accounting wrapper for the Lightning Network providing separate accounts for end-users.", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, diff --git a/docs/swagger.json b/docs/swagger.json index 9c4eb2d5..ea9aa1a3 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -6,7 +6,7 @@ "swagger": "2.0", "info": { "description": "Accounting wrapper for the Lightning Network providing separate accounts for end-users.", - "title": "LNDhub.go", + "title": "LndHub.go", "contact": { "name": "Alby", "url": "https://getalby.com", diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 5056fcf3..b3b83296 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -180,7 +180,7 @@ info: license: name: GNU GPLv3 url: https://www.gnu.org/licenses/gpl-3.0.en.html - title: LNDhub.go + title: LndHub.go version: 0.9.0 paths: /auth: diff --git a/lib/service/invoicesubscription.go b/lib/service/invoicesubscription.go index 6a2ccfca..a2019c75 100644 --- a/lib/service/invoicesubscription.go +++ b/lib/service/invoicesubscription.go @@ -188,7 +188,7 @@ func (svc *LndhubService) createKeysendInvoice(ctx context.Context, rawInvoice * } userLoginCustomRecord := rawInvoice.Htlcs[0].CustomRecords[TLV_WALLET_ID] //Find user. Our convention here is that the TLV - //record should contain the user's LNDhub login string + //record should contain the user's login string //(LND already returns the decoded string so there is no need to hex-decode it) user, err := svc.FindUserByLogin(ctx, string(userLoginCustomRecord)) if err != nil { diff --git a/main.go b/main.go index fa4bd98e..54183b71 100644 --- a/main.go +++ b/main.go @@ -42,7 +42,7 @@ var indexHtml string //go:embed static/* var staticContent embed.FS -// @title LNDhub.go +// @title LndHub.go // @version 0.9.0 // @description Accounting wrapper for the Lightning Network providing separate accounts for end-users. diff --git a/notes.md b/notes.md index b11a5274..f5abf5e9 100644 --- a/notes.md +++ b/notes.md @@ -1,8 +1,8 @@ # Rebuilding LndHub -Goal of this project is to build a simple accounting system with a [LNDHub](https://github.com/BlueWallet/LndHub) compatible API that focusses on simplicity, maintainability and ease of deployment. +Goal of this project is to build a simple accounting system with a [LndHub](https://github.com/BlueWallet/LndHub) compatible API that focusses on simplicity, maintainability and ease of deployment. -[LNDHub](https://github.com/BlueWallet/LndHub) is a simple accounting system for LND. It allows users to send and receive lightning payments. Through the API people can access funds through a shared lightning node. (see overview.png diagram) +[LndHub](https://github.com/BlueWallet/LndHub) is a simple accounting system for LND. It allows users to send and receive lightning payments. Through the API people can access funds through a shared lightning node. (see overview.png diagram) Some design goals: @@ -17,7 +17,7 @@ Some design goals: ### API endpoints -See [LNDHub API](https://github.com/BlueWallet/LndHub/blob/master/controllers/api.js) for enpoints and request/response signatures. +See [LndHub API](https://github.com/BlueWallet/LndHub/blob/master/controllers/api.js) for enpoints and request/response signatures. #### /create Create a new user account @@ -59,4 +59,4 @@ Node information ### Links -* [LNDHub](https://github.com/BlueWallet/LndHub) - Current nodejs implementation +* [LndHub](https://github.com/BlueWallet/LndHub) - Current nodejs implementation diff --git a/static/img/logo.png b/static/img/logo.png index 5962b1bf..0b8b31b0 100644 Binary files a/static/img/logo.png and b/static/img/logo.png differ