mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 07:11:36 +02:00
3fba1319fb0cccd5b2caf4f9f4f3d5a425bf4c89
Reconcile the contract feature with #755, which replaced the WalletBackend trait with a concrete WalletBackend<C,K> struct (libwallet/src/backend.rs) and removed impls/src/backends/lmdb.rs. - Port the contract module and contract API entry points from the trait form (T: WalletBackend<'a,C,K>) to the concrete struct. - Re-home next_child_for and a parent_id+log_id get_tx_log_entry onto backend.rs. - Re-apply the self-spend tx-log filters, cancel-loop, v5 payment-proof fields, and Context contract fields onto staging's rewritten files. - Adapt to fallible iter()/tx_log_iter() and self-consuming batch commit. Full suite green (53 binaries / 191 tests).
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%