{"id":37777240,"url":"https://github.com/crypto-com/cdc-ai-agent-signer-app","last_synced_at":"2026-01-16T15:01:12.984Z","repository":{"id":259214270,"uuid":"862540084","full_name":"crypto-com/cdc-ai-agent-signer-app","owner":"crypto-com","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-31T11:02:00.000Z","size":98,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-10-31T12:17:53.074Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crypto-com.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":"2024-09-24T19:12:56.000Z","updated_at":"2024-10-31T11:02:04.000Z","dependencies_parsed_at":"2024-10-28T04:08:08.280Z","dependency_job_id":null,"html_url":"https://github.com/crypto-com/cdc-ai-agent-signer-app","commit_stats":null,"previous_names":["crypto-com/cdc-ai-agent-signer-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/crypto-com/cdc-ai-agent-signer-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-com%2Fcdc-ai-agent-signer-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-com%2Fcdc-ai-agent-signer-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-com%2Fcdc-ai-agent-signer-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-com%2Fcdc-ai-agent-signer-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crypto-com","download_url":"https://codeload.github.com/crypto-com/cdc-ai-agent-signer-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-com%2Fcdc-ai-agent-signer-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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-16T15:00:44.234Z","updated_at":"2026-01-16T15:01:12.953Z","avatar_url":"https://github.com/crypto-com.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crypto.com AI Agent Signer App\n\nThe Crypto.com AI Agent Signer App is a web-based signature service that integrates with the Crypto.com AI agent. It is designed to handle requests for signing transactions. When a user initiates a transaction through the Crypto.com AI agent client, they are provided with a \"magic link\" that includes a JWT token encoding the transaction details. This link redirects users to a dedicated signature page on this web application where the signing process is carried out.\n\n## Features\n\n- **JWT Token Decodingy**: Extracts and validates transaction details encoded in a JWT token passed via URL parameters.\n- **Transaction Signingy**: Interfaces with MetaMask to enable users to sign Ethereumy\\*\\* transactions directly in their browser.\n  Network Handling: Automatically switches to the appropriate Ethereum network based on transaction details or prompts the user to add the network if it's not already configured in MetaMask.\n- **User Feedbacky**: Provides clear error messages and transaction status updates to guide the user through the signing process.\n- **Currently in beta**: Expect frequent updates and potential changes in future releases.\n\n## Usage\n\n### Getting Started\n\nTo use this service, you need to request a magiclink from the Crypto.com Ai Agent (e.g. send AMOUNT of CURRENCY to RECIEVER_ADDRESS). The Crypto.com AI agent client will generate a \"magic link\" when a user wishes to sign a transaction. This link is structured as follows:\n\n```bash\n[baseURL]/sign-transaction/[transactionID]?token={jwtToken}\n```\n\nExample Link\n\n```bash\nhttps://example.com/sign-transaction/123456?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n```\n\nUpon clicking this link, the user is redirected to this web application, where the transaction details are decoded from the JWT token, and the user is guided through the MetaMask signing process.\n\n## Running Locally\n\nThis project is set up using Vite and React. To run it locally, follow these steps:\n\n### Clone the repository:\n\n```bash\ngit clone https://github.com/crypto-com/cdc-ai-agent-signer-app\ncd cdc-ai-agent-signer-app\n```\n\n### Install dependencies:\n\n```bash\nnpm install\n```\n\n### Start the development server:\n\n```bash\nnpm run dev\n```\n\nThis will start the local development server typically at http://localhost:5173. The app will automatically reload if you make edits to the code.\n\n### Build for production:\n\n```bash\nnpm run build\n```\n\nThis command prepares the application for production by optimizing and bundling the code into static files located in the dist/ directory.\n\nPreview the production build:\n\n```bash\nnpm run preview\n```\n\nAfter building the project, you can preview the production build by running this command. It serves the content of the dist/ folder.\n\n## Licensing\n\nThe code in this project is licensed under the MIT license.\n\n## Contact\n\nIf you have any questions or comments about the library, please feel free to open an issue or a pull request on our GitHub repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrypto-com%2Fcdc-ai-agent-signer-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrypto-com%2Fcdc-ai-agent-signer-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrypto-com%2Fcdc-ai-agent-signer-app/lists"}