TEE builders ask order flow to trust what’s inside the TEE, and that is normally a full Linux image. I
wanted to see how small the inside could get.
The result is a single 4.2 MB EFI program running in TDX on Google Cloud. There is no kernel, no libc, no OpenSSL and no shell. The network stack, TLS 1.3, the EVM and the builder are all Lean in that one binary.
Node is still not in there, An untrusted machine feeds it pending transactions with state proofs. The guest verifies them, builds, signs with a key generated inside the TEE, and posts to the relays itself. Private transactions are HPKE-encrypted to the guest.
It has been bidding to Flashbots, Ultrasound, Aestus and Titan in about 98% of slots since 26 November. Five of its blocks have landed. Four were paid for from a test wallet, and one (26532817) landed with nothing paid.
It only sees the public mempool, and its bids are worth 18% to 45% of the winning block at the median. It is two weeks old and nobody outside the project has read it.
You can check it yourself. The live page verifies the running guest’s quote in your browser and ties it to the builder key on the relays’ public lists, and the image rebuilds byte for byte from source.
-
Report: cluck: the report
-
Live check: cluck: the builder on Google Cloud, checked here
-
Send it an encrypted transaction: cluck: a transaction only the builder can read
-
Source: GitHub - posix4e/cluck: A Lean unikernel for AWS Nitro Enclaves and Intel TDX, with a native IP stack, and an Ethereum block importer running on it as an experiment. · GitHub
Should I continue working on a pure lean implementation? Is this interesting?