mirror of
https://github.com/monero-project/monero-site.git
synced 2024-11-06 00:17:35 +00:00
4c1e8dd858
+ correction on Italian Account + Removed leftover miners.md (replaced by mining.md) + Removed Dust and update Copyright + Code improvement to avoid reading the config file and to use the builtin jekyll config variable passed in the content + Ammount.md:25/26 glitch "\@transaction-privacy" corrected. PL to be checked twice. + Italian ammount.md moneropedia links corrected (terms added to destination entries, unnecessary markdown links removed) + Polish corrections + extend ruby \word-boundary in regex to match `-based` `-like` `-form` + Updated readme according to the new way to add or translate a moneropedia entry + fix mining with CryptoNight variant + rebased to include AR + chery picked #820 to avoid conflicts
27 lines
1.4 KiB
Markdown
27 lines
1.4 KiB
Markdown
---
|
|
entry: "Payment ID"
|
|
terms: ["payment-ID", "payment-IDs"]
|
|
summary: "an optional flag that is added to identify transactions to merchants, consisting of 64 hexadecimal characters"
|
|
---
|
|
|
|
{% include untranslated.html %}
|
|
### The Basics
|
|
|
|
Payment ID is an **arbitrary** and **optional** transaction attachment that consists of 32 bytes (64 hexadecimal characters) or 8 bytes (in the case of integrated addresses).
|
|
|
|
The Payment ID is usually used to identify transactions to merchants and exchanges: Given the intrinsic privacy features built into Monero, where a single public address is usually used for incoming transactions, the Payment ID is especially useful to tie incoming payments with user accounts.
|
|
|
|
### Compact Payment IDs and Integrated Addresses
|
|
|
|
Since the 0.9 Hydrogen Helix version, Payment IDs can be encrypted and embedded in a payment address. The Payment IDs of this type should be 64-bits and are encrypted with a random one-time key known only to the sender and receiver.
|
|
|
|
### Creating a Payment ID
|
|
It is recommended to use the official wallet's `integrated_address` command to automatically generate Integrated Addresses that contain Compact Payment IDs. If you want to use the command line, you can generate Payment IDs as follows:
|
|
|
|
Creating a compact Payment ID for an Integrated Address:
|
|
|
|
```# openssl rand -hex 8```
|
|
|
|
Creating an old-style Payment ID:
|
|
|
|
```# openssl rand -hex 32```
|