mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 07:11:36 +02:00
15cbbc96e84a87a21377d3f0b0345b4ea58bd7c1
contract `new` and the foreign `contract_new` API unwrapped the optional net_change field, so a request omitting it panicked the wallet. Return an error instead. - new::compute and foreign::contract_new: net_change.ok_or_else(..). - test: contract_new with no net change errors rather than panicking. Addresses PR #754 review (new.rs, foreign.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%