cycles-quartz/crates/contracts/quartz-dcap-verifier
Daniel Gushchyan 14a6913632
refactor: refactor repo as standard rust monorepo (#222)
Co-authored-by: hu55a1n1 <sufialhussaini@gmail.com>
2024-09-30 23:33:22 +04:00
..
msgs refactor: refactor repo as standard rust monorepo (#222) 2024-09-30 23:33:22 +04:00
src refactor: refactor repo as standard rust monorepo (#222) 2024-09-30 23:33:22 +04:00
Cargo.toml refactor: refactor repo as standard rust monorepo (#222) 2024-09-30 23:33:22 +04:00
README.md refactor: refactor repo as standard rust monorepo (#222) 2024-09-30 23:33:22 +04:00

CosmWasm smart contract to verify DCAP attestations

Testing instructions

wasmd query wasm contract-state smart "$CONTRACT" '{
    "verify_dcap_attestation": {
        "quote": { /* ... */ },
        "collateral": { /* ... */ },
        "mrenclave": "e3c2f2a5b840d89e069acaffcadb6510ef866a73d3a9ee57100ed5f8646ee4bb", 
        "user_data": "9113b0be77ed5d0d68680ec77206b8d587ed40679b71321ccdd5405e4d54a6820000000000000000000000000000000000000000000000000000000000000000"
    }
}'