{"id":43223755,"url":"https://github.com/interledger-deprecated/five-bells-notary","last_synced_at":"2026-02-01T09:17:50.644Z","repository":{"id":57150376,"uuid":"41944457","full_name":"interledger-deprecated/five-bells-notary","owner":"interledger-deprecated","description":"Cryptographic notary","archived":false,"fork":false,"pushed_at":"2017-07-31T12:23:02.000Z","size":416,"stargazers_count":6,"open_issues_count":2,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-09T06:29:31.909Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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":"2015-09-05T01:23:13.000Z","updated_at":"2019-05-21T20:00:48.000Z","dependencies_parsed_at":"2022-09-03T12:20:26.010Z","dependency_job_id":null,"html_url":"https://github.com/interledger-deprecated/five-bells-notary","commit_stats":null,"previous_names":["ripple/five-bells-notary"],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/interledger-deprecated/five-bells-notary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger-deprecated%2Ffive-bells-notary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger-deprecated%2Ffive-bells-notary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger-deprecated%2Ffive-bells-notary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger-deprecated%2Ffive-bells-notary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interledger-deprecated","download_url":"https://codeload.github.com/interledger-deprecated/five-bells-notary/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interledger-deprecated%2Ffive-bells-notary/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28974589,"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":[],"created_at":"2026-02-01T09:17:49.346Z","updated_at":"2026-02-01T09:17:50.637Z","avatar_url":"https://github.com/interledger-deprecated.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Five Bells Notary [![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/five-bells-notary.svg?style=flat\n[npm-url]: https://npmjs.org/package/five-bells-connector\n[circle-image]: https://circleci.com/gh/interledgerjs/five-bells-notary.svg?style=shield\n[circle-url]: https://circleci.com/gh/interledgerjs/five-bells-notary\n[codecov-image]: https://codecov.io/gh/interledgerjs/five-bells-notary/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/interledgerjs/five-bells-notary\n\n\u003e Server application that notarizes receipt of [crypto-condition fulfillments](https://github.com/interledgerjs/five-bells-condition) by an expiry date\n\n## What does this do?\n\nA standard Interledger payment relies on connectors to relay transfer data within a time limit. This works fine in most cases, but when participants can agree on some trusted parties we can do better.\n\nIn order to decide whether to commit or rollback a transfer, the participants to a transfer may choose to use a witness. Using a witness, we can guarantee atomicity for the transfer, as long as the witness promises only to publish the commit or the rollback message, but not both.\n\nOf course, now the transactional semantics depend on safety and liveness of the witness. In order to minimize the risk of failure, we use not a single witness, but a consensus group of witnesses. (Consensus feature is not implemented yet.)\n\n## Usage\n\nTo run with sqlite,\n\n```\nNOTARY_DB_SYNC=1 NOTARY_DB_URI=sqlite://:memory: npm start\n```\n\nTo run with postgres, create a database, then\n\n```\nNOTARY_DB_SYNC=1 NOTARY_UNIT_DB_URI=postgres://user:password@host:port/db_name npm start\n```\n\n`NOTARY_DB_SYNC` is a test setting that creates the database by running the SQL scripts in `./src/sql`. These scripts are not re-runnable. You must drop the database or set `NOTARY_DB_SYNC=0` after the initial run.\n\nConfiguring log level\n `NOTARY_LOG_LEVEL` (default: `info`) the allowed levels in order of verbosity are `fatal`, `error`, `warn`, `info`, `debug`, and `trace`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterledger-deprecated%2Ffive-bells-notary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finterledger-deprecated%2Ffive-bells-notary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterledger-deprecated%2Ffive-bells-notary/lists"}