mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 15:21:39 +02:00
62ede419dd78d672f56894ae4ccbd06d40ce3916
create_slatepack always serialized to V5, so every slatepack went out V5 and V4-only peers could not read it. Emit V4 unless the slate carries a payment proof: only the (opt-in) proof needs the V5-only fields (timestamp/memo) that V4 cannot represent. The slate's declared version is set to match the emitted structure so readers select the right variant. - packer: V5 when payment_proof is present, else V4. - test: a proof slate round-trips as V5 (memo preserved); a no-proof slate as V4. Addresses PR #754 review (packer.rs).
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%