{"id":26670667,"url":"https://github.com/automata-network/dcap-sdk","last_synced_at":"2025-07-29T08:10:01.483Z","repository":{"id":282239723,"uuid":"908790379","full_name":"automata-network/dcap-sdk","owner":"automata-network","description":"SDK of integrating TEE services with on-chain DCAP ","archived":false,"fork":false,"pushed_at":"2025-04-02T09:55:21.000Z","size":1662,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-04T07:10:02.656Z","etag":null,"topics":["dcap","sdk","tee"],"latest_commit_sha":null,"homepage":"","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/automata-network.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-12-27T01:26:10.000Z","updated_at":"2025-04-01T03:27:28.000Z","dependencies_parsed_at":"2025-03-13T14:44:08.891Z","dependency_job_id":null,"html_url":"https://github.com/automata-network/dcap-sdk","commit_stats":null,"previous_names":["automata-network/dcap-sdk"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/automata-network/dcap-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/automata-network%2Fdcap-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/automata-network%2Fdcap-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/automata-network%2Fdcap-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/automata-network%2Fdcap-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/automata-network","download_url":"https://codeload.github.com/automata-network/dcap-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/automata-network%2Fdcap-sdk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267652785,"owners_count":24122099,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dcap","sdk","tee"],"created_at":"2025-03-25T22:38:46.262Z","updated_at":"2025-07-29T08:10:01.455Z","avatar_url":"https://github.com/automata-network.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/automata-network/automata-brand-kit/main/PNG/ATA_White%20Text%20with%20Color%20Logo.png\"\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/automata-network/automata-brand-kit/main/PNG/ATA_Black%20Text%20with%20Color%20Logo.png\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/automata-network/automata-brand-kit/main/PNG/ATA_White%20Text%20with%20Color%20Logo.png\" width=\"50%\"\u003e\n  \u003c/picture\u003e\n\u003c/div\u003e\n\n# DCAP SDK\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)\n\n\n## Introduction\n\nDCAP SDK is a toolkit providing developers seamless integration with [Automata DCAP Attestation](http://github.com/automata-network/automata-dcap-attestation) into their codebase where they can perform either full on-chain or using ZK proofs to verify Intel SGX or TDX quotes.\n\n![./docs/architecture.png](./docs/architecture.png)\n\n## Packages\n\nThis SDK consists of the following packages:\n\n* **[DCAP Portal Contract](./packages/dcap-portal/)**: is a user-facing contract called by external smart contracts. Smart contract developers can import the `DcapLibCallback` contract into their own contracts, to guard function methods such that, it can only be called after a successful DCAP Quote Verification.\n\n* **[Go DCAP](./packages/godcap/)**: allows developers to call functions in the DCAP Portal as native Go functions. It also provides the library that enables developers to request ZK proofs, by executing the [dcap-rs](https://github.com/automata-network/dcap-rs) program in a remote ZK Prover Network, currently supported by RiscZero Bonsai and Succinct SP1. The ZK proofs can then be verified on-chain.\n\n\n## Resources\n\nHere are some DCAP relevant repositories that you may find useful:\n\n- [Automata On Chain PCCS](https://github.com/automata-network/automata-on-chain-pccs)\n- [Automata DCAP Attestation](https://github.com/automata-network/automata-dcap-attestation)\n- [Automata DCAP QPL](https://github.com/automata-network/automata-dcap-qpl)\n- [Automata DCAP zkVM CLI](https://github.com/automata-network/automata-dcap-zkvm-cli)\n- [dcap-rs](https://github.com/automata-network/dcap-rs)\n- [TDX Attestation SDK](https://github.com/automata-network/tdx-attestation-sdk)\n\n## Contributing\n\n**Before You Contribute**:\n* **Raise an Issue**: If you find a bug or wish to suggest a feature, please open an issue first to discuss it. Detail the bug or feature so we understand your intention.\n* **Pull Requests (PR)**: Before submitting a PR, ensure:\n    * Your contribution successfully builds.\n    * It includes tests, if applicable.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautomata-network%2Fdcap-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautomata-network%2Fdcap-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautomata-network%2Fdcap-sdk/lists"}