Repository navigation
Releases
Releases · opensourceminers/lightningmate
LightningMate 0.10.1
Connecting Amboss is now one guided card in Settings, and every place that needs your key leads there.
Settings
- Settings sits in the top bar with its name; on a phone it is a large gear that always fits.
- It opens with Amboss — needed to sell and buy channels on Magma: three numbered steps.
- Log in at Amboss with your node: Amboss shows a message, you paste it here, sign it with your node and copy the signature back.
- Make a key on Amboss's key page (choose the longest expiry if one is offered).
- Paste the key and connect. Amboss checks it before anything is kept.
- A key Amboss rejects — also when Amboss can't be reached at that moment — is replaced right there, without removing it first.
- Sign a message with your node is its own section, also with a key connected. Without write mode it says so before anyone clicks, and how to sign on the node instead.
- A key state that can't be read is said as that, never as "no key".
Leading there
- "Connect Amboss" on Market → Sell, → Buy and → Orders, in the Autopilot's Selling row and on the start page opens Settings right at the card, scrolled there and marked.
- The first start with selling chosen and no key ends in Settings at Amboss.
- "Settings → Privacy" and LSP mode notes are links too; the alert for a lost key file has a "Connect Amboss" button.
- The app calls it the Amboss key everywhere.
Tested
- Rendered and in a browser at desktop and phone widths (1360, 390, 320 px), with no key, a rejected key, a valid key and read-only.
LightningMate 0.10.0
A large round of fixes from a full review of the app: Magma sales complete reliably, fees and refills decide on what really earned, LSP mode can't be tied up, and the app is harder to misuse.
Selling on Magma
- A sale whose buyer paid Amboss completes by itself: the channel is opened first (Amboss pays the seller only after the open), never twice, and the payment is claimed when it arrives.
- No channel is opened for more on-chain fee than the order brings. An order is tried at a faster rate in its last six hours; if it still costs more, it is ended at its last moment to open and the refund is said, with both numbers.
- An accept Amboss answers with an error, an old deadline, high fees or an offline buyer no longer lose the order.
- The offer is priced on what buyers paid, never on listings that only undercut, and is not created twice or written on a read-only install. Amboss still decides which seller gets an order.
Fees and refills
- A fee that sells is kept, a slightly higher one is tried and taken back when it earns less; a raise nobody buys at goes back.
- A refill is judged per peer and booked on the channel it arrived on; it goes out of the channel it is meant to come from, also on LND 0.21.
- No second channel is opened to a node one is already opening to.
- An alert names the capital in channels that routed nothing in 60 days. Closing stays yours.
LSP mode (experimental)
- A buyer who pays and stays away holds your coins six hours at most; one buyer's unpaid quotes turn no one else away; a stalled open no longer blocks other on-chain work; switching the mode off withdraws unpaid quotes.
Safety
- Closing or opening a channel at a fee far above the next block's asks again and names the fee. A cooperative close never agrees to more than that line with the peer.
- An on-chain send is never sent twice, and a close or send LND doesn't answer within 45 seconds says so instead of hanging.
- Every request the app makes itself goes through Umbrel's Tor proxy; the app's log and Settings → Privacy say the route, and a faulty proxy setting is named.
- Settings → Sessions → "Sign out everywhere" ends every sign-in at once.
- Security headers on every page, stricter checks on every request, and the app's data files readable by the app only.
Tested
- On a regtest network with real LND nodes: a Magma sale end to end, an LSP buy over LSPS1 end to end, manual close and on-chain send through the app. Not yet with a real Magma buyer or a real wallet since these fixes.