Repository navigation
Proof and Signatures
sucks less edited this page Sep 10, 2026
·
1 revision
mnp spend-proof \
--signature "$(cat monero_spend_proof)" \
563bd8ddd9a03adec948673aee6d8ed87b400662d8dab81d19404c6f59da4fa3Or 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)" \
563bd8ddd9a03adec948673aee6d8ed87b400662d8dab81d19404c6f59da4fa3Returns:
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"
fimnp 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
sucks less