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(express): lightning wallet creation step two #4783

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

Conversation

saravanan7mani
Copy link
Contributor

initialize signer lnd and update platform.

Ticket: BTC-1356

@saravanan7mani saravanan7mani force-pushed the BTC-1356-lightning-wallet-step-2 branch 4 times, most recently from 4774093 to 830612f Compare August 12, 2024 13:04
@saravanan7mani saravanan7mani force-pushed the BTC-1356-lightning-wallet-step-2 branch 4 times, most recently from c43000b to 7449cfd Compare August 12, 2024 16:16

export function setupLightningRoutes(app: express.Application, config: Config): void {
app.post(
'/api/v2/:coin/initlightningwallet/:id',
Copy link
Contributor

@lcovar lcovar Aug 12, 2024

Choose a reason for hiding this comment

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

:nit: personally think this is a bit cleaner of a route. On the handler we can check if it's a lightning coin, if it's not we can throw a not supported error.

Suggested change
'/api/v2/:coin/initlightningwallet/:id',
'/api/v2/:coin/:walletid/init',

@saravanan7mani saravanan7mani force-pushed the BTC-1356-lightning-wallet-step-2 branch 14 times, most recently from b3c95a2 to dea64fa Compare August 19, 2024 03:48
@saravanan7mani saravanan7mani force-pushed the BTC-1356-lightning-wallet-step-2 branch from dea64fa to 4b769d3 Compare August 22, 2024 09:24
@saravanan7mani saravanan7mani force-pushed the BTC-1356-lightning-wallet-step-2 branch 3 times, most recently from f7527b3 to 93ad3ab Compare September 2, 2024 07:37
@saravanan7mani saravanan7mani force-pushed the BTC-1356-lightning-wallet-step-2 branch 4 times, most recently from 5bc7584 to a5b1f23 Compare September 2, 2024 13:44
initialize signer lnd and update platform.

Ticket: BTC-1356
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.

2 participants