{"id":15540651,"url":"https://github.com/chatch/credential-issuance-protocol","last_synced_at":"2026-01-20T00:05:55.865Z","repository":{"id":148808567,"uuid":"221494180","full_name":"chatch/credential-issuance-protocol","owner":"chatch","description":"Identity credentials issuance prototype","archived":false,"fork":false,"pushed_at":"2020-09-12T10:36:16.000Z","size":204,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-03T12:18:52.205Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chatch.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":"2019-11-13T15:43:09.000Z","updated_at":"2022-10-03T17:28:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"cb4f721a-5c2e-456d-bfd4-fe71550dbfdd","html_url":"https://github.com/chatch/credential-issuance-protocol","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatch%2Fcredential-issuance-protocol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatch%2Fcredential-issuance-protocol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatch%2Fcredential-issuance-protocol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatch%2Fcredential-issuance-protocol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chatch","download_url":"https://codeload.github.com/chatch/credential-issuance-protocol/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247550643,"owners_count":20956984,"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-10-02T12:14:15.013Z","updated_at":"2026-01-20T00:05:55.830Z","avatar_url":"https://github.com/chatch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Identity credentials issuance prototype\n\n## Overview\n\nA Smart contract and API for issuing credentials on the blockchain.\n\nThe smart contract has:\n\n- a whilelist of authorised Issuers\n- a list of CredentialTypes that can be issued\n- a credentials register with metadata for each Credential including an ipfs hash\n\nCredentials are:\n\n- JSON files containing credential details and a signature from the issuer\n- encrypted with the holders public key and stored on IPFS\n\n## Build\n\n```\n\u003e truffle compile\n\u003e npm run lint\n```\n\n## Tests\n\n```\n\u003e truffle develop\ntruffle(develop)\u003e test\n\n  api\n    - should encrypt a string\n    - should decrypt an Encrypted record\n    - should get and decrypt and encrypted record on IPFS\n    - should encrypt and push data to IPFS\n\n  Contract: Credentials\n    ✓ should add issuer (101ms)\n    ✓ should add a credential type (162ms)\n    ✓ should issue a credential and getters return correct data (310ms)\nadding encrypted file to ipfs\ncredential ipfs hash: QmcKeSRmkiHtDQTVow4injnzT6pjKFTCM1pAiBPr7uFEvR\n    ✓ should complete full cycle of issuing credentials including read and write from IPFS (2972ms)\n\n\n  4 passing (4s)\n  4 pending\n\n```\n\nNOTE: api tests are not yet complete however these are called inside the Credentials contract test.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatch%2Fcredential-issuance-protocol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchatch%2Fcredential-issuance-protocol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatch%2Fcredential-issuance-protocol/lists"}