{"id":25716337,"url":"https://github.com/interledgerjs/ilp-plugin-outgoing-settle","last_synced_at":"2026-06-10T22:31:16.914Z","repository":{"id":67177238,"uuid":"117291897","full_name":"interledgerjs/ilp-plugin-outgoing-settle","owner":"interledgerjs","description":"Outgoing-only plugin that sends XRP settlements.","archived":false,"fork":false,"pushed_at":"2018-04-03T23:16:33.000Z","size":112,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T14:56:18.340Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/interledgerjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-01-12T21:59:22.000Z","updated_at":"2018-04-03T23:16:35.000Z","dependencies_parsed_at":"2023-03-11T01:05:31.933Z","dependency_job_id":null,"html_url":"https://github.com/interledgerjs/ilp-plugin-outgoing-settle","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/interledgerjs/ilp-plugin-outgoing-settle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledgerjs%2Filp-plugin-outgoing-settle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledgerjs%2Filp-plugin-outgoing-settle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledgerjs%2Filp-plugin-outgoing-settle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledgerjs%2Filp-plugin-outgoing-settle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interledgerjs","download_url":"https://codeload.github.com/interledgerjs/ilp-plugin-outgoing-settle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledgerjs%2Filp-plugin-outgoing-settle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34174148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-02-25T14:53:04.029Z","updated_at":"2026-06-10T22:31:16.909Z","avatar_url":"https://github.com/interledgerjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ILP Plugin Outgoing Settle\n\u003e Outgoing-only plugin that sends XRP settlements. Edit\n\n- [Description](#description)\n- [Example](#example)\n\n## Description\n\nThis plugin allows users to connect dynamically (similar to mini-accounts), and\nthen fulfill incoming payments. They cannot send outgoing payments from this\nplugin, so all balance logic is one-way. The plugin buffers their incoming ILP\npayments and periodically settles them on-chain via XRP.\n\nAlthough it is not included in this plugin, this 'accumulate and settle' model\ncan be written for other systems. For systems more expensive than XRP, the fee\nshould be taken into account when sending settlements.\n\nOnce the receiver has accumulated `settleThreshold` drops, (by default 1000\ndrops if the account exists, or 25 XRP if it doesn't), this plugin will trigger\nan XRP payment to that address.\n\n## Example\n\n```js\nconst plugin = new IlpPluginOutgoingSettle({\n  port: 8080,\n  secret: 's...',\n  address: 'r...',\n  xrpServer: 'wss://s1.ripple.com',\n  settleThreshold: 1000, // default 1000 drops for accounts that exist, 25 XRP for new accounts\n  _store: new Store() // passed in by connector automatically\n})\n```\n\nClients connecting to this plugin should connect with a server url of:\n\n```\n\"btp+ws://:\u003ctoken\u003e@localhost:8080/\u003cripple_address\u003e\"\n```\n\nThe `\u003cripple_address\u003e` in the URL determines where settlements are sent.  Once\nyou have authenticated with a `\u003ctoken\u003e` and a `\u003cripple_address\u003e`, you cannot\nsupply any other `\u003cripple_address\u003e` when connecting to that account. This is to\nprevent funds from being diverted if anyone should find out your `\u003ctoken\u003e`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterledgerjs%2Filp-plugin-outgoing-settle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finterledgerjs%2Filp-plugin-outgoing-settle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterledgerjs%2Filp-plugin-outgoing-settle/lists"}