jwinterm b3f75ee2b5 Contracts: use checked conversions for amount -> i64
A large u64 amount could wrap when cast `as i64`. Convert with i64::try_from in
the CLI net-change derivation and in contract view, returning an error instead.
get_net_change / to_api_args now return Result (the two arg panics become
errors too), and the to_api_args call moves out of the owner-session closure.

Addresses PR #754 review (command.rs, view.rs).
2026-06-07 16:37:54 -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
8.8 MiB
Languages
Rust 99.9%
Shell 0.1%