mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
No description
|
|
||
|---|---|---|
| app | ||
| proto | ||
| .gitignore | ||
| config.go | ||
| go.mod | ||
| go.sum | ||
| proxy.go | ||
| README.md | ||
| shustar.go | ||
This document is currently a scratchpad for developer setup and temporary hacks to run the project. It will be made more user-friendly in the future
Requirements: Go, protoc, nodejs
One-time Setup
Create certificate for browser to backend proxy communication
openssl genrsa -out https.key 2048
openssl req -new -x509 -key https.key -out https.cert -days 365
Install client app dependencies
npm install -g yarn # if yarn isn't already installed
cd app/
yarn
Development
- Spin up a local regtest env with nautilus and loopd (See docker-regtest)
- Copy admin.macaroon hex into App.tsx
- Start backend server
go run . --lndhost=localhost:10011 --loophost=localhost:11010 - Run the client app in a separate terminal
cd app yarn start
Open browser at https://localhost:3000 and accept invalid cert (may not work in Chrome, use Firefox)