generate_did_proof_manual

Function generate_did_proof_manual 

Source
pub fn generate_did_proof_manual(
    did_coin: Coin,
    parent_coin: Option<Coin>,
    parent_inner_puzzle_hash: Option<Bytes32>,
) -> Result<Proof, WalletError>
Expand description

Generates a DID proof manually when you have the parent information.

§Arguments

  • did_coin - The current DID coin
  • parent_coin - The parent coin of the DID (None for eve proof)
  • parent_inner_puzzle_hash - The parent’s inner puzzle hash (for lineage proof)

§Returns

A DID proof that can be used to spend the DID coin