Post
Topic
Board Announcements (Altcoins)
Re: Nxt :: descendant of Bitcoin - Updated Information
by
xyzzyx
on 01/01/2014, 11:12:59 UTC
22k.io Alias Browser and URL Shortener

A while back, someone (c-f-b?) mentioned putting json entries into aliases. Has anybody looked into how this might work?

As an example, I have put this into the 'notsoshifty' alias:

Code:
{"web":"http://www.notsoshifty.de/","fb":"notsoshifty","twitter":"notsoshifty","nxtacct":"11111125831111116332","smtp":"notsoshifty111@example.com","skype":"notsoshifty1971"}

Or, easier to read:

Code:
{
   "web" : "http://www.notsoshifty.de/",
   "nxtacct" : "11111125831111116332",
   "smtp" : "notsoshifty111@example.com",
   "skype" : "notsoshifty1971",
   "twitter" : "notsoshifty",
   "fb" : "notsoshifty"
}

So the idea would be that if "nxt:notsoshifty" was entered into a browser, the browser extension would fetch the alias, look for the 'web' entry, and go to that URL (http://www.notsoshifty.de/). A nxt client would look for the 'nxtacct' entry if it was in reference to making a payment; an email client would look for 'smtp', etc.

Oh dear, here I go again...

+1