You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/webzjs-wallet/src/bindgen/wallet.rs
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -79,15 +79,19 @@ pub type NoteRef = <MemoryWalletDb<Network> as InputSource>::NoteRef;
79
79
/// The proposal should be presented to the user for review before being authorized.
80
80
///
81
81
/// To authorize the transaction the caller must currently provide the seed phrase and account index of the account that will be used to sign the transaction. This method also perform the SNARK proving which is an expensive operation and performed in parallel by a series of WebWorkers.
82
-
/// Note: Handing the sensitive key material this way is not recommended for production applications. Upcoming changes to how proposals are authorized will allow separation of proof generation and signing but currently these are coupled.
83
82
///
84
83
/// Finally, A transaction can be sent to the network by calling `send_authorized_transactions` with the list of transaction IDs that were generated by the authorization step.
/// 1. **`pczt_create`** - Creates a PCZT which designates how funds from this account can be spent to realize the requested transfer (does NOT sign, generate proofs, or send)
90
+
/// 2. **`pczt_sign`** - Signs the PCZT using USK (should be done in secure environment)
91
+
/// 3. **`pczt_prove`** - Creates and inserts proofs for the PCZT
0 commit comments