{"id":23446205,"url":"https://github.com/rajeebkm/attest-me","last_synced_at":"2025-04-10T00:48:07.660Z","repository":{"id":265637582,"uuid":"891901258","full_name":"rajeebkm/attest-me","owner":"rajeebkm","description":"AttestMe - Building a world where trust is transparent and verification is effortless.","archived":false,"fork":false,"pushed_at":"2024-12-03T03:06:15.000Z","size":2418,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T00:48:06.094Z","etag":null,"topics":["attestation","attestation-service","cairo-lang","foundry","layer2","nextjs","starknet","starknet-foundation","starknetjs"],"latest_commit_sha":null,"homepage":"https://attest-me-chi.vercel.app","language":"TypeScript","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/rajeebkm.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":"2024-11-21T06:47:09.000Z","updated_at":"2024-12-04T04:03:58.000Z","dependencies_parsed_at":"2025-02-15T15:56:11.290Z","dependency_job_id":"98b25eec-1615-4670-80c2-dc135a3a559c","html_url":"https://github.com/rajeebkm/attest-me","commit_stats":null,"previous_names":["rajeebkm/attest-me"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajeebkm%2Fattest-me","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajeebkm%2Fattest-me/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajeebkm%2Fattest-me/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajeebkm%2Fattest-me/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rajeebkm","download_url":"https://codeload.github.com/rajeebkm/attest-me/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248138005,"owners_count":21053775,"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":["attestation","attestation-service","cairo-lang","foundry","layer2","nextjs","starknet","starknet-foundation","starknetjs"],"created_at":"2024-12-23T20:31:46.955Z","updated_at":"2025-04-10T00:48:07.638Z","avatar_url":"https://github.com/rajeebkm.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# AttestMe\n\n**AttestMe** is an attestation service built on StarkNet, offering a variety of attestation functionalities including **CreateSchema**, **MakeAttestation**, **RevokeAttestation**, and advanced resolvers for enhanced flexibility.\n\n\u003cimg width=\"1432\" alt=\"homepage\" src=\"https://github.com/user-attachments/assets/498d629e-c9d9-4867-9001-633a8311c85b\"\u003e\n\n---\n\n## Features\n\n- **CreateSchema and ViewSchemas**: Define schemas for structured attestations.\n![alt text](front-end/public/create-schema.png)\n![alt text](front-end/public/view-schema.png)\n- **MakeAttestation and ViewAttestations**: Create attestations based on predefined schemas.\n![alt text](front-end/public/make-attestation.png)\n![alt text](front-end/public/view-attestation.png)\n- **RevokeAttestation**: Revoke existing attestations when no longer valid.\n- **Resolvers**: Custom resolvers such as DataResolver, ExpirationResolver, PayingResolver, and TokenResolver.\n\n---\n\n## Prerequisites\n\n- **Node.js** (v18.17.x or later)\n- **npm** or **yarn** installed globally\n- **Starknet Wallet** (e.g. Braavos, Argent X) for interacting with the application\n\n---\n\n## Installation Steps\n\nFollow these steps to set up the project locally:\n\n1. **Clone the Repository**\n\n   ```bash\n   git clone https://github.com/rajeebkm/attest-me\n   cd attest-me\n   ```\n\n2. **Navigate to the Front-End Folder**\n\n   Move into the `front-end` directory where the client application resides.\n\n   ```bash\n   cd front-end\n   ```\n\n3. **Install Dependencies**\n\n   Install all required dependencies using the following command. The `--f` flag ensures compatibility by forcing a clean install.\n\n   ```bash\n   npm i --f\n   ```\n\n4. **Run the Development Server**\n\n   Start the development server. This will host the front-end on a local server, typically accessible at `http://localhost:3000`.\n\n   ```bash\n   npm run dev\n   ```\n\n5. **Access the Application**\n\n   Open a browser and navigate to `http://localhost:3000`. Connect your StarkNet wallet to begin using the attestation features.\n\n---\n\n## Technical Architecture\n\n### Core Contracts\n- **`schema_registry.cairo`**: Manages the creation, registration, and management of schemas, enabling structured and reusable attestations.\n- **`sas.cairo`**: Provides logic for attesting, verifying, and revoking attestations based on schemas.\n\n### Resolvers\n\nResolvers are modular components that add specific conditions or features to attestations. Each resolver is implemented as a separate contract to provide extensibility and reuse:\n\n1. **`recipient_resolver.cairo`**: Ensures that an attestation is made to a specific recipient, like addressing a letter to the intended individual.\n2. **`attester_resolver.cairo`**: Verifies that the attestation is created by a specific attester, granting exclusive rights to a trusted entity.\n3. **`revocation_resolver.cairo`**: Manages and controls the revocation process for attestations efficiently.\n4. **`schema_resolver.cairo`**: Validates attestations against predefined schemas to ensure structural consistency.\n5. **`token_resolver.cairo`**: Checks the approval of a specific amount of tokens for attestation, integrating token transactions into the process.\n6. **`value_resolver.cairo`**: Ensures that a specific amount of ETH accompanies an attestation, acting as a required fee or deposit.\n7. **`expiration_resolver.cairo`**: Validates that the attestation has not exceeded its expiration time, enforcing time-based validity.\n\n\n### Front-End\n\n- **Framework**: Built with **Next.js**.\n- **Libraries**:\n  - **Starknet.js**: For wallet integration and blockchain interactions.\n  - **React**: For building reusable UI components.\n\n---\n\n### Smart Contract Testing\n\nTo test the contracts, navigate to the project's home directory and run:\n\n```bash\nsnforge test\n\n\n---\n\n\nFeel free to reach out at https://x.com/stark_attestme with any questions or issues!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajeebkm%2Fattest-me","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajeebkm%2Fattest-me","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajeebkm%2Fattest-me/lists"}