mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 15:21:39 +02:00
Expose contract payment proofs (already supported via the owner API) on the CLI. contract new / contract sign --payment-proof opts the receiver into generating the invoice proof. The proof commits to the sender's address, derived from the --encrypt-for counterparty (mirroring how send derives its proof address from the destination), and errors if --encrypt-for is absent. Wiring: flag in grin-wallet.yml; ContractNewArgs/ContractSetupArgs carry the derived sender address; to_api_args sets proof_args (suppress_proof=false + sender_address). ed25519-dalek promoted to a controller dependency.