{"id":22214634,"url":"https://github.com/SamSamskies/strike-nwc-service","last_synced_at":"2025-07-27T12:32:13.500Z","repository":{"id":238937035,"uuid":"797954277","full_name":"SamSamskies/strike-nwc-service","owner":"SamSamskies","description":"Nostr Wallet Connect service using Strike API","archived":false,"fork":false,"pushed_at":"2024-05-19T00:47:43.000Z","size":42,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-24T01:58:31.196Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SamSamskies.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-08T19:56:42.000Z","updated_at":"2024-08-30T13:39:40.000Z","dependencies_parsed_at":"2024-05-09T01:45:13.347Z","dependency_job_id":"08e22a0c-27c2-45ca-8f82-de3ae8bc9bb2","html_url":"https://github.com/SamSamskies/strike-nwc-service","commit_stats":null,"previous_names":["samsamskies/strike-nwc-service"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamSamskies%2Fstrike-nwc-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamSamskies%2Fstrike-nwc-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamSamskies%2Fstrike-nwc-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamSamskies%2Fstrike-nwc-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamSamskies","download_url":"https://codeload.github.com/SamSamskies/strike-nwc-service/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227802812,"owners_count":17822113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-02T21:17:13.914Z","updated_at":"2024-12-02T21:17:17.833Z","avatar_url":"https://github.com/SamSamskies.png","language":"JavaScript","funding_links":[],"categories":["NWC Wallets"],"sub_categories":[],"readme":"# strike-nwc-service\nNostr Wallet Connect service using Strike API.\n\n##  Supported NWC Commands\n\n`pay_invoice` - requires `partner.payment-quote.lightning.create` and `partner.payment-quote.execute` Strike API scopes.\n\n`make_invoice` -  requires `partner.invoice.create` and `partner.invoice.quote.generate` Strike API scopes.\n\n`lookup_invoice` -  requires `partner.invoice.read` Strike API scope.\n\n## Helper Scripts\n\n`npm run generate-secret` will randomly generate a 32 byte hex encoded string which you can use to create your `NWC_SERVICE_PRIVKEY` and `NWC_CONNECTION_SECRET` env vars.\n\n`npm run print-nwc` will print out your NWC connection string that you can use in Nostr clients such as Damus to make payments.\n\n## Usage\n\n1. Create an account with Strike if you don't already have one https://strike.me/download/\n1. Get a Strike API key from https://dashboard.strike.me/\n1. Install the dependencies using npm or yarn or whatever your heart desires\n1. Create a .env file with all the required env variables (see .env.example)\n1. Make sure you have money in your Strike account\n1. Print your NWC connection by running `npm run print-nwc` and copy it into whatever Nostr client you'd like to use to make payments\n1. Run the server `npm start`. If you have [pm2](https://pm2.keymetrics.io/) installed, start the server by running `pm2 start src/index.js` instead of `npm start`.\n\nMake sure the server is running whenever making payments.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSamSamskies%2Fstrike-nwc-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSamSamskies%2Fstrike-nwc-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSamSamskies%2Fstrike-nwc-service/lists"}