Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAlias support #239

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

OpenAlias support #239

wants to merge 3 commits into from

Conversation

sorpaas
Copy link
Contributor

@sorpaas sorpaas commented Oct 25, 2017

This adds openalias (https://openalias.org/) support, hidden behind the openalias-support feature gate. This allows associating an address (be it BTC, XMR or ETC) to a domain name, so it is less likely to be hijacked and easier for users to read.

When it's enabled, on signing a transaction, it checks if the to address starts with 0x, if not, it will try to parse it as an openalias using the DNS TXT record.

An example of ETC's OpenAlias address can be found at donate.that.world:

$ dig -t txt donate.that.world

;; ANSWER SECTION:
donate.that.world.	97	IN	TXT	"oa1:etc recipient_address=0x001bAec5aDBF44d9d5A50B50D72e92921FCD528D; recipient_name=That World Donations;"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants