https://github.com/automata-network/dcap-sdk
SDK of integrating TEE services with on-chain DCAP
https://github.com/automata-network/dcap-sdk
dcap sdk tee
Last synced: about 2 months ago
JSON representation
SDK of integrating TEE services with on-chain DCAP
- Host: GitHub
- URL: https://github.com/automata-network/dcap-sdk
- Owner: automata-network
- License: apache-2.0
- Created: 2024-12-27T01:26:10.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-03-25T05:05:09.000Z (about 2 months ago)
- Last Synced: 2025-03-25T06:19:57.135Z (about 2 months ago)
- Topics: dcap, sdk, tee
- Language: Go
- Homepage:
- Size: 1.22 MB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
# DCAP SDK
[](LICENSE)## Introduction
DCAP 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.

## Packages
This SDK consists of the following packages:
* **[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.
* **[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.
## Resources
Here are some DCAP relevant repositories that you may find useful:
- [Automata On Chain PCCS](https://github.com/automata-network/automata-on-chain-pccs)
- [Automata DCAP Attestation](https://github.com/automata-network/automata-dcap-attestation)
- [Automata DCAP QPL](https://github.com/automata-network/automata-dcap-qpl)
- [Automata DCAP zkVM CLI](https://github.com/automata-network/automata-dcap-zkvm-cli)
- [dcap-rs](https://github.com/automata-network/dcap-rs)
- [TDX Attestation SDK](https://github.com/automata-network/tdx-attestation-sdk)## Contributing
**Before You Contribute**:
* **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.
* **Pull Requests (PR)**: Before submitting a PR, ensure:
* Your contribution successfully builds.
* It includes tests, if applicable.