mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 15:21:39 +02:00
502d2ae336ea9e82d2d0b6c745a3fd130c96e3dc
revoke() cancelled the original tx and built the self-spend using the wallet's active account, but the locked inputs belong to the account that created the contract. Revoking while a different account was active would fail to find and cancel the original tx and would recover funds into the wrong account. - derive the account from the locked input's root_key_id; use it for cancel_tx and as the self-spend's src_acct_name. - test: revoke a contract while a different account is active. Addresses PR #754 review (revoke.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%