Patent attributes
A system for providing an exchange in a trusted execution environment can include an exchange program that is configured to provide a digital exchange for digital assets and a computer system with a secure enclave that is configured to provide the trusted execution environment within which processing of programs is secure from observation and manipulation by other operations outside of the secure enclave. Execution of the exchange program in the secure enclave can include loading the exchange program into secure memory within the secure enclave, performing an attestation operation on the exchange program loaded into the secure memory within the secure enclave, the attestation operation configured to validate the exchange program, and outputting results of the attestation operation to identify whether the exchange program loaded in the secure enclave is valid.