https://github.com/synonymdev/ldk-node-js
LDK Web Sandbox with live reload
https://github.com/synonymdev/ldk-node-js
Last synced: 7 months ago
JSON representation
LDK Web Sandbox with live reload
- Host: GitHub
- URL: https://github.com/synonymdev/ldk-node-js
- Owner: synonymdev
- License: mit
- Created: 2022-06-02T10:03:40.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-29T08:46:20.000Z (over 3 years ago)
- Last Synced: 2025-07-23T09:31:52.871Z (9 months ago)
- Language: JavaScript
- Size: 1.19 MB
- Stars: 12
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sample LDK node
The sample LDK node is a sandboxing environment to repoduce the current [LDK-Sample](https://github.com/lightningdevkit/ldk-sample) in javascript using the [TypeScript bindings](https://github.com/lightningdevkit/ldk-garbagecollected/). Note that this repository is currently experimental and thus a work in progress, so should be considered incomplete.
## Installation
1. git clone https://github.com/synonymdev/ldk-node-js (or fork)
1. cd ./ldk-node-js
1. npm i
# Configuration
Copy and edit the .env_sample file to match your local environment. LN_REMOTE_HOST is provided for quick connection testing. Alternatively use connectpeer(pubkey@host:port) from the REPL.
```
cp ./.env_sample ./.env
```
## Running Tests
```
npm run test
```
## Running Node REPL
```
npm run start-node
```
## Running Browser node
```
npm start
```