Skip to content

automata-network/dcap-sdk

Repository files navigation

DCAP SDK

License

Introduction

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.

./docs/architecture.png

Packages

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 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: 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.

Resources

Here are some DCAP relevant repositories that you may find useful:

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.

About

SDK of integrating TEE services with on-chain DCAP

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published