The cryptography of Seedelf, a Cardano stealth wallet. On BLS12-381: the Register { generator, public_value } datum (the two curve points a Seedelf UTxO is locked under), the non-interactive Schnorr proof that a UTxO is spendable, and the proofs of Lovejoin, the mixer the Seedelf Wallet uses. And the keys: the frozen v1 Seedelf key derivation from a recovery phrase, and the CIP-1852 Cardano account (Ed25519).
It’s an internal crate, published so that cargo install seedelf-cli resolves. Its API is on the 0.x line and still moving, so expect breaking changes on a minor bump.
seedelf-contracts/lib/schnorr.ak): the same hash, over the same concatenation. That hash includes vkh, the hash of a one-time key that must sign the spending transaction, so a proof holds only in a transaction that key signs and can’t be replayed in another, such as after a rollback.tests/vectors/seedelf_key_v1.json pins them.Register::is_valid checks the subgroup but not the identity: check a register with seedelf_core::build::is_payable before paying it.The repository’s README explains the protocol, and SECURITY.md how to report a problem.