{"id":24551975,"url":"https://github.com/mlabs-haskell/wallet-auth","last_synced_at":"2025-07-07T05:36:33.158Z","repository":{"id":190460016,"uuid":"682569498","full_name":"mlabs-haskell/wallet-auth","owner":"mlabs-haskell","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-27T19:14:33.000Z","size":1433,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-16T13:42:02.573Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mlabs-haskell.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":"2023-08-24T13:03:52.000Z","updated_at":"2023-09-12T18:47:21.000Z","dependencies_parsed_at":"2025-03-16T13:51:39.285Z","dependency_job_id":null,"html_url":"https://github.com/mlabs-haskell/wallet-auth","commit_stats":null,"previous_names":["mlabs-haskell/wallet-auth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mlabs-haskell/wallet-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabs-haskell%2Fwallet-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabs-haskell%2Fwallet-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabs-haskell%2Fwallet-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabs-haskell%2Fwallet-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlabs-haskell","download_url":"https://codeload.github.com/mlabs-haskell/wallet-auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabs-haskell%2Fwallet-auth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264020847,"owners_count":23545389,"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":"2025-01-23T01:19:36.608Z","updated_at":"2025-07-07T05:36:33.113Z","avatar_url":"https://github.com/mlabs-haskell.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wallet-auth\n\nImplements unified primitives for building sign-in/sign-up flows\nwith different kinds of wallets:\n\n- All CIP-30 compatible wallets (Cardano)\n- Metamask\n- Keplr (Cosmos)\n- Phantom (Solana)\n\nConsists of two parts:\n\n- `client` part is meant to be light-weight and usable in the browser,\nit only handles data signatures by interacting with wallets.\n- `server` part is used to validate signatures produced by the `client`.\n\n# Notes\n\n* As an additional security measure, we require that signed data always starts with the address used and a new line character.\n* For Cardano wallets either a stake key or a payment key can be used\n(see `AvailableCip30` constructor).\n* Only mainnet addresses are allowed by default\n(pass the proper option to `AvailableCip30` constructor if you want to use testnet)\n\n## Tests\n\nThe `client` library provide a test HTML page that can be used to create `SignedData` objects\nusing various wallets.\nYou have to have wallets of your choice installed in your browser.\n\n```bash\ncd client\nnpm install\nnpm run pack\nsleep1; xdg-open http://localhost:8080/index.html \u0026 miniserve .\n```\n\nThere are some tests in `server` to ensure `SignedData` objects can be properly validated or rejected:\n\n```bash\ncd server\nnpm run build\nnpm run test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlabs-haskell%2Fwallet-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlabs-haskell%2Fwallet-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlabs-haskell%2Fwallet-auth/lists"}