We released Automata DCAP Attestation to support Intel SGX/TDX DCAP attestation together with Automata On Chain PCCS. Check out the latest repositories to start your DCAP journey.
Clone this repo, by running the following command:
git clone git@github.com:automata-network/automata-dcap-v3-attestation.git --recurse-submodulesThis repo includes both Hardhat and Foundry frameworks. Therefore, you can absolutely provide additional scripts and test cases written in both Solidity and TypeScript.
If you are building with Hardhat, make sure to run the command below to install the necessary NPM packages.
npm installBefore you begin, make sure to create a copy of the .env file with the example provided. Then, please provide any remaining variables that are missing.
cp .env.example .envCompile the contract:
forge buildTesting the contract:
forge testTo provide additional test cases, please include those in the /forge-test directory.
To provide additional scripts, please include those in the /forge-script directory.
AutomataDcapV3Attestationdeployment
forge script DeployDCAPScript --broadcast --rpc-url $RPC_URL