You are viewing a single comment's thread:

RE: Proposing a front-end agnostic way to store Bitcoin Lightning, crypto and social media addresses in a Hive profile

Adding a data point for the social part: denser (the Hive frontend we're building, running at /) already writes profile.social in posting_json_metadata, so there is an existing format to reconcile with.

Our keys and values:

"social": {
  "x": "handle",          // x.com/handle
  "ig": "handle",         // Instagram
  "yt": "handle",         // youtube.com/@handle
  "tg": "handle",         // Telegram, t.me/handle
  "bsky": "name.bsky.social",
  "dc": "username",       // Discord
  "nostr": "npub1..."
}
  • Values are bare handles, without @ or a URL, so each app builds its own link.
  • They are self-declared and unverified, and denser labels them that way on the profile.

We're happy to switch to full names (instagram, youtube, telegram, discord, bluesky) if that's what people settle on. We'd read both spellings during a transition, so existing profiles keep working.

One practical point that applies to whatever format wins: posting_json_metadata is rewritten as a whole, so each app should merge key by key inside social (and wallet) and keep keys it doesn't know about. We found that denser's own profile save dropped foreign keys inside social, and we're fixing that now.

@rubencress, we'll register the format with OpenAttribute once the key names are settled.

0.01499922 BEE
2 comments
(edited)

@blocktrades agreed on the merge point, and it deserves a line in whatever gets agreed here rather than a footnote.

On waiting for the names to settle: between you, @ecency and @vikisecrets there are six or seven open choices in this thread and nobody appointed to decide any of them. I'd register what denser writes today. If the spelling changes later it costs nothing, because a new version is one more registration and the old one stays readable.

This is the whole thing:

  "oa": 1,
  "action": "register_attribute",
  "attribute": {
    "account": "blocktrades",
    "leaf": "social",
    "version": "1.0.0",
    "category": "identity",
    "description": "External social handles on a Hive profile, as denser writes them: bare handles, no @ and no URL, self-declared and unverified. Keys in use: x, ig, yt, tg, bsky, dc, nostr.",
    "schema": { "type": "object", "additionalProperties": { "type": "string" } }
  }
}

Signed from @blocktrades. No account with us, no permission, nothing to install, and nothing needed from me.

It is blocktrades.social and not profile.social because the name comes from the signing account and never from the payload. @profile is a real account, which is exactly why that rule exists. Keep writing profile.social as you do today; write blocktrades.social alongside it when it suits you.

The point of any of this: what denser means by social should outlive denser. Right now that meaning exists in a repository, and the profiles are on a chain.

0.00000000 BEE

This is very close to the implementation I did in the cyberspace app, except using the long-form names for the social media sites like "youtube", "instagram" etc, normalized to lower-case, and also storing just the handle (normalized) for known social media sites (also automatically extracted from urls), or the url for unknown ones, as a fallback, if the user provided a full url, otherwise only the text is stored, the user provided.

When displaying the social links, its up to the front-ends how to display (sanitize) the usernames and link to the respective sites, for known social media types.

"social":{
"x":"username",
"instagram":"username",
"discord":"username",
"link-1":"url",...
}
0.00000000 BEE