Commit graph

4 commits

Author SHA1 Message Date
Rajat Khanduri
264fe0c879
chore: add sqlite config in docker compose (#688) 2026-04-09 15:17:31 +02:00
Rajat Khanduri
2e84cd9463
chore: redirect to docs site for litd setup (#685)
* chore: redirect to docs site

* chore: update link
2026-04-02 11:24:47 +02:00
Bufo
72431bd1e2
feat: add trading offers section for taproot assets (#667)
* feat: add trading offers section for taproot assets

Query liquidity offers from an external API showing lightning nodes
that provide exchange between taproot assets and bitcoin. Each node
advertises their own exchange rate.

- Add TRADE_API_URL env var for configurable API endpoint
- Server proxies external GraphQL API via FetchService (same pattern as Amboss)
- Trading tab with asset selector, buy/sell toggle, sortable offers list
- Each offer shows node alias/pubkey, exchange rate, available amount

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat: improve trading offers with auth, filtering, and API updates

- Update supported assets query path (public.assets.supported)
- Add Amboss auth to trade API calls via context
- Add configurable AMBOSS_AUTH_URL env var
- Wire up min amount filter with debounced input
- Format available capacity with thousand separators
- Add Amboss login banner for unauthenticated users
- Use host.docker.internal for Docker trade/auth URLs
- Remove unused assetIdToGroupKey map

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* chore: add small copy

* feat: add node capabilities query and disable tapd nav when unavailable

Add getNodeCapabilities GraphQL query that exposes provider capabilities.
Use it in the sidebar to gray out Assets and Trading nav items when
taproot_assets is not available, with a tooltip explaining how to enable it.
Also show a message when user has no supported assets to sell.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: lnd capabilities

* feat: hide Assets nav when tapd unavailable, keep Trading disabled

Assets is removed from sidebar when taproot_assets capability is missing.
Trading remains visible but grayed out with an explanatory tooltip.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* chore: address comments

* fix: copy

* chore: address comments

* chore: nullable + security changes

---------

Co-authored-by: Bufo <bufo24@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 15:53:42 +00:00
Bufo
5024ca4507
feat: add litd docker dev environment (#661)
Co-authored-by: Bufo <bufo24@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 14:49:30 +01:00