{"id":20631182,"url":"https://github.com/solidlabresearch/sharcs-demonstrator-vc","last_synced_at":"2026-04-19T17:35:53.458Z","repository":{"id":256387916,"uuid":"855089778","full_name":"SolidLabResearch/sharcs-demonstrator-vc","owner":"SolidLabResearch","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-03T10:32:19.000Z","size":3362,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-17T07:09:33.978Z","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/SolidLabResearch.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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":"2024-09-10T09:37:39.000Z","updated_at":"2024-09-11T10:41:52.000Z","dependencies_parsed_at":"2024-09-10T13:13:53.894Z","dependency_job_id":"09585cb4-da15-4afc-8452-c2359be801dc","html_url":"https://github.com/SolidLabResearch/sharcs-demonstrator-vc","commit_stats":null,"previous_names":["solidlabresearch/sharcs-demonstrator-vc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidLabResearch%2Fsharcs-demonstrator-vc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidLabResearch%2Fsharcs-demonstrator-vc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidLabResearch%2Fsharcs-demonstrator-vc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidLabResearch%2Fsharcs-demonstrator-vc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SolidLabResearch","download_url":"https://codeload.github.com/SolidLabResearch/sharcs-demonstrator-vc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242588427,"owners_count":20154203,"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":[],"created_at":"2024-11-16T14:11:26.130Z","updated_at":"2025-12-04T20:03:11.831Z","avatar_url":"https://github.com/SolidLabResearch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SHARCS Readme\n\n## Prerequisies / Tested with\n\n- [Bun](https://bun.sh/), ~v1.0.1\n\n## Server - Docker\n\n- first time: run `./docker-build-image.sh`\n- as server: run `docker run --rm --name sharcs-poc-container -p 8080:8080 sharcs-poc:latest`\n- API documentation available at http://localhost:8080/api-docs/\n\n## Run\n\n- Install `bun i`\n- Run the scripts using `bun [script name] [optional index of diploma you want to try]`\n- Run the server using `bun ./server.js` \n\n## Configuration\n\n- `./data`\n  - `./data/context`: all locally downloaded contexts, so the demo doesn't rely on public resources/an internet connection\n  - `./data/credentials`: demo VCs\n    - issues with these VCs\n      - Concept.prefLabel is not defined in the context --\u003e Concept.preferredLabel\n      - some old contexts are removed and bbs is added\n\n### steps\n\n- update the 'old' diplomas / store their status, see `01_refresh_diploma.ts`\n  - optionally validate using `02_verify.ts`\n- minimization\n  - when a minimization request arrives, validate the diploma based on the `./data/shape`, using `03_validate.js`\n  - minize the diploma based on the `./data/frame`, using `04_minimize.ts`\n    - optionally validate using `05_verify.ts`\n- status\n  - check status\n  - update status\n  - check status again\n  - TODO init status should also create the status doc\n\n## Resources\n\n- https://github.com/mattrglobal/jsonld-signatures-bbs\n    - used for creating the VCs -\u003e JSON-LD\n- https://www.itb.ec.europa.eu/shacl/any/upload : if you don't feel like running validators locally\n\n## Ideas\n\n- range queries: expand VC API options + add code\n  - [ ] selective disclose + range\n    - birthdate/date: diploma older than 3 year\n    - substring?\n- [ ] Proof of Signature / BBS?\n  - Evidence record cfr DocByte (Merkle Tree)\n  - [ ] VC ín VC + selective disclosure?\n- selective points to frame: both normal frame as expanded frame?\n  - [ ] test\n- VP\n- ❗ delivery\n  - options / validate / verify / minimize\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidlabresearch%2Fsharcs-demonstrator-vc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolidlabresearch%2Fsharcs-demonstrator-vc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidlabresearch%2Fsharcs-demonstrator-vc/lists"}