{"id":21658827,"url":"https://github.com/KILTprotocol/kilt-did-driver","last_synced_at":"2025-07-17T21:31:47.762Z","repository":{"id":38427055,"uuid":"210404653","full_name":"KILTprotocol/kilt-did-driver","owner":"KILTprotocol","description":"KILT DID Driver for the Universal Resolver","archived":false,"fork":false,"pushed_at":"2024-08-20T07:32:59.000Z","size":767,"stargazers_count":3,"open_issues_count":2,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-20T10:58:04.079Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KILTprotocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-09-23T16:39:27.000Z","updated_at":"2024-08-20T07:33:02.000Z","dependencies_parsed_at":"2024-08-19T10:44:35.801Z","dependency_job_id":null,"html_url":"https://github.com/KILTprotocol/kilt-did-driver","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KILTprotocol%2Fkilt-did-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KILTprotocol%2Fkilt-did-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KILTprotocol%2Fkilt-did-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KILTprotocol%2Fkilt-did-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KILTprotocol","download_url":"https://codeload.github.com/KILTprotocol/kilt-did-driver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226305032,"owners_count":17603730,"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-25T09:29:53.991Z","updated_at":"2025-07-17T21:31:47.750Z","avatar_url":"https://github.com/KILTprotocol.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# KILT Universal DID Resolver Driver\n\nThis repository contains the KILT driver source code for the [DIF Universal Resolver](https://github.com/decentralized-identity/universal-resolver).\nFor the official KILT DID specification, please visit [the relative section](./docs/did-spec/spec.md).\n\n## Dev setup\n\nThe driver is meant to be run as a driver for the DIF Universal Resolver.\nNevertheless, it can also be run locally either as an HTTP server or a Docker container.\n\n### Run with Node\n\nInstall the dependencies with `yarn`, then start the HTTP server with either `yarn start` to connect the driver to the official [Spiritnet network](https://polkadot.js.org/apps/?rpc=wss://spiritnet.kilt.io) or `yarn start:testnet` to connect it to the [Peregrine testnet](https://polkadot.js.org/apps/?rpc=wss://peregrine.kilt.io/parachain-public-ws).\nBy default, the server will listen on port 8080.\n\n### Run with Docker\n\nTo build and run the driver as a Docker container:\n\n```bash\ndocker build -t kiltprotocol/kilt-did-driver .\n# Map the container port 8080 to the host port 49160\ndocker run -p 49160:8080 --name kiltprotocol-did-driver -d kiltprotocol/kilt-did-driver:latest\n# See the logs for the container\ndocker logs -f kiltprotocol-did-driver\n```\n\n### Pull from DockerHub\n\nTo pull the Docker image from DockerHub, run:\n\n```bash\n# Pull the image\ndocker pull kiltprotocol/kilt-did-driver:latest\n# Run the image, as in the previous section\ndocker run -p 49160:8080 --name kiltprotocol-did-driver -d kiltprotocol/kilt-did-driver:latest\n# See the logs for the container\ndocker logs -f kiltprotocol-did-driver\n```\n\n### Make a request\n\nAn example command to resolve a KILT DID via the driver running on port 8080 is the following:\n\n```bash\ncurl -X GET http://localhost:8080/1.0/identifiers/did:kilt:4rNTX3ihuxyWkB7wG3oLgUWSBLa2gva1NBKJsBFm7jJZUYfc\n```\n\nExpected output:\n\n```json\n{\n  \"@context\": [\"https://w3id.org/did-resolution/v1\"],\n  \"didDocument\": {\n    \"@context\": [\n      \"https://www.w3.org/ns/did/v1\",\n      \"ipfs://QmPtQ7wbdxbTuGugx4nFAyrhspcqXKrnriuGr7x4NYaZYN\"\n    ],\n    \"id\": \"did:kilt:4rNTX3ihuxyWkB7wG3oLgUWSBLa2gva1NBKJsBFm7jJZUYfc\",\n    \"verificationMethod\": [\n      {\n        \"controller\": \"did:kilt:4rNTX3ihuxyWkB7wG3oLgUWSBLa2gva1NBKJsBFm7jJZUYfc\",\n        \"id\": \"did:kilt:4rNTX3ihuxyWkB7wG3oLgUWSBLa2gva1NBKJsBFm7jJZUYfc#0x1c1dcca1a29abc3538294e2d746853349bc43d781de4fa013b6cef473e196dff\",\n        \"type\": \"Multikey\",\n        \"publicKeyMultibase\": \"z6MkpjrpUkbrywWKKrQZf5HPJ3Hghw4xvS2pCLDFTxLX8hKx\"\n      }\n    ],\n    \"authentication\": [\n      \"did:kilt:4rNTX3ihuxyWkB7wG3oLgUWSBLa2gva1NBKJsBFm7jJZUYfc#0x1c1dcca1a29abc3538294e2d746853349bc43d781de4fa013b6cef473e196dff\"\n    ]\n  },\n  \"didDocumentMetadata\": {},\n  \"didResolutionMetadata\": { \"contentType\": \"application/did+ld+json\" }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKILTprotocol%2Fkilt-did-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKILTprotocol%2Fkilt-did-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKILTprotocol%2Fkilt-did-driver/lists"}