Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add express endpoints for lightning invoice #5643

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

007harshmahajan
Copy link

Adding express apis

  • list invoices
  • update wallet coin specific

Ticket: BTC-1836

@007harshmahajan 007harshmahajan marked this pull request as ready for review February 26, 2025 16:36
@007harshmahajan 007harshmahajan requested review from a team as code owners February 26, 2025 16:36
Add
- list invoices
- update wallet coin specific

Ticket: BTC-1836
import * as t from 'io-ts';

const UpdateWalletRequest = t.intersection([
UpdateLightningWalletSignedRequest,
Copy link
Contributor

@saravanan7mani saravanan7mani Feb 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should contain signerTlsKey instead of encryptedSignerTlsKey.

handleUpdateLightningWalletCoinSpecific should encrypt signerTlsKey to encryptedSignerTlsKey using wallet passphrase (similar to signerAdminMacaroon -> encryptedSignerAdminMacaroon)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants