zebra icon indicating copy to clipboard operation
zebra copied to clipboard

Implement `EphemeralPrivateKey`'s for Orchard, Sapling, Sprout

Open dconnolly opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. To send money, we need an EphemeralPrivateKey to go with our EphemeralPublicKeys that already exist in zebra-chain.

Describe the solution you'd like Implement the newtype wrappers around pallas::Scalar, jubjub::Scalar, and I think x25519-dalek::SecretKey for Orchard, Sapling, and Sprout resepectively.

Describe alternatives you've considered Use those types directly, which elides the specific use and capabilities of these keys vs the other uses of those generic types other places in our codebase.

Additional context This must be done to complete https://github.com/ZcashFoundation/zebra/issues/269

dconnolly avatar May 24 '21 22:05 dconnolly