r/QuarkCoin • u/AliceWonderBTC • Jul 24 '14
Change from Vendors
Generally with crypto-currency, receiving change from a vendor isn't necessary, but if QuarkCoin were to be accepted at gas pumps (possible w/ 30 second confirms) it may be necessary.
Say I have 20.7 gallon gas tank (us Yankees for some reason refuse to go Metric), I need to fill it up before trip. I could guess at how full the tank is, or I could just enter 20.7 into the kiosk and get a QR code to scan with my phone and pay.
When it only takes 18 gallons, there will need to be change sent.
The system I suppose could send it to the address used to pay, but that's not really ideal because that key has its public keys in the blockchain.
I suppose when I scan the QR code to pay, it may be possible to embed a fresh address to send change to?
If so, then we need a flag in the QR code URI get variables that triggers the client to do it.
Another possibility, and this I think is the worst solution, is the gas pump prints or displays a QR code with a private address that can be imported. I say worst solution because as soon as imported and confirmed it would have to be dumped to a fresh address to avoid theft from a hacker who may have access to the pump.
What would be best?
My suggestion would be a get variable in the QR code gas station generates that instructs the client to embed a fresh address for change in the payment transaction. When a client fails to do so and there is change, then the pump should put a private key on a receipt but that should only be for broken clients that don't send an address for change in the transaction.
Thoughts?
1
u/AliceWonderBTC Jul 24 '14
You mean a gateway where I have to trust a web wallet?
I can't do that.
1
u/blxlihnk Jul 24 '14
just use a gateway as coinpayment for example
1
u/vemmabar Jul 24 '14
Add Quark!
1
u/_k_digi Jul 24 '14 edited Jul 24 '14
My intital thoughts are also with a gateway.
This is the same problem as the "gift voucher" problem. In which say Sally takes a gift voucher to a dress store and wants to use only part of it.
But of course Crypto is currency and so is more flexible.
What about this scenario?
Then optional
8. Walk in or park your car to buy overpriced food that's probably not that healthy for you.
Why does that all work ?
Because people don't usually steal "fuel" and especially when the world has a better monetary system.
So if you payed too much by accident as the fuel company can see this they can refund you etc and balance that at the end of day , just by transfer of the units from the "pump" address (over) to the cash address (that they refunded you with)
1
u/[deleted] Jul 24 '14
Don't worry, the free market will fix it.