Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Quartz Solidity Contract for Handshake with Transfers app #281

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

davekaj
Copy link
Contributor

@davekaj davekaj commented Nov 9, 2024

Solidity Quartz contract, utilizing Foundry for testing and deployment. This contract integrates with the DCAP attestation system on the Sepolia testnet from Automata.

Run tests on the Sepolia testnet using Foundry. This command forks the Sepolia network, allowing tests to run against real contract data. This is so we can easily use the deployed attestation contract on sepolia, and not deploy everything ourselves. It does not require Sepolia ETH, as it forks the blockchain state at that block.

I used automatas DCAP contracts, used a quote from our SGX machine, and it passed.

The tests mimic our handshake procedure, with the forge test suite kinda acting like the host, between the enclave and the quartz app.

I also added in the Transfers app - with tests that test the basic functionality of the tests, however it is not tested with the enclave actually working yet

NOTE - You can ignore all the /openzeppelin files, they are boiler plate, imported code to help with the tests

@davekaj davekaj requested a review from hu55a1n1 November 9, 2024 03:53
Dave Kaj and others added 2 commits November 8, 2024 22:54
@davekaj davekaj changed the title Add Quartz Solidity Contract for Handshake Add Quartz Solidity Contract for Handshake with Transfers app Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant