What is Nostr?
Thomas Voegtlin [ARCHIVE] /
npub10f9โ€ฆej47
2023-06-07 15:42:14

Thomas Voegtlin [ARCHIVE] on Nostr: ๐Ÿ“… Original date posted:2015-07-23 ๐Ÿ“ Original message:Le 23/07/2015 11:48, ...

๐Ÿ“… Original date posted:2015-07-23
๐Ÿ“ Original message:Le 23/07/2015 11:48, Thomas Voegtlin via bitcoin-dev a รฉcrit :
>
> One benefit of having an intermediate "_wallet" level is to allow zone
> delegation. Is that the reason for that choice?
>

Thinking about it, I think that it would be better to separate those two
operations: on one hand, the listing of TXT records under a name, and on
the other hand, the possibility to use Zone Delegation.

For example, let us use the "_oa2" name (Openalias version 2) when we
need to introduce an intermediate level, and "_oa2_keys" for key listing.

Here is an example:

_oa2_keys.sample 3600 IN TXT "btc ltc email fullname"
_btc.sample 3600 IN TXT "bitcoinaddress"
_ltc.sample 3600 IN TXT "litecoinaddress"
_btc.sample 3600 IN TXT "otherbitcoinaddress"
_email.sample 3600 IN TXT "john.smith at googlemail.com"
_fullname.sample 3600 IN TXT "John Smith"

Zone Delegation: Let us assume example.com wants to delegate all its
Bitcoin aliases to Netki. We introduce an intermediate level, with the
"_oa2" name. In the alias, this string is translated as "@"

john._oa2.example.com <-- will be looked up as john at example.com
_btc.john._oa2.example.com <-- bitcoin address of john at example.com
Author Public Key
npub10f96gqrsu4qpygfgvuvzce47aavjvql703egfde0l2hua8dzpszs67ej47