Back to Handshake MIDNIGHT PREVIEW NETWORK
HANDSHAKE USER GUIDE

Complete a testnet trade

Follow these steps to reserve an on-chain offer, verify its Gmail receipt, and submit the proof from your browser wallet.

Preview testnet onlyHandshake uses test tokens and a testnet receipt email. It does not make or confirm a real-world payment.
THE TRADE

Step by step

01

Connect Lace on Preview

Install and unlock Lace, switch it to Midnight Preview, then connect it to Handshake. The browser wallet is used to reserve the offer and approve the final contract transaction.

02

Review and reserve the offer

Choose an amount and review the live limits, exchange quote, and network. Select Review on-chain offer and approve the reservation in Lace. The receipt address is entered in the next screen, after the reservation is made.

03

Send the testnet receipt email

In the receipt and submit screen, enter the inbox that should receive the testnet email and send it. It is not a payment confirmation and no external payment is made.

04

Download the original .eml file

Open the message in Gmail. Choose More → Show original → Download original. Keep the downloaded .eml file unchanged. Do not copy its text, forward it, edit it, or save it through another mail client.

05

Upload, verify, and submit

Choose the original .eml file in Handshake and select Verify receipt and submit. The attestor checks the message's Gmail DKIM signature and receipt details. If they pass, review and approve the final transaction in Lace. The contract then releases test tUSDC according to the offer.

WHAT IS CHECKED

Receipt verification

Gmail signature

The backend verifies the original message's DKIM signature, including that the passing signature covers the From, To, and Subject headers. Changing the message can break its body hash.

Trade-specific details

The receipt must match the active reservation, receipt token, intended recipient, amount, currency, and trade reference. A receipt from a different trade will be rejected.

What DKIM does not prove

DKIM confirms that Gmail signed the message and that signed content still verifies. It does not prove that money was transferred or that a person controls the mailbox.

YOUR DATA

Privacy and safe use

When you verify a receipt, the browser sends the complete uploaded .eml file to the configured Handshake attestor. The original message contains its email headers, body, and receipt token. Only upload the testnet receipt you intend to use.

The attestor returns a cryptographic statement for the marketplace contract. The service's signing key and receipt secret stay on the server; never put these values in frontend settings or share them. A passing receipt is evidence for this testnet workflow only.

Your reservation recovery information is saved in this browser profile. To restore, cancel, or complete an unfinished reservation, reconnect the same Lace wallet in the same browser profile. Clearing browser storage can remove the local recovery details.

COMMON QUESTIONS

Troubleshooting

Can I use the same .eml file twice?

You can upload it again to retry verification for the same active reservation if it has not been completed. The receipt is tied to its trade details and cannot be used for a new reservation. Once accepted on-chain, it cannot release the offer a second time.

Why does Gmail DKIM or the body hash fail?

Download the original message from Gmail using Show original → Download original. Upload that .eml unchanged. Pasted source, forwarded mail, or a file modified by an editor or mail client may no longer match the signed body.

Why does it say the signed headers are missing?

The message needs a passing Gmail DKIM signature whose signed-header list includes From, To, and Subject. Make sure you selected the original Handshake receipt, not a forwarded copy.

Why is my receipt rejected as mismatched?

Confirm the active reservation is still open and that the email was sent for that reservation to the same recipient shown in the receipt and submit screen. A new reservation needs its own newly sent receipt.

Why can’t the app reach the attestor?

The public attestor must be online over HTTPS. Its CORS allowlist must include the exact origin of this frontend, and the frontend must have been rebuilt with the correct NEXT_PUBLIC_ATTESTER_URL.

Can I close the page and continue later?

Reconnect the same Lace wallet from the same browser profile and choose Continue reserved trade or Recover reserved trade. If this reservation is no longer wanted, use Cancel reserved intent and approve the transaction in Lace.

This is a testnet experience on Midnight Preview. No real payment is made.Return to the offer