zebra_chain/primitives/viewing_key/
orchard.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Defines types and implements methods for parsing Orchard viewing keys and converting them to `zebra-chain` types

use crate::parameters::Network;

/// A Zcash Orchard viewing key
#[derive(Debug, Clone)]
pub enum OrchardViewingKey {}

impl OrchardViewingKey {
    /// Accepts an encoded Orchard viewing key to decode
    ///
    /// Returns a [`OrchardViewingKey`] if successful, or None otherwise
    pub fn parse(_key: &str, _network: &Network) -> Option<Self> {
        // TODO: parse Orchard viewing keys
        None
    }
}