mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-23 10:08:33 +02:00
7b67d20b8ed53c2be8a8ab804bfe2c937710a842
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.
Grin Wallet
This is the reference implementation of Grin's wallet. It consists of 2 major pieces:
-
The Grin Wallet APIs, which are intended for use by Grin community wallet developers. The wallet APIs can be directly linked into other projects or invoked via a JSON-RPC interface.
-
A reference command-line wallet, which provides a baseline wallet for Grin and demonstrates how the wallet APIs should be called.
Usage
To use the command-line wallet, we recommend using the latest release from the Releases page. There are distributions for Linux, MacOS and Windows.
Full documentation outlining how to use the command line wallet can be found on Grin's Wiki
License
Apache License v2.0
Languages
Rust
99.9%
Shell
0.1%