jwinterm 382cf869c9 Contracts: parse amounts exactly, not via f64
Custom output amounts (--make-outputs) and the CLI amount parser converted
grin to nanogrin with `(g * GRIN_BASE as f64) as u64`, which can't represent
all values exactly. Use core::amount_from_hr_string — the same exact integer
parser already used by `send` and `invoice`.

- contract OutputSelectionArgs::output_amounts (covers selection.rs).
- wallet_args::parse_grin_amount.

Addresses PR #754 review (types.rs, selection.rs, wallet_args.rs).
2026-06-04 16:53:16 -04:00
2024-08-26 11:38:56 +00:00
2025-09-18 14:56:43 +02:00
2025-09-18 14:56:43 +02:00
2026-06-03 15:27:43 -04:00
2025-09-18 14:56:43 +02:00
2026-05-14 12:58:22 +02:00
2026-05-14 12:58:22 +02:00
2025-09-18 14:56:43 +02:00
2026-05-14 12:58:22 +02:00
2025-09-18 14:56:43 +02:00
2025-09-18 14:56:43 +02:00

Continuous Integration Coverage Status Chat Support Release Version License

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

S
Description
Mirror of github.com/jwinterm/grin-wallet
Readme
7.8 MiB
Languages
Rust 99.9%
Shell 0.1%