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 strike backend #186

Closed
wants to merge 13 commits into from
Closed

feat: add strike backend #186

wants to merge 13 commits into from

Conversation

im-adithya
Copy link
Member

@im-adithya im-adithya commented Dec 12, 2023

Description

Adds support for Strike as a backend for NWC.

Supports get_balance, get_info, make_invoice, pay_invoice

Tested using alby-js-sdk

@im-adithya im-adithya marked this pull request as ready for review December 14, 2023 15:55
@im-adithya im-adithya requested review from bumi and rolznz December 14, 2023 15:56
@@ -404,7 +404,7 @@ func (svc *AlbyOAuthService) ListTransactions(ctx context.Context, senderPubkey
endpoint += "/outgoing"
}

requestUrl := fmt.Sprintf("%s%s?%s", svc.cfg.AlbyAPIURL, endpoint, urlParams.Encode())
requestUrl := fmt.Sprintf("%s%s?%s", svc.cfg.OAuthAPIURL, endpoint, urlParams.Encode())
Copy link
Contributor

Choose a reason for hiding this comment

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

careful this would break the current deployment.
can you take care that the deployment is properly configured.

Copy link
Member Author

Choose a reason for hiding this comment

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

Will take care of it once this is merged 👍

@frnandu
Copy link
Contributor

frnandu commented Jan 17, 2024

We should drop this, since any update or change should be done from now on in https://github.com/getAlby/nwc.getalby.com/tree/feat/strike, since that one will be deployed on https://strike-nwc.albylabs.com/

@rolznz
Copy link
Contributor

rolznz commented Jan 18, 2024

I agree, closing for now CC @im-adithya

@rolznz rolznz closed this Jan 18, 2024
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.

4 participants