2017-12-11 Engineering Meeting



We discussed an engineering meeting process:

  1. Take notes in Dropbox Paper during meeting (this allows attendees to collaborate on notes in real time)
  2. Paste notes into a forum post in Meetings category
  3. Create Github issues

Gaia Storage for apps without Blockstack Core

Storage communication will be directly between apps & Gaia Hubs without passing through an intermediary local Blockstock Core daemon. https://github.com/blockstack/blockstack.js/issues/311


  1. Apps need to obtain gaia hubroot url (will change authentication) https://github.com/blockstack/blockstack.js/issues/309 https://github.com/blockstack/blockstack-browser/issues/1113
  2. blockstack.js needs to generate gaia hub bearer token (move code from browser) https://github.com/blockstack/blockstack.js/issues/310
  3. Document app request and app response token in comments (src/auth/appmessages.js)
  4. Default to default gaia hub (deprecated default)

Gaia Hub Paths

  1. Current Write-path: putFile('portfolio.json', content``, true``)
  2. ~/.blockstack/storage-disk/{{ .randomString }}
  3. https://gaia.blockstack.org/``hub/``{{ .blockstack.identityAddress }}/{{ .randomString }}/portfolio.json
  4. Proposed Write-path: putFile(``'``portfolio.json``'``, content``, true``)
  5. https://gaia.blockstack.org/``hub/``{{ .blockstack.appAddress }}/portfolio.json

Lightweight multi-reader storage

Current status: Browser is able add arbitrary key-values , manually

  1. Determine API changes: Something like blockstack.getUser(``"``jack.id``"``).apps(<app origin>).indexURL(returns url) (obviously these would be need to be asynchronous) https://github.com/blockstack/blockstack.js/issues/312
  2. Ask user to add app index to profile. This can be done at authentication but ideally should later be done through a separate call. https://github.com/blockstack/blockstack.js/issues/313 https://github.com/blockstack/blockstack-browser/issues/1114
    a. key: the app origin, value url to public index.json file
  3. Decide where in profile this belongs and add it. We are thinking in the accounts array. https://github.com/blockstack/blockstack-browser/issues/1115