Skip to content

Proof and Signatures

sucks less edited this page Sep 10, 2026 · 1 revision

Check Spend Proof

mnp spend-proof \
    --signature "$(cat monero_spend_proof)" \
    563bd8ddd9a03adec948673aee6d8ed87b400662d8dab81d19404c6f59da4fa3

Or using stdin:

echo 563bd8ddd9a03adec948673aee6d8ed87b400662d8dab81d19404c6f59da4fa3 |
    mnp spend-proof --signature "$(cat monero_spend_proof)"

With a message:

mnp spend-proof \
    --message "test" \
    --signature "$(cat monero_spend_proof_message)" \
    563bd8ddd9a03adec948673aee6d8ed87b400662d8dab81d19404c6f59da4fa3

Returns:

true

or:

false

The exit status can also be checked:

if echo "$TXID" |
    mnp spend-proof --signature "$SIGNATURE" >/dev/null; then
    echo "valid signature"
else
    echo "invalid signature"
fi

Check Tx Proof

mnp tx-proof \
    --address "$ADDRESS" \
    --signature "$(cat monero_tx_proof)" \
    "$TXID"

Or using stdin:

echo "$TXID" |
    mnp tx-proof \
        --address "$ADDRESS" \
        --signature "$(cat monero_tx_proof)"

Returns:

true

or:

false

The exit status can also be checked:

if echo "$TXID" |
    mnp tx-proof \
        --address "$ADDRESS" \
        --signature "$SIGNATURE" >/dev/null; then
    echo "valid signature"
else
    echo "invalid signature"
fi

Clone this wiki locally