jwinterm 51583ac90f Contracts: document the stored tx window and record the tx location
save_step writes the signed transaction after the wallet state batch has
committed, so the write can fail with the tx log entry and the input
locks already persisted. store_tx writes a file outside LMDB, as it does
for every transaction in the wallet, so the two cannot share a commit
without moving stored transactions into the database, which backend.rs
already carries a TODO for. Cancelling is the way out: it releases the
inputs without reading the stored tx, and nothing has been broadcast
because the error returns before the caller posts. Tested by removing
the file and cancelling.

Also set stored_tx on the entry, as internal::selection does for a
standard send. It was left unset, so txs reported no transaction data
for every contract even though the transaction was stored.
2026-07-28 15:55:24 -04:00
2024-08-26 11:38:56 +00:00
2026-06-20 22:42:41 +02:00
2026-07-16 20:24:09 +02:00
2026-07-16 20:24:09 +02:00
2026-07-16 20:24:09 +02:00
2025-09-18 14:56:43 +02:00
2026-06-20 22:42:41 +02:00
2026-07-16 20:24:09 +02:00
2025-09-18 14:56:43 +02:00
2026-06-20 22:42:41 +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.

Contributing

To get involved, read our contributing docs.

Find us:

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

To build locally install Rust and execute in the project directory:

git submodule update --init --recursive
cargo build --release
./target/release/grin-wallet

License

Apache License v2.0

S
Description
Mirror of github.com/jwinterm/grin-wallet
Readme
7.8 MiB
Languages
Rust 99.9%
Shell 0.1%