monero/utils
jeffro256 b13c5f6669
wallet: feature: transfer amount with fee included
To transfer ~5 XMR to an address such that your balance drops by exactly 5 XMR, provide a `subtractfeefrom` flag to the `transfer` command. For example:

    transfer 76bDHojqFYiFCCYYtzTveJ8oFtmpNp3X1TgV2oKP7rHmZyFK1RvyE4r8vsJzf7SyNohMnbKT9wbcD3XUTgsZLX8LU5JBCfm 5 subtractfeefrom=all

If my walet balance was exactly 30 XMR before this transaction, it will be exactly 25 XMR afterwards and the destination address will receive slightly
less than 5 XMR. You can manually select which destinations fund the transaction fee and which ones do not by providing the destination index.
For example:

    transfer 75sr8AAr... 3 74M7W4eg... 4 7AbWqDZ6... 5 subtractfeefrom=0,2

This will drop your balance by exactly 12 XMR including fees and will spread the fee cost proportionally (3:5 ratio) over destinations with addresses
`75sr8AAr...` and `7AbWqDZ6...`, respectively.

Disclaimer: This feature was paid for by @LocalMonero.
2024-02-20 17:08:06 -06:00
..
conf Clarification of boolean options in config file 2018-07-18 20:07:05 +02:00
fish Merge pull request #8855 2023-06-27 11:41:57 -05:00
gpg_keys Merge pull request #9119 2024-01-18 18:09:22 -05:00
health Copyright: Update to 2023 2023-01-16 13:00:18 +01:00
logs network: log traffic and add a simple traffic analysis script 2020-01-26 00:33:41 +00:00
python-rpc wallet: feature: transfer amount with fee included 2024-02-20 17:08:06 -06:00
systemd systemd: remove outdated torsocks example 2022-02-08 19:49:00 +01:00
translations translations: fix "monero_" prefix when taking languages from file 2019-11-15 13:21:46 +00:00
.gitignore year updated in license 2015-01-02 18:52:46 +02:00
doxygen-publish.sh cleaning up, removing redundant files, renaming, fixing incorrect licenses 2015-05-31 13:40:18 +02:00