mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 15:21:39 +02:00
571b1f968a4195b5bfe62f4e4469354cc58751a2
get_private_context() flattened "missing context" and real store/keychain errors into one error, so the contract code created a fresh context on ANY error (e.g. a decryption failure from a wrong keychain mask), masking the real problem. - add Error::NotFoundErr; the grin_store conversion maps NotFoundErr through faithfully (other store errors stay Backend). - contract get_or_create / get_net_change / sign create-or-skip only on NotFoundErr and propagate every other error. Addresses PR #754 review (context.rs, utils.rs, sign.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%