DCAP SDK is a toolkit providing developers seamless integration with 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.
This SDK consists of the following packages:
-
DCAP Portal Contract: is a user-facing contract called by external smart contracts. Smart contract developers can import the
DcapLibCallbackcontract into their own contracts, to guard function methods such that, it can only be called after a successful DCAP Quote Verification. -
Go DCAP: 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 program in a remote ZK Prover Network, currently supported by RiscZero Bonsai and Succinct SP1. The ZK proofs can then be verified on-chain.
Here are some DCAP relevant repositories that you may find useful:
- Automata On Chain PCCS
- Automata DCAP Attestation
- Automata DCAP QPL
- Automata DCAP zkVM CLI
- dcap-rs
- TDX Attestation SDK
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.
