|
### Prove payments
|
### Bevis betalinger
|
|
When you send money to a party who then disputes the payment was made, you need to be able to prove the payment was made.
|
Når du sender penger til en part som omdiskuterer at betalingen har blitt gjort, må du kunne bevise at betalingen har skjedd.
|
|
With Bitcoin, this is typically done by looking up the transaction ID, where the origin and destination addresses are shown, along with the amount transacted.
|
Med bitcoin gjøres dette som regel ved å slå opp transaksjons-ID-en, der den opprinnelige adressen og sluttadressen vises sammen med transaksjonsbeløpet.
|
|
Monero, however, is private: that information is not available publicly on the blockchain. The steps are therefore a bit more involved.
|
Monero er imidlertid privat. Disse opplysningene er ikke offentlig tilgjengelig på blokkjeden. Trinnene er derfor litt mer innviklet.
|
|
To prove to Charlie that she made a payment to Bob, Alice must supply Charlie three pieces of information:
|
For å bevise til Charlie at hun har gjennomført en betaling til Bob, må Alice forsyne Charlie med tre opplysninger:
|
|
- the transaction ID, as is done in Bitcoin - Bob's address, as is done with Bitcoin - the transaction's key, which is new with Monero and other CryptoNote currencies
|
- Transaksjons-ID-en (som i bitcoin) - Bobs adresse (som i bitcoin) - Transaksjonsnøkkelen, noe som er nytt med Monero og andre CryptoNote-valutaer
|
|
When Alice made the transaction, a one time key was automatically generated just for this transaction.
|
Når Alice har gjennomført transaksjonen, ble en éngangsnøkkel automatisk generert for akkurat den ene transaksjonen.
|
|
#### CLI
|
#### CLI
|
|
Alice can query it thus in monero-wallet-cli (new name for the old simplewallet):
|
Alice kan altså forespørre den i sin monero-wallet-cli (nytt navn for den gamle simplewallet):
|
|
> get_tx_key TXID
|
> get_tx_key TXID
|
|
Alice would plug in her actual transaction ID instead of this TXID placeholder. All being well, the one time transaction key will be displayed.
|
Alice må legge inn sin faktiske transaksjons-ID i stedet for denne TXID-plassholderen. Hvis alt går som det skal, vises éngangstransaksjonsnøkkelen.
|
|
Note that this will only work if monero-wallet-cli is set to save transaction keys. To double check:
|
Merk at dette kun vil fungere dersom monero-wallet-cli er satt opp til å lagre transaksjonsnøkler. For å dobbeltsjekke:
|
|
If it's set to 0, set it to 1:
|
Hvis den er satt til 0, setter du den til 1:
|
|
#### GUI
|
#### GUI
|
|
Alice can open her monero-wallet-gui and go to the history page to see her transaction detail:
|
Alice kan åpne sin monero-wallet-gui og gå til historikksiden for å se transaksjonsdetaljene sine:
|
|

|

|
|
Here, she can copy the transaction ID and Bob's address by clicking on each of them. Then she can click on `P` to get a payment proof (transaction key):
|
Her kan hun kopiere transaksjons-ID-en og Bobs adresse ved å trykke på hver av dem. Deretter kan hun trykke på `P` for å få et betalingsbevis (transaksjonsnøkkel):
|
|

|

|
|
---
|
---
|
|
Alice can now send Charlie the transaction key along with transaction ID and Bob's address.
|
Alice kan nå sende Charlie transaksjonsnøkkelen i tillegg til transaksjons-ID-en og Bobs adresse.
|