Save data to group based on blockstack ID from logged-out user?

#1

Wondering if it’s possible to save data to group based on some blockstack id from non-logged in users?

For example, if I visit a blockstack app, I want to update some public database connected to a blockstack Id.

Considering building with Blockstack and this feature would be helpful.

Posted on behalf of Morgan

#2

Technically possible? Yes – the user can give someone a (short-lived) Gaia association token that will allow that someone to write data to their app bucket on their behalf. That someone could be the Radiks server itself.

Supported in Radiks today? I don’t think so – not directly. You’d need to have the user generate an association token, and then have this other agent use it to generate a custom Gaia hub config with connectToGaiaHub(), and then bind it to its own UserSession with getOrSetLocalGaiaHubConnection(). From there, that agent’s UserSession can write to the original user’s Gaia hub under the constraints given in the association token.