{"id":18645879,"url":"https://github.com/interledger/open-payments-snippets-vscode","last_synced_at":"2025-04-11T12:31:40.654Z","repository":{"id":197787820,"uuid":"696792212","full_name":"interledger/open-payments-snippets-vscode","owner":"interledger","description":"VSCode snippets for the Open Payments SDK","archived":false,"fork":false,"pushed_at":"2024-01-06T00:54:06.000Z","size":833,"stargazers_count":35,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T10:38:07.432Z","etag":null,"topics":["ilp","interledger","open-payments"],"latest_commit_sha":null,"homepage":"https://openpayments.guide/","language":"TypeScript","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/interledger.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-09-26T12:51:52.000Z","updated_at":"2025-02-22T20:56:11.000Z","dependencies_parsed_at":"2023-10-02T16:15:50.754Z","dependency_job_id":"fc850e99-4ebd-4d15-8475-b2578578422f","html_url":"https://github.com/interledger/open-payments-snippets-vscode","commit_stats":null,"previous_names":["interledger/open-payments-snippets-vscode"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger%2Fopen-payments-snippets-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger%2Fopen-payments-snippets-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger%2Fopen-payments-snippets-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger%2Fopen-payments-snippets-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interledger","download_url":"https://codeload.github.com/interledger/open-payments-snippets-vscode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248401970,"owners_count":21097328,"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":["ilp","interledger","open-payments"],"created_at":"2024-11-07T06:17:31.790Z","updated_at":"2025-04-11T12:31:40.309Z","avatar_url":"https://github.com/interledger.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cp align=\"center\"\u003e\n        \u003cimg width=\"150\" height=\"150\" src=\"images/logo.png\" alt=\"Logo\" /\u003e\n    \u003c/p\u003e\n    \u003ch1 align=\"center\"\u003e\u003cb\u003eOpen Payments SDK Snippets\u003c/b\u003e\u003c/h1\u003e\n    \u003cp align=\"center\"\u003e\n        \u003cb\u003eUpdated for Open Payments Node SDK version 6\u003c/b\u003e\n    \u003c/p\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003cp align=\"center\"\u003e\n        \u003cimg align=\"center\" src=\"images/usage.gif\" alt=\"Usage\" /\u003e\n    \u003c/p\u003e\n\u003c/p\u003e\n\n## Installation\n\n1. Launch _Quick Open_:\n\n    - Linux \u0026 Windows: `Ctrl+P`\n    - macOS: `⌘+P`\n\n2. Paste the following command and press `Enter`:\n\n```shell\next install open-payments-snippets-vscode\n```\n\n3. Choose the extension (make sure the author is `Interledger Foundation`).\n\n4. Reload Visual Studio Code\n\n## Usage\n\nEvery Open Payments SDK snippet starts with the \"op-\" prefix:\n\n-   `op-pp`\n-   `op-grant-continue`\n\nYou don't need to type any dashes or the full keyword. You can use some alternatives. For example:\n\n-   `ogc` -\u003e `op-grant-continue` snippet\n-   `ograntc` -\u003e `op-grant-continue` snippet\n\n## Snippets\n\n| Keyword            | Description                                            |\n| ------------------ | ------------------------------------------------------ |\n| op-uc              | Creates an unauthenticated OP client                   |\n| op-ac              | Creates an authenticated OP client                     |\n| op-wa              | Get wallet address information                         |\n| op-wa-keys         | Get wallet address keys                                |\n| op-grant-revoke    | Revoke a grant                                         |\n| op-grant           | Request a grant                                        |\n| op-grant-continue  | Continue a grant                                       |\n| op-grant-ip        | Request an incoming payment grant                      |\n| op-grant-op        | Request an outgoing payment grant                      |\n| op-grant-quote     | Request a quote grant                                  |\n| op-token-revoke    | Revoke a token                                         |\n| op-token-rotate    | Rotate a token                                         |\n| op-quote-create    | Create a quote without receive amount and debit amount |\n| op-quote-create-ra | Create a quote with receive amount                     |\n| op-quote-create-da | Create a quote with debit amount                       |\n| op-quote-get       | Get a quote                                            |\n| op-ip-create       | Create an incoming payment without incoming amount     |\n| op-ip-create-ia    | Create an incoming payment with incoming amount        |\n| op-ip-complete     | Complete an incoming payment                           |\n| op-ip-get          | Get an incoming payment                                |\n| op-ip-list         | List incoming payments                                 |\n| op-op-create       | Create an outgoing payment                             |\n| op-op-get          | Get an outgoing payment                                |\n| op-op-list         | List outgoing payments                                 |\n\n## Feedback and issues\n\nIf you encounter any issues or have feedback, please open an issue on\nthe [GitHub repository](https://github.com/interledger/open-payments-snippets-vscode/issues). We appreciate your feedback\nand contributions!\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterledger%2Fopen-payments-snippets-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finterledger%2Fopen-payments-snippets-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterledger%2Fopen-payments-snippets-vscode/lists"}