How to write wallet signing policies as code - DEV Community
On Lit, a signing policy is a JavaScript function. It runs inside the enclave with the key, so it can check whatever it needs before it signs. Here is how to write one and attach it to a wallet.