I would love to see the code. Is it public?
Yeah an actual Cashu mint.
The results is mint the code of which you or anyone can attest and the database of which you or anyone can also attest, as long as you trust AWS and their hypervisor. Or Intel and their chip design, whatever path you go.
But again, if you pull the keys out the mint self-destructs, Mission Impossible style.
I really dunno why enclaves aren't more widespread in the nostr zeitgeist. nostr:npub1xdtducdnjerex88gkg2qk2atsdlqsyxqaag4h05jmcpyspqt30wscmntxy has been doing a lot of really interesting work on the enclave side for signers. Maybe because it means some reliance on AWS or Intel for the attestation? For me Nostr relies on DNS anyway so not a big deal, but for others I dunno.
Discussion
I had to read up on secure enclaves.. this was helpful for the left of the bell curve https://www.oblivious.com/blog/so-what-exactly-are-aws-nitro-enclaves
Yeah Enclaves are great. The solve so many problems for Nostr.
But they're expensive!
Nothing so organised I'm afraid. Full heretical disclosure, we (me and small team here in Southeast Asia) are mostly researching Cashu for last-mile payments for regional stablecoins in Asia and this enclave stuff is part of some dabbling around while waiting for the native-taproot rails on lightning to settle in.
Also there's the need to use other chains for the smart contracts that orchestrate the mint enclaves, and I'm a bit wary of bringing that topic to nostr here. (You can do this in an enclave-only scenario without on-chain smart contracts to orchestrate, but then it becomes hard to scale.)
I'll put together a summary though if people are interested.