-
Notifications
You must be signed in to change notification settings - Fork 3
Description
dogecoin:<address>?amount=<amount>&otherstuff=hi URIs only support a single address, dogeconnect URIs build on top of this adding dc and what not to allow the wallet to get an envelope describing what this payment is for.
The envelope has an outputs array, so I could say "this envelope wants, and the relay will not accept anything other than" 1 output to addressA for 500 doge and 1 output to addressB for 100 doge.
We are reusing the dogecoin: URI for fallback - so wallets that do not support dogeconnect can still pay, but if we have multiple outputs what do we put here?
Maybe just a misunderstanding/documentation task:
- What do we expect to happen here? Is the vendor/relay supposed to understand this and have a specific "all outputs go here as fallback" address? Is this a requirement on the relay?
- Is this a gap and suggests we should move to a specific URI/at least add a new URI to the spec that forces dogeconnect?
All of the "using dogeconnect" applications are a little damaged/need to handle a bunch of edge cases when you need to consider that we also need to support the URI being used by a wallet that does not support dogeconnect.