Damus
calle · 23w
mint sounds super interesting, what did you learn?
Repeatedly nuked profile profile picture
A lot. All keys are birthed inside the enclave, and you need an on-chain smart contract to manage how the keys come out and to whom (if ever, they can also just stay in there unknown to all humans). Once they keys are out and knowable to a human being then the enclave has to self-destruct in essence, because then the pending tokens are unknowable and there's no point of having it in the enclave anymore.

And the smart contract also governs who can attest what from the mint's database while the mint is live in the enclave.

The thing is that to run an enclave governed by a smart contract you need a blockchain that is designed to connect to enclaves, meaning the chain's node has to be of an SPV type that can actually run inside an enclave and has enough stuff pre-loaded to prevent the success of any attempt at injecting forged data via the vsock. You can do this, but not with the Bitcoin chain. Also there are all-in-one chain+TEE combos that use intel SGX enclaves out of the box.

Nostr tends to get touchy when you use a chain that isn't Bitcoin so not sure how all this would fly here. But you can't not have a smart contract in the mix, and that smart contract can't be on Bitcoin unless you preform some very ridiculous ZK proof gymnastics which why would you do that given that chains exist that were purpose-engineered for this exact kind of thing.
โค๏ธ1๐Ÿ‘€1๐Ÿ’œ1๐Ÿค™1
calle · 23w
that sounds insane and extremely interesting. when you say mint, do you mean an actual Cashu mint? If yes, why on earth do I hear about this only now and just by accident holy moly ๐Ÿ˜†
Fabio Bonfiglio · 23w
What about using RGB for the smart contract ? https://rgb.tech/
brugeman · 23w
Tell me more on why blockchain is needed? To set policies for how to get the keys out? Why would you want the keys out?