2

When creating a transaction voucher on Ardor. Say alice wants to pay bob.

Alice logs into her own account and and puts in Bob's address and 9 ignis to send.

Alice also puts in her secret pass phrase and checks off the voucher checkbox.

Now click submit and you're given a QR code and json data.

So does bob just broadcast this transaction when I give him this voucher?

2 Answers 2

3

Vouchers are useful when Alice wants Bob to pay her in a secure tamper proof way.

First she asks Bob what is his account address, she then logs into the wallet using Bob's address and using the normal send money dialog performs a payment from Bob to her account. But of course she cannot submit this payment since she doesn't have Bob passphrase. Instead she enters her passphrase and checks the voucher checkbox. As a result the wallet generates a digitally signed voucher she can send to Bob as a json file or QR code. Nothing is submitted to the blockchain at this stage.

Bob now uses the "Load Voucher" function from the wallet gear menu to load Alice's voucher. He double checks all the details then signs and submits voucher to the blockchain.

The result is that Alice received her payment while Bob now has the voucher which represents an invoice for his financial records. Alice got her tokens and Bob is sure that he really paid Alice and that Alice indeed has a passphrase to her account.

0
3

There is also a tutorial video showing this together with some use cases: https://www.youtube.com/watch?v=1ZEdAE68GKk&feature=youtu.be

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.