{"_id":"@blockchaincommons/uniform-resources","_rev":"3-979b3df1b1d6e854f752dc6124c5a308","name":"@blockchaincommons/uniform-resources","dist-tags":{"beta":"1.0.0-beta.3","latest":"1.0.0-beta.3"},"versions":{"1.0.0-beta.1":{"name":"@blockchaincommons/uniform-resources","version":"1.0.0-beta.1","keywords":["uniform-resources","ur","blockchain-commons","cbor","dcbor","encoding","deterministic"],"author":{"url":"https://www.blockchaincommons.com","name":"Blockchain Commons","email":"info@blockchaincommons.com"},"license":"BSD-2-Clause-Patent","_id":"@blockchaincommons/uniform-resources@1.0.0-beta.1","maintainers":[{"name":"christophera","email":"ChristopherA@LifeWithAlacrity.com"},{"name":"leonardocustodio","email":"leonardo@custodio.me"},{"name":"appelcline","email":"shannon.appelcline@gmail.com"}],"homepage":"https://github.com/BlockchainCommons/bc-ur-ts","bugs":{"url":"https://github.com/BlockchainCommons/bc-ur-ts/issues"},"dist":{"shasum":"1a719a366ca67c38d508d1a6c85931d34459e9fa","tarball":"https://registry.npmjs.org/@blockchaincommons/uniform-resources/-/uniform-resources-1.0.0-beta.1.tgz","fileCount":48,"integrity":"sha512-lWLat/jwxglyrrwz5MaM0wWwnTwHimrao3S8srTxGXhaTYfn/weeJPuZWMfGGx4JNNIF60NcV3iYMDnMGdNUwQ==","signatures":[{"sig":"MEYCIQCfcFhJPkhG5b7PnBo/Wj2+cw+Nr/IoDs7Bu6Fw7y9IYQIhAMaSdDaG6BlACmWnwu5qOvseqn12BRl5mZeuPBJUB/IJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":350702},"main":"dist/index.cjs","type":"module","types":"dist/index.d.mts","module":"dist/index.mjs","engines":{"node":">=22.12"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"default":"./dist/index.mjs","require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./fountain":{"import":{"types":"./dist/fountain.d.mts","default":"./dist/fountain.mjs"},"default":"./dist/fountain.mjs","require":{"types":"./dist/fountain.d.cts","default":"./dist/fountain.cjs"}},"./bytewords":{"import":{"types":"./dist/bytewords.d.mts","default":"./dist/bytewords.mjs"},"default":"./dist/bytewords.mjs","require":{"types":"./dist/bytewords.d.cts","default":"./dist/bytewords.cjs"}},"./package.json":"./package.json"},"gitHead":"34361cb8c5ef7dea42dbd6a040bee590c8948526","scripts":{"docs":"typedoc","lint":"eslint 'src/**/*.ts' 'tests/**/*.ts'","size":"size-limit","test":"vitest run","build":"tsdown","clean":"rm -rf dist","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","lint:fix":"eslint 'src/**/*.ts' 'tests/**/*.ts' --fix","lint:pkg":"publint && attw --pack . --profile node16","api:check":"bun scripts/api-snapshot.mjs --check && node scripts/api-report.mjs","typecheck":"tsc --noEmit","check:deps":"node scripts/check-deps.mjs","test:watch":"vitest","postinstall":"node scripts/pin-lint-typescript.mjs","test:golden":"vitest run tests/golden-vectors.test.ts","api:snapshot":"bun scripts/api-snapshot.mjs && node scripts/api-report.mjs --local","format:check":"prettier --check 'src/**/*.ts' 'tests/**/*.ts'","test:coverage":"vitest run --coverage","baseline:build":"bun scripts/build-baseline.mjs","prepublishOnly":"npm run build","vectors:generate":"bun scripts/generate-vectors.mjs","test:differential":"vitest run tests/differential.test.ts"},"_npmUser":{"name":"leonardocustodio","email":"leonardo@custodio.me"},"repository":{"url":"git+https://github.com/BlockchainCommons/bc-ur-ts.git","type":"git"},"_npmVersion":"11.19.0","description":"Blockchain Commons Uniform Resources (UR) for TypeScript","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","dependencies":{"@blockchaincommons/dcbor":"^1.0.0-beta.1","@blockchaincommons/crypto":"^1.0.0-beta.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.20.0","eslint":"^10.10.0","tsdown":"^0.23.0","vitest":"^5.0.0","publint":"^0.3.24","typedoc":"^0.28.20","prettier":"3.9.6","@eslint/js":"^10.0.1","fast-check":"^4.10.0","size-limit":"^13.0.3","typescript":"^7.0.2","@types/node":"^26.1.1","@types/pako":"^3.0.0","typescript6":"npm:typescript@^6.0.3","@vitest/coverage-v8":"^5.0.0","@arethetypeswrong/cli":"^0.18.5","@microsoft/api-extractor":"^7.59.1","@typescript-eslint/parser":"^8.70.0","@size-limit/preset-small-lib":"^13.0.3","@typescript-eslint/eslint-plugin":"^8.70.0"},"_npmOperationalInternal":{"tmp":"tmp/uniform-resources_1.0.0-beta.1_1789113737024_0.7712592953865705","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.2":{"name":"@blockchaincommons/uniform-resources","version":"1.0.0-beta.2","keywords":["uniform-resources","ur","blockchain-commons","cbor","dcbor","encoding","deterministic"],"author":{"url":"https://www.blockchaincommons.com","name":"Blockchain Commons","email":"info@blockchaincommons.com"},"license":"BSD-2-Clause-Patent","_id":"@blockchaincommons/uniform-resources@1.0.0-beta.2","maintainers":[{"name":"christophera","email":"ChristopherA@LifeWithAlacrity.com"},{"name":"leonardocustodio","email":"leonardo@custodio.me"},{"name":"appelcline","email":"shannon.appelcline@gmail.com"}],"homepage":"https://github.com/BlockchainCommons/bc-ur-ts","bugs":{"url":"https://github.com/BlockchainCommons/bc-ur-ts/issues"},"dist":{"shasum":"93053fa0aa2a9fe7fda3f7810d1bb37b1ceb4dbb","tarball":"https://registry.npmjs.org/@blockchaincommons/uniform-resources/-/uniform-resources-1.0.0-beta.2.tgz","fileCount":49,"integrity":"sha512-iMXykWQk7TSAmB9FG2mz43F8+gPyfZstxu/iyb8F4GVLReCGt5DpltYfKvY6WjyWoYqSzaCvqsA6c/GopJ0abQ==","signatures":[{"sig":"MEYCIQC37n+9vEv85EGOIGZVwZ6uNIgfsXEuaQCuU/pIRtBGAwIhAPRzZJkQgWiKQeH01ACGd3P/jE0wivAbIbYlic2hk9KE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCpS5S8aYIPgtTP6COz4dFBUQvCwF9ZhpihGeK9gpsNigIhAKkNkNUM1dzjuxAR8nwJTUhyWDd6cUT1Icb7E+sYyLSw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":360105},"main":"dist/index.cjs","type":"module","types":"dist/index.d.mts","module":"dist/index.mjs","engines":{"node":">=22.12"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"default":"./dist/index.mjs","require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./fountain":{"import":{"types":"./dist/fountain.d.mts","default":"./dist/fountain.mjs"},"default":"./dist/fountain.mjs","require":{"types":"./dist/fountain.d.cts","default":"./dist/fountain.cjs"}},"./bytewords":{"import":{"types":"./dist/bytewords.d.mts","default":"./dist/bytewords.mjs"},"default":"./dist/bytewords.mjs","require":{"types":"./dist/bytewords.d.cts","default":"./dist/bytewords.cjs"}},"./package.json":"./package.json"},"gitHead":"f23c48300af3edfb8b0f3d72cebe77b32cfedd8d","scripts":{"docs":"typedoc","lint":"eslint 'src/**/*.ts' 'tests/**/*.ts'","size":"size-limit","test":"vitest run","build":"tsdown","clean":"rm -rf dist","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","lint:fix":"eslint 'src/**/*.ts' 'tests/**/*.ts' --fix","lint:pkg":"publint && attw --pack . --profile node16","api:check":"bun scripts/api-snapshot.ts --check && bun scripts/api-report.ts","typecheck":"tsc --noEmit && tsc --project scripts/tsconfig.json","check:deps":"bun scripts/check-deps.ts","test:watch":"vitest","postinstall":"bun scripts/pin-lint-typescript.ts","test:golden":"vitest run tests/golden-vectors.test.ts","api:snapshot":"bun scripts/api-snapshot.ts && bun scripts/api-report.ts --local","format:check":"prettier --check 'src/**/*.ts' 'tests/**/*.ts'","test:coverage":"vitest run --coverage","baseline:build":"bun scripts/build-baseline.ts","prepublishOnly":"npm run build","vectors:generate":"bun scripts/generate-vectors.ts","test:differential":"vitest run tests/differential.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d7658d7a-ed15-4244-ae3a-9fb80b9420fe"}},"repository":{"url":"git+https://github.com/BlockchainCommons/bc-ur-ts.git","type":"git"},"_npmVersion":"11.19.0","description":"Blockchain Commons Uniform Resources (UR) for TypeScript","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"@blockchaincommons/dcbor":"^1.0.0-beta.1","@blockchaincommons/crypto":"^1.0.0-beta.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.10.0","tsdown":"^0.23.0","vitest":"^5.0.0","publint":"^0.3.24","typedoc":"^0.28.20","prettier":"3.9.6","@eslint/js":"^10.0.1","fast-check":"^4.10.0","size-limit":"^13.0.3","typescript":"^7.0.2","@types/node":"^26.1.1","typescript6":"npm:typescript@^6.0.3","@vitest/coverage-v8":"^5.0.0","@arethetypeswrong/cli":"^0.18.5","@microsoft/api-extractor":"^7.59.1","@typescript-eslint/parser":"^8.70.0","@size-limit/preset-small-lib":"^13.0.3","@typescript-eslint/eslint-plugin":"^8.70.0"},"_npmOperationalInternal":{"tmp":"tmp/uniform-resources_1.0.0-beta.2_1789264364476_0.921911536372924","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.3":{"_id":"@blockchaincommons/uniform-resources@1.0.0-beta.3","bugs":{"url":"https://github.com/BlockchainCommons/bc-ur-ts/issues"},"dist":{"shasum":"5f1fce4134e93b572d820e151cdc7aad695d8d6b","tarball":"https://registry.npmjs.org/@blockchaincommons/uniform-resources/-/uniform-resources-1.0.0-beta.3.tgz","fileCount":52,"integrity":"sha512-f5d8y81HC0QqYMQ9u+Wy1geBne5CI/5LqU9X4gLhRQIi3tP5FzP+DZa8CZdY6XzFdgVe2Ngg6h663pa2JCtQRw==","signatures":[{"sig":"MEYCIQDETL9pHDfAvYKU3ozUI/mHSX470c0kTWanlCylaYISaAIhAJ8fBgniiOL8rYRt+DAGxNJteHxelFj4QDlww3qVHfHT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDWFDYEpE2OlLJZVinX6vLeBOAs8Q6YE1G89dZgGJ+ZzAiEAwXMIJ2zTXqBOOo5Z+a3cg2Vn08eLI2TMqVUyazhnJZs="}],"unpackedSize":493585},"main":"dist/index.cjs","name":"@blockchaincommons/uniform-resources","type":"module","types":"dist/index.d.mts","author":{"url":"https://www.blockchaincommons.com","name":"Blockchain Commons","email":"info@blockchaincommons.com"},"module":"dist/index.mjs","engines":{"node":">=22.12"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"default":"./dist/index.mjs","require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./fountain":{"import":{"types":"./dist/fountain.d.mts","default":"./dist/fountain.mjs"},"default":"./dist/fountain.mjs","require":{"types":"./dist/fountain.d.cts","default":"./dist/fountain.cjs"}},"./bytewords":{"import":{"types":"./dist/bytewords.d.mts","default":"./dist/bytewords.mjs"},"default":"./dist/bytewords.mjs","require":{"types":"./dist/bytewords.d.cts","default":"./dist/bytewords.cjs"}},"./package.json":"./package.json"},"gitHead":"924aa487751f917c387340ee77a981aa310004d7","license":"BSD-2-Clause-Patent","scripts":{"docs":"typedoc","lint":"eslint 'src/**/*.ts' 'tests/**/*.ts'","size":"size-limit","test":"vitest run","build":"tsdown","clean":"rm -rf dist","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","lint:fix":"eslint 'src/**/*.ts' 'tests/**/*.ts' --fix","lint:pkg":"publint && attw --pack . --profile node16","api:check":"bun scripts/api-snapshot.ts --check && bun scripts/api-report.ts","typecheck":"tsc --noEmit && tsc --project scripts/tsconfig.json","check:deps":"bun scripts/check-deps.ts","test:watch":"vitest","postinstall":"bun scripts/pin-lint-typescript.ts","test:golden":"vitest run tests/golden-vectors.test.ts","api:snapshot":"bun scripts/api-snapshot.ts && bun scripts/api-report.ts --local","format:check":"prettier --check 'src/**/*.ts' 'tests/**/*.ts'","vectors:full":"bun scripts/generate-vectors.ts --full","test:coverage":"vitest run --coverage","baseline:build":"bun scripts/build-baseline.ts","prepublishOnly":"npm run build","vectors:generate":"bun scripts/generate-vectors.ts","test:differential":"vitest run tests/differential.test.ts"},"version":"1.0.0-beta.3","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d7658d7a-ed15-4244-ae3a-9fb80b9420fe"}},"homepage":"https://github.com/BlockchainCommons/bc-ur-ts","keywords":["uniform-resources","ur","blockchain-commons","cbor","dcbor","encoding","deterministic"],"repository":{"url":"git+https://github.com/BlockchainCommons/bc-ur-ts.git","type":"git"},"_npmVersion":"11.19.0","description":"Blockchain Commons Uniform Resources (UR) for TypeScript","directories":{},"maintainers":[{"name":"christophera","email":"ChristopherA@LifeWithAlacrity.com"},{"name":"leonardocustodio","email":"leonardo@custodio.me"},{"name":"appelcline","email":"shannon.appelcline@gmail.com"}],"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"@blockchaincommons/dcbor":"^1.0.0-beta.3","@blockchaincommons/crypto":"^1.0.0-beta.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.20.0","eslint":"^10.10.0","tsdown":"^0.23.0","vitest":"^5.0.0","publint":"^0.3.24","typedoc":"^0.28.20","prettier":"3.9.6","@eslint/js":"^10.0.1","fast-check":"^4.10.0","size-limit":"^13.0.3","typescript":"^7.0.2","@types/node":"^26.1.1","typescript6":"npm:typescript@^6.0.3","@vitest/coverage-v8":"^5.0.0","@arethetypeswrong/cli":"^0.18.5","@microsoft/api-extractor":"^7.59.1","@typescript-eslint/parser":"^8.70.0","@size-limit/preset-small-lib":"^13.0.3","@typescript-eslint/eslint-plugin":"^8.70.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/uniform-resources_1.0.0-beta.3_1789425504397_0.6206479786627142"}}},"time":{"created":"2026-09-11T08:02:16.883Z","modified":"2026-09-14T22:38:24.746Z","1.0.0-beta.1":"2026-09-11T08:02:17.162Z","1.0.0-beta.2":"2026-09-13T01:52:44.568Z","1.0.0-beta.3":"2026-09-14T22:38:24.535Z"},"bugs":{"url":"https://github.com/BlockchainCommons/bc-ur-ts/issues"},"author":{"url":"https://www.blockchaincommons.com","name":"Blockchain Commons","email":"info@blockchaincommons.com"},"license":"BSD-2-Clause-Patent","homepage":"https://github.com/BlockchainCommons/bc-ur-ts","keywords":["uniform-resources","ur","blockchain-commons","cbor","dcbor","encoding","deterministic"],"repository":{"url":"git+https://github.com/BlockchainCommons/bc-ur-ts.git","type":"git"},"description":"Blockchain Commons Uniform Resources (UR) for TypeScript","maintainers":[{"name":"christophera","email":"ChristopherA@LifeWithAlacrity.com"},{"name":"leonardocustodio","email":"leonardo@custodio.me"},{"name":"appelcline","email":"shannon.appelcline@gmail.com"}],"readme":"# Blockchain Commons Uniform Resources (UR)\n\n### _by Leonardo Custodio_\n\n**`bc-ur-ts`** encodes binary data as URIs and animated QR sequences using the Uniform Resources specification, including fountain-coded multi-part transmission.\n\n[Uniform Resources (URs)](https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2020-005-ur.md) are URI-encoded [CBOR](https://cbor.io) structures developed by [Blockchain Commons](https://blockchaincommons.com). This package is intended primarily for use in higher-level Blockchain Commons projects like Gordian Envelope.\n\nIt is a requirement of the UR specification that the CBOR encoded as URs conform to Gordian dCBOR, which is a deterministic profile of CBOR specified in [this IETF Internet Draft](https://datatracker.ietf.org/doc/draft-mcnally-deterministic-cbor/).\n\n## Installation Instructions\n\n[@blockchaincommons/uniform-resources](https://www.npmjs.com/package/@blockchaincommons/uniform-resources) is published to npm. Install it with your package manager of choice:\n\n```sh\nnpm install @blockchaincommons/uniform-resources\n# or\npnpm add @blockchaincommons/uniform-resources\n# or\nyarn add @blockchaincommons/uniform-resources\n# or\nbun add @blockchaincommons/uniform-resources\n```\n\n## Usage Instructions\n\n```typescript\nimport { UR, URError, MultipartEncoder, MultipartDecoder } from \"@blockchaincommons/uniform-resources\";\nimport { encodeBytewords } from \"@blockchaincommons/uniform-resources/bytewords\";\nimport { cbor } from \"@blockchaincommons/dcbor\";\n\n// Single-part.\nconst ur = UR.from(\"test\", cbor([1, 2, 3]));\nur.toString(); // \"ur:test/lsadaoaxjygonesw\"\nur.toQRString(); // \"UR:TEST/LSADAOAXJYGONESW\"\nUR.parse(\"ur:test/lsadaoaxjygonesw\").equals(ur); // true\n\n// Multipart (animated QR): an infinite fountain of parts, decoded in any order.\nconst encoder = new MultipartEncoder(ur, 10);\nconst decoder = new MultipartDecoder();\nfor (const part of encoder) {\n  decoder.add(part);\n  if (decoder.done) break;\n}\ndecoder.result?.equals(ur); // true\n\n// A scanner that may see either kind lower-cases the payload (the multipart\n// decoder is case-sensitive, as the reference's) and dispatches on the\n// `n-m/` header, as a caller of the reference does: `MultipartDecoder`\n// rejects a single-part UR.\nconst scanned = \"UR:TEST/LSADAOAXJYGONESW\".toLowerCase();\nconst isMultipart = (s: string) => /^ur:[^/]*\\/\\+?\\d+-\\+?\\d+\\//.test(s);\nisMultipart(scanned); // false → UR.parse(scanned)\n\n// Bytewords.\nencodeBytewords(new Uint8Array([1, 2, 3, 4, 5]), \"standard\"); // \"acid also apex aqua arch fuel bald nail work\"\n\ntry {\n  UR.parse(\"ur:test/lsadaoaxjygonese\");\n} catch (e) {\n  if (URError.isURError(e)) console.log(e.code, e.message); // \"Decoder\", \"UR decoder error (invalid checksum)\"\n}\n\n// Failures are URErrors with the reference's codes and messages; an\n// argument outside its domain is `InvalidParameter`. Branch with `is`, and\n// read `details` by code.\ntry {\n  new MultipartEncoder(ur, 1.5);\n} catch (e) {\n  if (URError.isURError(e) && e.is(\"InvalidParameter\")) {\n    console.log(e.details.parameter, e.message); // \"maxFragmentLength\", \"… must be an integer in [1, …] or a bigint in [1, …], got 1.5\"\n  }\n}\n\n// The encoders are infinite by design: break out of `for … of` when done,\n// or take a prefix with the iterator helpers (Node >= 22).\nconst three = encoder[Symbol.iterator]().take(3);\n```\n\nRunnable examples live in the [`examples/`](https://github.com/BlockchainCommons/bc-ur-ts/tree/master/examples) directory.\n\n## Status - Beta\n\n`bc-ur-ts` is currently under active development and in beta testing. It should not be used for production tasks until it has had further testing and auditing. See [Blockchain Commons' Development Phases](https://github.com/BlockchainCommons/Community/blob/master/release-path.md).\n\n### Version History\n\n- **1.0.0-beta.3 (September 14, 2026)** - Decoding follows the reference's `ur` crate in full: fountain completion, no CRC-32 check on reassembly, `seqNum` 0, minicbor part CBOR and messages, a case-sensitive `MultipartDecoder` that validates after completion, `UR.parse` in the reference order with `Decoder` for bytewords failures, the empty UR type, `decodeURWith` on the first tag only with a dcbor `CborError` for a wrong type, ASCII-only `canonicalizeByteword`, frozen tables, argument validation on every export, and a `bigint` `maxFragmentLength`.\n- **1.0.0-beta.2 (September 12, 2026)** - Decoding follows the reference: `bytewords` decoding is case-sensitive, `MultipartDecoder` rejects single-part URs and reads the fountain fields from the CBOR (the header is parsed as two `u16`s, a leading `+` allowed), and a zero `maxFragmentLength` reports the reference's decoder error.\n- **1.0.0-beta.1 (September 9, 2026)** - Initial beta implementation.\n\n### Roadmap\n\n- Continued testing and auditing on the path from beta to a stable **1.0.0** release.\n\n### Dependencies\n\n`@blockchaincommons/uniform-resources` depends on `@blockchaincommons/crypto`, `@blockchaincommons/dcbor` at runtime.\n\nTo build and work on this library, you'll need the following tools:\n\n- [Node.js](https://nodejs.org/) >= 22.12 - JavaScript runtime.\n- [Bun](https://bun.sh/) - used to install dependencies and run the TypeScript maintenance scripts.\n- [TypeScript](https://www.typescriptlang.org/) >= 5.7 - language and type checker.\n\n### Derived from ...\n\nThis `bc-ur-ts` project is either derived from or was inspired by:\n\n- [BlockchainCommons/bc-ur-rust](https://github.com/BlockchainCommons/bc-ur-rust) - The reference Rust implementation, by [Wolf McNally](https://github.com/wolfmcnally).\n- [paritytech/bcts](https://github.com/paritytech/bcts) - A TypeScript port of many Blockchain Commons' specs, by [Parity Technologies](https://github.com/paritytech).\n\n## Financial Support\n\n`bc-ur-ts` is a project of [Blockchain Commons](https://www.blockchaincommons.com/). We are proudly a \"not-for-profit\" social benefit corporation committed to open source & open development. Our work is funded entirely by donations and collaborative partnerships with people like you. Every contribution will be spent on building open tools, technologies, and techniques that sustain and advance blockchain and internet security infrastructure and promote an open web.\n\nTo financially support further development of `bc-ur-ts` and other projects, please consider becoming a Patron of Blockchain Commons through ongoing monthly patronage as a [GitHub Sponsor](https://github.com/sponsors/BlockchainCommons). You can also support Blockchain Commons with bitcoins at our [BTCPay Server](https://btcpay.blockchaincommons.com/).\n\n## Contributing\n\nWe encourage public contributions through issues and pull requests! Please review [CONTRIBUTING.md](./CONTRIBUTING.md) for details on our development process. All contributions to this repository require a GPG signed [Contributor License Agreement](./CLA.md).\n\n### Discussions\n\nThe best place to talk about Blockchain Commons and its projects is in our GitHub Discussions areas.\n\n[**Gordian Developer Community**](https://github.com/BlockchainCommons/Gordian-Developer-Community/discussions). For standards and open-source developers who want to talk about interoperable wallet specifications, please use the Discussions area of the [Gordian Developer Community repo](https://github.com/BlockchainCommons/Gordian-Developer-Community/discussions). This is where you talk about Gordian specifications such as [Gordian Envelope](https://github.com/BlockchainCommons/Gordian/tree/master/Envelope#articles), [bc-shamir](https://github.com/BlockchainCommons/bc-shamir), [Sharded Secret Key Reconstruction](https://github.com/BlockchainCommons/bc-sskr), and [bc-ur](https://github.com/BlockchainCommons/bc-ur) as well as the larger [Gordian Architecture](https://github.com/BlockchainCommons/Gordian/blob/master/Docs/Overview-Architecture.md), its [Principles](https://github.com/BlockchainCommons/Gordian#gordian-principles) of independence, privacy, resilience, and openness, and its macro-architectural ideas such as functional partition (including airgapping, the original name of this community).\n\n[**Gordian User Community**](https://github.com/BlockchainCommons/Gordian/discussions). For users of the Gordian reference apps, including [Gordian Coordinator](https://github.com/BlockchainCommons/iOS-GordianCoordinator), [Gordian Seed Tool](https://github.com/BlockchainCommons/GordianSeedTool-iOS), [Gordian Server](https://github.com/BlockchainCommons/GordianServer-macOS), [Gordian Wallet](https://github.com/BlockchainCommons/GordianWallet-iOS), and [SpotBit](https://github.com/BlockchainCommons/spotbit) as well as our whole series of [CLI apps](https://github.com/BlockchainCommons/Gordian/blob/master/Docs/Overview-Apps.md#cli-apps). This is a place to talk about bug reports and feature requests as well as to explore how our reference apps embody the [Gordian Principles](https://github.com/BlockchainCommons/Gordian#gordian-principles).\n\n[**Blockchain Commons Discussions**](https://github.com/BlockchainCommons/Community/discussions). For developers, interns, and patrons of Blockchain Commons, please use the discussions area of the [Community repo](https://github.com/BlockchainCommons/Community) to talk about general Blockchain Commons issues, the intern program, or topics other than those covered by the [Gordian Developer Community](https://github.com/BlockchainCommons/Gordian-Developer-Community/discussions) or the \n[Gordian User Community](https://github.com/BlockchainCommons/Gordian/discussions).\n\n### Other Questions & Problems\n\nAs an open-source, open-development community, Blockchain Commons does not have the resources to provide direct support of our projects. Please consider the discussions area as a locale where you might get answers to questions. Alternatively, please use this repository's [issues](https://github.com/BlockchainCommons/bc-ur-ts/issues) feature. Unfortunately, we can not make any promises on response time.\n\nIf your company requires support to use our projects, please feel free to contact us directly about options. We may be able to offer you a contract for support from one of our contributors, or we might be able to point you to another entity who can offer the contractual support that you need.\n\n### Credits\n\nThe following people directly contributed to this repository. You can add your name here by getting involved. The first step is learning how to contribute from our [CONTRIBUTING.md](./CONTRIBUTING.md) documentation.\n\n| Name              | Role                | Github                                            | Email                                 | GPG Fingerprint                                    |\n| ----------------- | ------------------- | ------------------------------------------------- | ------------------------------------- | -------------------------------------------------- |\n| Christopher Allen | Principal Architect | [@ChristopherA](https://github.com/ChristopherA) | \\<ChristopherA@LifeWithAlacrity.com\\> | FDFE 14A5 4ECB 30FC 5D22  74EF F8D3 6C91 3574 05ED |\n| Wolf McNally      | Lead Researcher/Engineer | [@wolfmcnally](https://github.com/wolfmcnally) | \\<Wolf@WolfMcNally.com\\> | 9436 52EE 3844 1760 C3DC  3536 4B6C 2FCF 8947 80AE |\n| Leonardo Custodio | Software Engineer | [@leonardocustodio](https://github.com/leonardocustodio) | \\<leonardo@snowpine.io\\> | 59DA D997 67EF 3BAB 2B90 D057 5384 DEF3 B582 450D |\n\n### Contributing Sponsor\n\n**Blockchain Commons Uniform Resources (UR) for TypeScript** was produced as a collaboration between Blockchain Commons and one of our patrons, [Parity Technologies](https://parity.io): Parity wrote the wrappers based on Blockchain Commons' specifications and reference libraries. Blockchain Commons is dedicated to not just creating open infrastructure on our own, but also coordinating the work of other companies in benefiting the Commons. Thanks to Parity for working directly with us in this manner.\n\n![](.github/assets/parity.svg)\n\n## Responsible Disclosure\n\nWe want to keep all of our software safe for everyone. If you have discovered a security vulnerability, we appreciate your help in disclosing it to us in a responsible manner. We are unfortunately not able to offer bug bounties at this time.\n\nWe do ask that you offer us good faith and use best efforts not to leak information or harm any user, their data, or our developer community. Please give us a reasonable amount of time to fix the issue before you publish it. Do not defraud our users or us in the process of discovery. We promise not to bring legal action against researchers who point out a problem provided they do their best to follow the these guidelines.\n\n### Reporting a Vulnerability\n\nPlease report suspected security vulnerabilities in private via email to ChristopherA@BlockchainCommons.com (do not use this email for support). Please do NOT create publicly viewable issues for suspected security vulnerabilities.\n\nThe following keys may be used to communicate sensitive information to developers:\n\n| Name              | Fingerprint                                        |\n| ----------------- | -------------------------------------------------- |\n| Christopher Allen | FDFE 14A5 4ECB 30FC 5D22  74EF F8D3 6C91 3574 05ED |\n\nYou can import a key by running the following command with that individual’s fingerprint: `gpg --recv-keys \"<fingerprint>\"` Ensure that you put quotes around fingerprints that contain spaces.\n","readmeFilename":"README.md"}