{"id":36878900,"url":"https://github.com/allinbits/cosmos-cash-resolver","last_synced_at":"2026-01-12T15:17:54.805Z","repository":{"id":46456469,"uuid":"400151749","full_name":"allinbits/cosmos-cash-resolver","owner":"allinbits","description":"The DID universal resolver driver for Cosmos Cash","archived":false,"fork":false,"pushed_at":"2021-10-11T18:05:59.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-06-27T22:34:37.953Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/allinbits.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}},"created_at":"2021-08-26T11:56:30.000Z","updated_at":"2021-10-11T18:05:59.000Z","dependencies_parsed_at":"2022-08-02T19:01:33.201Z","dependency_job_id":null,"html_url":"https://github.com/allinbits/cosmos-cash-resolver","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/allinbits/cosmos-cash-resolver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allinbits%2Fcosmos-cash-resolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allinbits%2Fcosmos-cash-resolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allinbits%2Fcosmos-cash-resolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allinbits%2Fcosmos-cash-resolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allinbits","download_url":"https://codeload.github.com/allinbits/cosmos-cash-resolver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allinbits%2Fcosmos-cash-resolver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28340450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"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-01-12T15:17:54.732Z","updated_at":"2026-01-12T15:17:54.792Z","avatar_url":"https://github.com/allinbits.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cosmos Cash Resolver\n\nThis is a DID universal resolver driver for the Cosmos Cash DID module \n\n\n## Usage\n\nTo run the server use:\n\n```sh\n➜ cosmos-cash-resolver --help\nUsage of /tmp/go-build2385902778/b001/exe/main:\n  -grpc-server-address string\n    \tThe target grpc server address in the format of host:port (default \"localhost:9090\")\n  -listen-address string\n    \tThe REST server listen address in the format of host:port (default \"0.0.0.0:2109\")\n  -mrps int\n    \tMax-Requests-Per-Seconds: define the throttle limit in requests per seconds (default 10)\n```\n\n### Configuration\n\nThe resolver can be also configured using environment variables:\n\n- `GRPC_SERVER_ADDRESS` - target grpc server address in the format of host:port\n- `LISTEN` - listen address in the format of host:port \n- `MRPS` - max requests per seconds, define the throttle limit in requests per seconds\n\n\n\n### Universal resolver driver \n\nCosmos Cash Resolver implements a [universal resolver](https://github.com/decentralized-identity/universal-resolver) compatible REST API\n\nThe configuration for this resolver are the following:\n\n```\n{\n    \"pattern\": \"^(did:cosmos:.+)$\",\n    \"url\": \"http://uni-resolver-driver-did-uport:8081/\",\n    \"testIdentifiers\": [\n        \"did:cosmos:cosmoscash-testnet:123456789\",\n        \"did:cosmos:key:cosmos1u7clngyucn867fm2za0s869yvln9aur8zjujxe\"\n    ]\n}\n```\n\n### Endpoints\n\nThe Cosmos Cash Resolver exposes the following endpoints\n\n#### Universal resolver endpoint\n\nThe universal resolver endpoint aims to be compatible to the [universal resolver](https://github.com/decentralized-identity/universal-resolver) REST API endpoint\n\n```curl\n\u003e GET /identifier/did:cosmos:net:cash:bob HTTP/1.1\n\u003e Host: localhost:2109\n\u003e User-Agent: curl/7.76.1\n\u003e Accept: */*\n\u003e \n* Mark bundle as not supporting multiuse\n\u003c HTTP/1.1 200 OK\n\u003c Content-Type: application/did+ld+json\n\u003c Vary: Origin\n\u003c Date: Mon, 11 Oct 2021 18:01:05 GMT\n\u003c Content-Length: 1028\n\u003c \n\n{\n  \"didDocument\": {\n    \"@context\": [\n      \"https://www.w3.org/ns/did/v1\"\n    ],\n    \"id\": \"did:cosmos:net:cash:bob\",\n    \"verificationMethod\": [\n      {\n        \"controller\": \"did:cosmos:net:cash:bob\",\n        \"id\": \"did:cosmos:key:cosmos1svxs3j3xz9at0ku5estaffa86qypce5k4gsq3a#cosmos1svxs3j3xz9at0ku5estaffa86qypce5k4gsq3a\",\n        \"publicKeyMultibase\": \"F022e7e57627fce23fb684879ae1d486ec9c81f76962213943ca8f31c6cbfd39ef0\",\n        \"type\": \"EcdsaSecp256k1VerificationKey2019\"\n      }\n    ],\n    \"service\": [\n      {\n        \"id\": \"agent\",\n        \"type\": \"DIDCommMessaging\",\n        \"serviceEndpoint\": \"http://localhost:8091\"\n      }\n    ],\n    \"authentication\": [\n      \"did:cosmos:key:cosmos1svxs3j3xz9at0ku5estaffa86qypce5k4gsq3a#cosmos1svxs3j3xz9at0ku5estaffa86qypce5k4gsq3a\"\n    ],\n    \"keyAgreement\": [\n      \"did:cosmos:key:cosmos1svxs3j3xz9at0ku5estaffa86qypce5k4gsq3a#cosmos1svxs3j3xz9at0ku5estaffa86qypce5k4gsq3a\"\n    ]\n  },\n  \"didDocumentMetadata\": {\n    \"versionId\": \"e0ff046939a72993ccd838fc7e38750ec281c9a83f6c682ab914fb67bc0383a6\",\n    \"created\": \"2021-10-11T14:09:27.51467081Z\",\n    \"updated\": \"2021-10-11T14:09:37.609840653Z\"\n  },\n  \"didResolutionMetadata\": {\n    \"did\": {\n      \"method\": \"cosmos\",\n      \"methodSpecificId\": \"net:cash:bob\"\n    }\n  }\n}\n\n```\n\n#### Hyperledger Aries specific endpoint \n\nA Hyperledger Aries specific endpoint is available at the following path\n\n\u003e Note: this endpoint is mostly used for R\u0026D purposes\n\n```curl\n\u003e GET /identifier/aries/did:cosmos:net:cash:bob HTTP/1.1\n\u003e Host: localhost:2109\n\u003e User-Agent: curl/7.76.1\n\u003e Accept: */*\n\u003e \n* Mark bundle as not supporting multiuse\n\u003c HTTP/1.1 200 OK\n\u003c Content-Type: application/did+ld+json\n\u003c Vary: Origin\n\u003c Date: Mon, 11 Oct 2021 18:03:14 GMT\n\u003c Content-Length: 832\n\u003c \n\n{\n  \"didDocument\": {\n    \"@context\": [\n      \"https://www.w3.org/ns/did/v1\"\n    ],\n    \"id\": \"did:cosmos:net:cash:bob\",\n    \"verificationMethod\": [\n      {\n        \"controller\": \"did:cosmos:net:cash:bob\",\n        \"id\": \"did:cosmos:key:cosmos1svxs3j3xz9at0ku5estaffa86qypce5k4gsq3a#cosmos1svxs3j3xz9at0ku5estaffa86qypce5k4gsq3a\",\n        \"publicKeyHex\": \"022e7e57627fce23fb684879ae1d486ec9c81f76962213943ca8f31c6cbfd39ef0\",\n        \"type\": \"EcdsaSecp256k1VerificationKey2019\"\n      }\n    ],\n    \"service\": [\n      {\n        \"id\": \"agent\",\n        \"type\": \"DIDCommMessaging\",\n        \"serviceEndpoint\": \"http://localhost:8091\"\n      }\n    ],\n    \"authentication\": [\n      \"did:cosmos:key:cosmos1svxs3j3xz9at0ku5estaffa86qypce5k4gsq3a#cosmos1svxs3j3xz9at0ku5estaffa86qypce5k4gsq3a\"\n    ],\n    \"keyAgreement\": [\n      \"did:cosmos:key:cosmos1svxs3j3xz9at0ku5estaffa86qypce5k4gsq3a#cosmos1svxs3j3xz9at0ku5estaffa86qypce5k4gsq3a\"\n    ],\n    \"created\": \"2021-10-11T14:09:27.51467081Z\",\n    \"updated\": \"2021-10-11T14:09:37.609840653Z\"\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallinbits%2Fcosmos-cash-resolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallinbits%2Fcosmos-cash-resolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallinbits%2Fcosmos-cash-resolver/lists"}