lnlink-server 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +461 -0
- package/{app.js → dist/app.js} +329 -321
- package/dist/binaries.json +25 -0
- package/{build-info.json → dist/build-info.json} +2 -1
- package/{index.js → dist/index.js} +690 -121
- package/dist/index.js.map +7 -0
- package/dist/node_modules/debug/.coveralls.yml +1 -0
- package/dist/node_modules/debug/.eslintrc +11 -0
- package/dist/node_modules/debug/.travis.yml +14 -0
- package/dist/node_modules/debug/CHANGELOG.md +362 -0
- package/dist/node_modules/debug/LICENSE +19 -0
- package/dist/node_modules/debug/Makefile +50 -0
- package/dist/node_modules/debug/README.md +312 -0
- package/dist/node_modules/debug/component.json +19 -0
- package/dist/node_modules/debug/karma.conf.js +70 -0
- package/dist/node_modules/debug/node.js +1 -0
- package/dist/node_modules/debug/package.json +49 -0
- package/dist/node_modules/debug/src/browser.js +185 -0
- package/dist/node_modules/debug/src/debug.js +202 -0
- package/dist/node_modules/debug/src/index.js +10 -0
- package/dist/node_modules/debug/src/inspector-log.js +15 -0
- package/dist/node_modules/debug/src/node.js +248 -0
- package/dist/node_modules/depd/History.md +96 -0
- package/dist/node_modules/depd/LICENSE +22 -0
- package/dist/node_modules/depd/Readme.md +280 -0
- package/dist/node_modules/depd/index.js +522 -0
- package/dist/node_modules/depd/lib/browser/index.js +77 -0
- package/dist/node_modules/depd/lib/compat/callsite-tostring.js +103 -0
- package/dist/node_modules/depd/lib/compat/event-listener-count.js +22 -0
- package/dist/node_modules/depd/lib/compat/index.js +79 -0
- package/dist/node_modules/depd/package.json +41 -0
- package/dist/node_modules/http-errors/HISTORY.md +132 -0
- package/dist/node_modules/http-errors/LICENSE +23 -0
- package/dist/node_modules/http-errors/README.md +135 -0
- package/dist/node_modules/http-errors/index.js +260 -0
- package/dist/node_modules/http-errors/package.json +48 -0
- package/dist/node_modules/inherits/LICENSE +16 -0
- package/dist/node_modules/inherits/README.md +42 -0
- package/dist/node_modules/inherits/inherits.js +7 -0
- package/dist/node_modules/inherits/inherits_browser.js +23 -0
- package/dist/node_modules/inherits/package.json +29 -0
- package/dist/node_modules/ms/index.js +152 -0
- package/dist/node_modules/ms/license.md +21 -0
- package/dist/node_modules/ms/package.json +37 -0
- package/dist/node_modules/ms/readme.md +51 -0
- package/dist/node_modules/setprototypeof/LICENSE +13 -0
- package/dist/node_modules/setprototypeof/README.md +26 -0
- package/dist/node_modules/setprototypeof/index.d.ts +2 -0
- package/dist/node_modules/setprototypeof/index.js +15 -0
- package/dist/node_modules/setprototypeof/package.json +25 -0
- package/dist/node_modules/statuses/HISTORY.md +65 -0
- package/dist/node_modules/statuses/LICENSE +23 -0
- package/dist/node_modules/statuses/README.md +127 -0
- package/dist/node_modules/statuses/codes.json +66 -0
- package/dist/node_modules/statuses/index.js +113 -0
- package/dist/node_modules/statuses/package.json +48 -0
- package/dist/package.json +62 -0
- package/dist/public/css/initOwner.css +705 -0
- package/dist/public/img/logo.svg +1 -0
- package/{public → dist/public}/init.html +5 -5
- package/dist/public/js/init.js +840 -0
- package/{setting.regtest.json → dist/setting.regtest.json} +2 -1
- package/package.json +51 -20
- package/binaries.json +0 -20
- package/index.js.map +0 -7
- package/public/css/initOwner.css +0 -553
- package/public/js/init.js +0 -454
- /package/{config.default.js → dist/config.default.js} +0 -0
- /package/{prisma → dist/prisma}/migrations/20250918020814_/migration.sql +0 -0
- /package/{prisma → dist/prisma}/migrations/20251114105314_auto_update/migration.sql +0 -0
- /package/{prisma → dist/prisma}/migrations/migration_lock.toml +0 -0
- /package/{prisma → dist/prisma}/schema.prisma +0 -0
- /package/{proto → dist/proto}/chainkit.proto +0 -0
- /package/{proto → dist/proto}/lightning.proto +0 -0
- /package/{proto → dist/proto}/lit-status.proto +0 -0
- /package/{proto → dist/proto}/looprpc/client.proto +0 -0
- /package/{proto → dist/proto}/price_oracle.proto +0 -0
- /package/{proto → dist/proto}/rfqrpc/rfq.proto +0 -0
- /package/{proto → dist/proto}/routerrpc/router.proto +0 -0
- /package/{proto → dist/proto}/signrpc/signer.proto +0 -0
- /package/{proto → dist/proto}/stateservice.proto +0 -0
- /package/{proto → dist/proto}/swapserverrpc/common.proto +0 -0
- /package/{proto → dist/proto}/tapchannel.proto +0 -0
- /package/{proto → dist/proto}/tapcommon.proto +0 -0
- /package/{proto → dist/proto}/taprootassets.proto +0 -0
- /package/{proto → dist/proto}/universe.proto +0 -0
- /package/{proto → dist/proto}/walletkit.proto +0 -0
- /package/{proto → dist/proto}/walletunlocker.proto +0 -0
- /package/{public → dist/public}/favicon.ico +0 -0
- /package/{setting.mainnet.json → dist/setting.mainnet.json} +0 -0
- /package/{setting.testnet.json → dist/setting.testnet.json} +0 -0
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"bitcoindZmqRawTx": "tcp://regtest.lnfi.network:28335",
|
|
9
9
|
"network": "regtest",
|
|
10
10
|
"nostrRelays": [
|
|
11
|
-
"wss://relay01.lnfi.network"
|
|
11
|
+
"wss://relay01.lnfi.network",
|
|
12
|
+
"wss://relay02.lnfi.network"
|
|
12
13
|
],
|
|
13
14
|
"officialLndPeer": "03b24a4bf911ffd26ac1d5e5f2440a3c2f6974e4cc85d2ef54e17ee6d3717433d3",
|
|
14
15
|
"officialLndPeerHost": "34.84.66.29:7739",
|
package/package.json
CHANGED
|
@@ -1,29 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lnlink-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"private": false,
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"lightning",
|
|
10
|
-
"bitcoin",
|
|
11
|
-
"lnd",
|
|
12
|
-
"rgb",
|
|
13
|
-
"taproot",
|
|
14
|
-
"nostr",
|
|
15
|
-
"electron"
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist",
|
|
8
|
+
"README.md"
|
|
16
9
|
],
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
"
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "node build.js && node build.js --mode development --external all --entry electron",
|
|
12
|
+
"start:bin": "dotenv -e .env.bin -- node scripts/start-bin.js",
|
|
13
|
+
"start:docker:dev": "dotenv -e .env.dev -- docker compose -f ./docker-compose.dev.yml up --build",
|
|
14
|
+
"start:dev": "dotenv -e .env.dev -- sh -c \"prisma generate && (prisma migrate dev --name auto_update || prisma db push) && clinic heapprof -- node ./app.js\"",
|
|
15
|
+
"start:regtest": "docker compose --env-file ./.env.regtest -f ./docker-compose-lnlink.yml up --build",
|
|
16
|
+
"start:testnet": "docker compose --env-file ./.env.testnet -f ./docker-compose-lnlink.yml up --build",
|
|
17
|
+
"start:mainnet": "docker compose --env-file ./.env.mainnet -f ./docker-compose-lnlink.yml up --build",
|
|
18
|
+
"start:bin:dist": "dotenv -e .env.bin -- node scripts/start-bin.js --dist",
|
|
19
|
+
"lint": "eslint .",
|
|
20
|
+
"lint:fix": "eslint . --fix",
|
|
21
|
+
"lint:staged": "lint-staged",
|
|
22
|
+
"preinstall": "npx husky"
|
|
22
23
|
},
|
|
23
|
-
"
|
|
24
|
-
"
|
|
24
|
+
"_moduleAliases": {
|
|
25
|
+
"@api": "api",
|
|
26
|
+
"@constants": "constants",
|
|
27
|
+
"@business": "business",
|
|
28
|
+
"@nostr": "nostr",
|
|
29
|
+
"@package.json": "./package.json"
|
|
25
30
|
},
|
|
26
|
-
"scripts": {},
|
|
27
31
|
"dependencies": {
|
|
28
32
|
"@grpc/grpc-js": "^1.10.8",
|
|
29
33
|
"@grpc/proto-loader": "^0.7.9",
|
|
@@ -33,6 +37,7 @@
|
|
|
33
37
|
"axios": "^1.7.2",
|
|
34
38
|
"bitcoin-core": "^4.2.0",
|
|
35
39
|
"body-parser": "^1.20.2",
|
|
40
|
+
"bolt11": "^1.4.1",
|
|
36
41
|
"cookie-parser": "~1.4.4",
|
|
37
42
|
"crypto-js": "^4.2.0",
|
|
38
43
|
"dayjs": "^1.11.10",
|
|
@@ -57,5 +62,31 @@
|
|
|
57
62
|
"prisma": "^6.14.0",
|
|
58
63
|
"typescript": "^5.7.3",
|
|
59
64
|
"ws": "^8.18.0"
|
|
65
|
+
},
|
|
66
|
+
"lint-staged": {
|
|
67
|
+
"*.ts": [
|
|
68
|
+
"eslint --fix",
|
|
69
|
+
"git add"
|
|
70
|
+
],
|
|
71
|
+
"*.js": [
|
|
72
|
+
"eslint --fix",
|
|
73
|
+
"git add"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@antfu/eslint-config": "^4.3.0",
|
|
78
|
+
"@commitlint/cli": "^19.7.1",
|
|
79
|
+
"@commitlint/config-conventional": "^19.7.1",
|
|
80
|
+
"dotenv-cli": "^10.0.0",
|
|
81
|
+
"electron-rebuild": "^3.2.9",
|
|
82
|
+
"esbuild": "^0.25.9",
|
|
83
|
+
"eslint": "^9.20.1",
|
|
84
|
+
"husky": "^9.1.7",
|
|
85
|
+
"lint-staged": "^15.4.3",
|
|
86
|
+
"nodemon": "^3.0.3",
|
|
87
|
+
"protobufjs": "^7.2.5"
|
|
88
|
+
},
|
|
89
|
+
"engines": {
|
|
90
|
+
"node": ">=19.0.0"
|
|
60
91
|
}
|
|
61
92
|
}
|
package/binaries.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"darwin-arm64": {
|
|
3
|
-
"tor": "https://archive.torproject.org/tor-package-archive/torbrowser/14.5.4/tor-expert-bundle-macos-aarch64-14.5.4.tar.gz",
|
|
4
|
-
"libevent-2.1.7.dylib": "https://archive.torproject.org/tor-package-archive/torbrowser/14.5.4/tor-expert-bundle-macos-aarch64-14.5.4.tar.gz",
|
|
5
|
-
"litd": "https://github.com/lightninglabs/lightning-terminal/releases/download/v0.14.0-alpha/lightning-terminal-darwin-arm64-v0.14.0-alpha.tar.gz",
|
|
6
|
-
"rgb-lightning-node": "https://github.com/free-free-6/rgb-lightning-node/releases/download/v0.2.0/rgb-lightning-node-macos-aarch64"
|
|
7
|
-
},
|
|
8
|
-
"darwin-x64": {
|
|
9
|
-
"tor": "https://archive.torproject.org/tor-package-archive/torbrowser/14.5.4/tor-expert-bundle-macos-x86_64-14.5.4.tar.gz",
|
|
10
|
-
"libevent-2.1.7.dylib": "https://archive.torproject.org/tor-package-archive/torbrowser/14.5.4/tor-expert-bundle-macos-x86_64-14.5.4.tar.gz",
|
|
11
|
-
"litd": "https://github.com/lightninglabs/lightning-terminal/releases/download/v0.14.0-alpha/lightning-terminal-darwin-amd64-v0.14.0-alpha.tar.gz",
|
|
12
|
-
"rgb-lightning-node": "https://github.com/free-free-6/rgb-lightning-node/releases/download/v0.2.0/rgb-lightning-node-macos-x86_64"
|
|
13
|
-
},
|
|
14
|
-
"linux-x64": {
|
|
15
|
-
"tor": "https://archive.torproject.org/tor-package-archive/torbrowser/14.5.4/tor-expert-bundle-linux-x86_64-14.5.4.tar.gz",
|
|
16
|
-
"libevent-2.1.7.dylib": "https://archive.torproject.org/tor-package-archive/torbrowser/14.5.4/tor-expert-bundle-linux-x86_64-14.5.4.tar.gz",
|
|
17
|
-
"litd": "https://github.com/lightninglabs/lightning-terminal/releases/download/v0.14.0-alpha/lightning-terminal-linux-amd64-v0.14.0-alpha.tar.gz",
|
|
18
|
-
"rgb-lightning-node": "https://github.com/free-free-6/rgb-lightning-node/releases/download/v0.2.0/rgb-lightning-node-linux-x86_64"
|
|
19
|
-
}
|
|
20
|
-
}
|