Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Support use of private Gaia hubs #77

Open
jcnelson opened this issue Feb 6, 2019 · 3 comments
Open

Support use of private Gaia hubs #77

jcnelson opened this issue Feb 6, 2019 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jcnelson
Copy link

jcnelson commented Feb 6, 2019

When testing this site with Gaia association tokens (i.e. testing with a private Gaia hub), the app does not pass the association token to Gaia. This causes all storage requests to fail.

@moxiegirl
Copy link
Contributor

@jcnelson It wasn't created to work with private hubs...and I believe was created prior to when we have association tokens.

The larger question, should every sample app or every app anyone creates from here on out implement somehow association tokens? That, for example, may impact application mining. Are we testing every app to make sure they work with a private Gaia hub?

@moxiegirl moxiegirl added the enhancement New feature or request label Feb 6, 2019
@jcnelson
Copy link
Author

jcnelson commented Feb 6, 2019

It shouldn't require any development effort to make it work with private hubs -- blockstack.js and the authenticator do the all the heavy lifting there. Using a (already-configured) private hub would "just work." For example, I can do this with xordrive.io.

I think the fix for this would be to use a later version of blockstack.js (I think 19.0.0-alpha4 has the requisite functionality).

Are we testing every app to make sure they work with a private Gaia hub?

Not at the moment AFAIK, but the fix is a matter of getting apps to use the latest version of blockstack.js. I think it's relevant to this app specifically because if developers are getting started with Blockstack via this app and want to start out with a private Gaia hub, they'll be unable to do so.

@moxiegirl
Copy link
Contributor

@jcnelson Definitely, these are things to think about.

At this moment, this sample is about teaching users to get into app development and app mining specifically. Gaia is not currently even a requirement of application mining. So, introducing information about private hub is not part of the requirements for the app. Further, we are not currently pushing use of private hubs.

Right now, introducing association tokens and other details around Gaia would be out of scope. It would be a neat side project tho.

@moxiegirl moxiegirl changed the title Using private Gaia hubs is broken Support use of private Gaia hubs Feb 6, 2019
@moxiegirl moxiegirl added the help wanted Extra attention is needed label Feb 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants