{"_id":"@ambosstech/lightning-mpp-adapter-lnd","_rev":"4-4aa3e8a893c39916a7b6cf4c23e313b7","name":"@ambosstech/lightning-mpp-adapter-lnd","dist-tags":{"latest":"0.2.3"},"versions":{"0.1.1":{"name":"@ambosstech/lightning-mpp-adapter-lnd","version":"0.1.1","_id":"@ambosstech/lightning-mpp-adapter-lnd@0.1.1","maintainers":[{"name":"ambossbot","email":"external-npm@amboss.tech"}],"dist":{"shasum":"6df87a105f75921fad1ae918de4402212ff9a4a8","tarball":"https://registry.npmjs.org/@ambosstech/lightning-mpp-adapter-lnd/-/lightning-mpp-adapter-lnd-0.1.1.tgz","fileCount":8,"integrity":"sha512-WSJx5XFJ7rxg80a5i0pRgxYjeuMk0qXXdhFImd0oJVxyFr9UWWPRd8Sxwn69Ss5m8XmUBwCglALWqngk/Jm8cA==","signatures":[{"sig":"MEYCIQD2Us4keOnwxgrbbySEJIn4W5btFNJUrXtlF5Mksy2eaQIhAOjfT5MCyqYoNeww/QCZwuKCl2ZUDTxN5zAkY7Go2eqT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59503},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"8e4a6b902c84c8818036ceda00a192a129105134","scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"ambossbot","email":"external-npm@amboss.tech"},"_npmVersion":"11.8.0","directories":{},"_nodeVersion":"24.13.1","dependencies":{"@grpc/grpc-js":"^1.12.0","@grpc/proto-loader":"^0.7.13","@ambosstech/lightning-mpp-sdk":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","vitest":"^2.1.0","typescript":"~5.7.0"},"_npmOperationalInternal":{"tmp":"tmp/lightning-mpp-adapter-lnd_0.1.1_1773874539140_0.2811344369508382","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@ambosstech/lightning-mpp-adapter-lnd","version":"0.2.0","_id":"@ambosstech/lightning-mpp-adapter-lnd@0.2.0","maintainers":[{"name":"ambossbot","email":"external-npm@amboss.tech"}],"homepage":"https://github.com/AmbossTech/lightning-mpp-sdk#readme","bugs":{"url":"https://github.com/AmbossTech/lightning-mpp-sdk/issues"},"dist":{"shasum":"ab94bc17f0a892bdfc5bc4578a5291cfcaa00949","tarball":"https://registry.npmjs.org/@ambosstech/lightning-mpp-adapter-lnd/-/lightning-mpp-adapter-lnd-0.2.0.tgz","fileCount":9,"integrity":"sha512-Ulimrwm0L/LNcLEDs2E0UhMq6HFt1pHpEZnz2S/IafwJZCL58P4da1DTX1w4DMVsSCUHqOVMKQ6PqlnpfK/uZw==","signatures":[{"sig":"MEYCIQCZ58FkSjOUzACfGUK9VKHjuWppJ6y8AU8FbmEi5szEGQIhAM4yEggEL+X/3/KcLfUAjAzXBhtcH1V4wD5SpsP7VBD+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ambosstech%2flightning-mpp-adapter-lnd@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":60859},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"c3ea9b293975a02d3f26c38566e0fcc198183878","scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:16ecfc28-6d3c-45d1-99d8-bee7be66d5f8"}},"repository":{"url":"git+https://github.com/AmbossTech/lightning-mpp-sdk.git","type":"git","directory":"packages/adapter-lnd"},"_npmVersion":"11.9.0","description":"LND adapter for the [Lightning MPP SDK](https://www.npmjs.com/package/@ambosstech/lightning-mpp-sdk). Supports both gRPC and REST transports.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@grpc/grpc-js":"^1.12.0","@grpc/proto-loader":"^0.7.13","@ambosstech/lightning-mpp-sdk":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","vitest":"^2.1.0","typescript":"~5.7.0"},"_npmOperationalInternal":{"tmp":"tmp/lightning-mpp-adapter-lnd_0.2.0_1774029953046_0.665499165257994","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@ambosstech/lightning-mpp-adapter-lnd","version":"0.2.2","keywords":["lightning","bitcoin","lnd","grpc","mpp"],"_id":"@ambosstech/lightning-mpp-adapter-lnd@0.2.2","maintainers":[{"name":"ambossbot","email":"external-npm@amboss.tech"}],"homepage":"https://github.com/AmbossTech/lightning-mpp-sdk#readme","bugs":{"url":"https://github.com/AmbossTech/lightning-mpp-sdk/issues"},"dist":{"shasum":"f9d0419b09e1317f1e609d639317e60b9bba8929","tarball":"https://registry.npmjs.org/@ambosstech/lightning-mpp-adapter-lnd/-/lightning-mpp-adapter-lnd-0.2.2.tgz","fileCount":9,"integrity":"sha512-kZ5Ql1vYjifCIqxSaKgXQMvgPQlvxKrLOTFd9wMf/AmLFYjLmIfNDmGP5Hr6g8EEesOL5cCWPGmp0iBUguXIBQ==","signatures":[{"sig":"MEUCIQCFeZXMLBjOc1lNZ93L3CwHIaptKDXZIP6yYPK6inOg+AIgajPAERSFSRqZSkLpyxutRFtW4LHNgfd1Q1TVSkpmnao=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ambosstech%2flightning-mpp-adapter-lnd@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":61017},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"9d2cf2842f6ee9eb65af3276474494470a3ed5f0","scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:38d8a1e5-e437-4fd4-9cb7-f8b14107838d"}},"repository":{"url":"git+https://github.com/AmbossTech/lightning-mpp-sdk.git","type":"git","directory":"packages/adapter-lnd"},"_npmVersion":"11.9.0","description":"LND adapter (gRPC + REST) for the Lightning MPP SDK","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@grpc/grpc-js":"^1.12.0","@grpc/proto-loader":"^0.7.13","@ambosstech/lightning-mpp-sdk":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","vitest":"^2.1.0","typescript":"~5.7.0"},"_npmOperationalInternal":{"tmp":"tmp/lightning-mpp-adapter-lnd_0.2.2_1774033977771_0.8287675258335219","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@ambosstech/lightning-mpp-adapter-lnd","description":"LND adapter (gRPC + REST) for the Lightning MPP SDK","keywords":["lightning","bitcoin","lnd","grpc","mpp"],"version":"0.2.3","repository":{"type":"git","url":"git+https://github.com/AmbossTech/lightning-mpp-sdk.git","directory":"packages/adapter-lnd"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup","test":"vitest run","test:watch":"vitest","typecheck":"tsc --noEmit","clean":"rm -rf dist"},"dependencies":{"@ambosstech/lightning-mpp-sdk":"workspace:*","@grpc/grpc-js":"^1.12.0","@grpc/proto-loader":"^0.7.13"},"devDependencies":{"tsup":"^8.3.0","typescript":"~5.7.0","vitest":"^2.1.0"},"gitHead":"7f80fd3e759cb6c3edc2149e83e2f0d75adec4f4","_id":"@ambosstech/lightning-mpp-adapter-lnd@0.2.3","bugs":{"url":"https://github.com/AmbossTech/lightning-mpp-sdk/issues"},"homepage":"https://github.com/AmbossTech/lightning-mpp-sdk#readme","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-lzWhDY9Qxq9s0Is+TCcDJPNJI40KM30XMEZDpSMcG+HGdMxfzcVIKPvzmgmGaS4uuEVVBmRQUJZFJgH4U71B8g==","shasum":"c17fd6d7eface2d5f3fe6d3c770dead8eb73ad2a","tarball":"https://registry.npmjs.org/@ambosstech/lightning-mpp-adapter-lnd/-/lightning-mpp-adapter-lnd-0.2.3.tgz","fileCount":9,"unpackedSize":61017,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ambosstech%2flightning-mpp-adapter-lnd@0.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFLLOvH2AVDMiMOxNnYV9xRPZnswE5+0JB/eHUhNnULKAiEAqna+IuqutI69xWXzoGOGPLhF9nhznt+sY/oWBDREM2o="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:38d8a1e5-e437-4fd4-9cb7-f8b14107838d"}},"directories":{},"maintainers":[{"name":"ambossbot","email":"external-npm@amboss.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lightning-mpp-adapter-lnd_0.2.3_1774037238470_0.043251563023139816"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-18T22:55:39.035Z","modified":"2026-03-20T20:07:18.982Z","0.1.1":"2026-03-18T22:55:39.295Z","0.2.0":"2026-03-20T18:05:53.208Z","0.2.2":"2026-03-20T19:12:57.933Z","0.2.3":"2026-03-20T20:07:18.673Z"},"bugs":{"url":"https://github.com/AmbossTech/lightning-mpp-sdk/issues"},"homepage":"https://github.com/AmbossTech/lightning-mpp-sdk#readme","keywords":["lightning","bitcoin","lnd","grpc","mpp"],"repository":{"type":"git","url":"git+https://github.com/AmbossTech/lightning-mpp-sdk.git","directory":"packages/adapter-lnd"},"description":"LND adapter (gRPC + REST) for the Lightning MPP SDK","maintainers":[{"name":"ambossbot","email":"external-npm@amboss.tech"}],"readme":"# @ambosstech/lightning-mpp-adapter-lnd\n\nLND adapter for the [Lightning MPP SDK](https://www.npmjs.com/package/@ambosstech/lightning-mpp-sdk). Supports both gRPC and REST transports.\n\n## Installation\n\n```bash\npnpm add @ambosstech/lightning-mpp-sdk @ambosstech/lightning-mpp-adapter-lnd\n```\n\n## Usage\n\n### REST transport\n\n```ts\nimport { LndLightningProvider } from \"@ambosstech/lightning-mpp-adapter-lnd\";\n\nconst provider = new LndLightningProvider({\n  transport: \"rest\",\n  url: \"https://127.0.0.1:8080\",\n  macaroon: process.env.LND_MACAROON!, // hex-encoded\n  fetch: customFetchWithTLS, // optional: custom fetch for TLS cert handling\n});\n```\n\n### gRPC transport\n\n```ts\nimport { LndLightningProvider } from \"@ambosstech/lightning-mpp-adapter-lnd\";\nimport { readFileSync } from \"node:fs\";\n\nconst provider = new LndLightningProvider({\n  transport: \"grpc\",\n  host: \"127.0.0.1:10009\",\n  tlsCert: readFileSync(\"/path/to/tls.cert\"),\n  macaroon: readFileSync(\"/path/to/admin.macaroon\"),\n});\n```\n\n### With the SDK\n\n```ts\nimport { lightningChargeServer } from \"@ambosstech/lightning-mpp-sdk\";\n\nconst chargeMethod = lightningChargeServer({\n  provider,\n  currency: \"sat\",\n  network: \"mainnet\",\n});\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}