Verify TEE Signature
Application users can verify a message was signed by a TEE using the application address.
Attested API Template Example
The Attested API templates include an example of:
- Signing a random number and posting on Ethereum.
- Providing an API for the application user to retrieve the signed message.
Verify Message Signed by Application Example
-
Use the
eigenx app info [app-id]CLI command to get the wallet addresses for the app. -
Use the app
/randomAPIGET /random → \{ randomNumber, timestamp, message, messageHash, signature, signer }to obtain the message, signature, and signer. -
Use Verify Signature at https://etherscan.io/verifiedSignatures# to verify that the message is signed by one of the addresses obtained in Step 1.