{"id":43223748,"url":"https://github.com/interledger-deprecated/ilp-plugin-bells","last_synced_at":"2026-02-01T09:17:48.901Z","repository":{"id":57271864,"uuid":"60421762","full_name":"interledger-deprecated/ilp-plugin-bells","owner":"interledger-deprecated","description":"ILP Ledger plugin for five-bells-ledger","archived":false,"fork":false,"pushed_at":"2017-12-07T14:57:10.000Z","size":495,"stargazers_count":4,"open_issues_count":11,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-12T18:01:14.919Z","etag":null,"topics":["five-bells-ledger","ilp","ilp-plugin","interledger","ledger-plugin"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/interledger-deprecated.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-04T17:20:36.000Z","updated_at":"2018-10-29T19:38:31.000Z","dependencies_parsed_at":"2022-09-02T09:51:42.988Z","dependency_job_id":null,"html_url":"https://github.com/interledger-deprecated/ilp-plugin-bells","commit_stats":null,"previous_names":["interledgerjs/ilp-plugin-bells","interledger/js-ilp-plugin-bells"],"tags_count":86,"template":false,"template_full_name":null,"purl":"pkg:github/interledger-deprecated/ilp-plugin-bells","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger-deprecated%2Filp-plugin-bells","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger-deprecated%2Filp-plugin-bells/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger-deprecated%2Filp-plugin-bells/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger-deprecated%2Filp-plugin-bells/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interledger-deprecated","download_url":"https://codeload.github.com/interledger-deprecated/ilp-plugin-bells/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger-deprecated%2Filp-plugin-bells/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28974588,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T08:16:14.655Z","status":"ssl_error","status_checked_at":"2026-02-01T08:06:51.373Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["five-bells-ledger","ilp","ilp-plugin","interledger","ledger-plugin"],"created_at":"2026-02-01T09:17:48.826Z","updated_at":"2026-02-01T09:17:48.880Z","avatar_url":"https://github.com/interledger-deprecated.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ilp-plugin-bells [![npm][npm-image]][npm-url] [![circle][circle-image]][circle-url] [![codecov][codecov-image]][codecov-url]\n\n[npm-image]: https://img.shields.io/npm/v/ilp-plugin-bells.svg?style=flat\n[npm-url]: https://npmjs.org/package/ilp-plugin-bells\n[circle-image]: https://circleci.com/gh/interledgerjs/ilp-plugin-bells.svg?style=shield\n[circle-url]: https://circleci.com/gh/interledgerjs/ilp-plugin-bells\n[codecov-image]: https://codecov.io/gh/interledgerjs/ilp-plugin-bells/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/interledgerjs/ilp-plugin-bells\n\n\u003e ILP ledger plugin for [five-bells-ledger](https://github.com/interledgerjs/five-bells-ledger)\n\n## Usage\n\nThis plugin adheres to the\n[Ledger Plugin Interface (LPI)](https://interledger.org/rfcs/0004-ledger-plugin-interface/),\nwhich means it can be used in combination with other components, like the\n[ilp module](https://github.com/interledgerjs/ilp#simple-payment-setup-protocol-spsp)\nand the [ilp-connector](https://github.com/interledgerjs/ilp-connector#trading).\n\nILP-Plugin-Bells can also be created via a factory, which allows many instances\nto share a single websocket connection.\n\n**Note: this requires an admin account on a ledger. Otherwise the factory can't\nlisten for events on all accounts.**\n\n```js\nconst PluginBellsFactory = require('ilp-plugin-bells').Factory\n\n// connects to the admin account and uses one websocket connection to subscribe\n// to all transfers and messages on the ledger\n\nconst factory = new PluginBellsFactory({\n  adminUsername: 'admin',\n  adminPassword: 'admin',\n  adminAccount: 'https://red.ilpdemo.org/ledger/accounts/admin' \n})\n\nfactory.connect().then(() =\u003e {\n\n  // `create` will make a new, connected, PluginBells instance. If a plugin is already\n  // created for a given username, then the existing plugin is returned from `create`\n\n  return factory.create({ username: 'alice' })\n  // { account: 'https://red.ilpdemo.org/ledger/accounts/alice' } is also valid\n\n}).then((plugin) =\u003e {\n\n  // this call is uneccesary and will do nothing, because the plugin is already\n  // connected\n  plugin.connect()\n\n  // neither will this call; the plugin doesn't maintain its own connection,\n  // so it can't disconnect itself\n  plugin.disconnect()\n\n  // ...\n\n  // when you're done using the plugin, call factory.remove in order to\n  // get rid of all event listeners and stop caching the plugin.\n\n  factory.remove('alice')\n})\n```\n\n## Compatibility\n\n`ilp-plugin-bells` version 12 uses `five-bells-shared` version 23, and is only compatible with `five-bells-ledger` version 20.\nAs of version 12.0.1, it exposes [version `2c9a2231` of the Ledger Plugin Interface](https://github.com/interledger/rfcs/blob/2c9a22312dfd750f72b73406017fea246c8cd292/0004-ledger-plugin-interface/0004-ledger-plugin-interface.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterledger-deprecated%2Filp-plugin-bells","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finterledger-deprecated%2Filp-plugin-bells","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterledger-deprecated%2Filp-plugin-bells/lists"}