Appearance
Install and Run
LN Advisor UI connects to an LND node through LNC and gives you three main flows in the frontend: Channel Fees, Opening Recommendations, and Node Analysis.
Requirements
- Node.js
- pnpm
Install pnpm if needed:
bash
npm install -g pnpmSetup
Clone the app and install dependencies:
bash
git clone https://github.com/ln-advisor/ln-advisor-ui
cd ln-advisor-ui
pnpm install
cp .env.example .envMinimum .env values:
txt
VITE_API_BASE_URL=http://127.0.0.1:8787
VITE_ENABLE_PHALA_VERIFIED_UI=true
API_PORT=8787If you want the verified frontend to call your own service, add:
txt
VITE_PHALA_MINIMAL_APP_URL=https://your-verified-service-urlStart
Start the frontend:
bash
pnpm dev --hostStart the local API if you want Local mode:
bash
pnpm apiOpen http://localhost:5173.
Public demo
Public demonstration URL:
https://ln-advisor.vercel.app/
Use it to review the interface only.
Do not use it with a real node.
Secure use is local, with your own frontend and local API.
The public demo is not the right place for local API flows or real node credentials.
Connect your node
- paste the LNC pairing phrase
- enter the password
- click
Connect & Save Session
For later sessions:
- enter the password
- click
Login
Use the frontend
Channel Fees
- open
Channel Fees - select a channel
- inspect fee, liquidity, and forwarding context
- choose
LocalorVerified Runtime (TEE) - in verified mode, click
Review Request - run the recommendation
Opening Recommendations
- open
Opening Recommendations - click
Sync Graph Data - choose
LocalorVerified Runtime (TEE) - in verified mode, click
Review Request - run the recommendation
- inspect the ranked candidate peers
Node Analysis
- open
Node Analysis - click
Fetch Data - inspect graph state, forwarding history, mission control, and centrality
Conditional Recall
- open
Conditional Recall - enter the REST host and
routerrpcmacaroon hex - set
Lookback daysandLive window seconds - click
Test Config - click
Start Session - review
Session StatusandDraft Fee Suggestions