Open Alias addresses are great. Integrated addresses are great. But is it possible to add a payment ID to an Open Alias address? eg:
Or something else?
Monero Stack Exchange is a question and answer site for developers and users of the secure, private and untraceable cryptocurrency Monero. It only takes a minute to sign up.Sign up to join this community
Yes, this is possible, though I don't think a wallet implementation of it exists at the moment.
First, we need to understand that OpenAlias is simply a protocol whereby a DNS lookup can be used to query an alias, such as firstname.lastname@example.org, and return a regular address. As of 21 March 2017 for this example, this is:
Understanding the construction of an address and of an integrated address is also crucial, and is discussed here: What is an integrated address? Given that we understand how to construct both a normal address and an integrated address, a rundown of how a wallet could send to an integrated address using an OpenAlias name is as follows:
Get address via OpenAlias:
Encode integrated address:
13<-- Note that integrated addresses use a difference version #
Output Integrated Address:
So a company could easily say "please pay 4 XMR to
email@example.com#0123456789abcdef". The important thing in terms of making this useful is that the payment ID does not need to be included in the OpenAlias registration, which would be an unsustainable solution.