notes icon indicating copy to clipboard operation
notes copied to clipboard

Hug ODE prototype

Open void4 opened this issue 8 years ago • 0 comments

Objective

Abstract

Implement a prototype based on http://www.hug.rest/ using the OpenAPI Decentralisation Extensions (ODE) as described here: https://github.com/void4/notes/issues/1

Specific

This project involves creating non-blockchain components necessary for a working implementation. These are, amongst other things:

  • OpenAPI generation
  • client side middleware or library (extend swagger-client codegen?)
  • signature verifying middleware
  • persistent storage class for payment channels
  • payment channel reimplementation with fixed receiver to avoid double spending

Open questions

Under which conditions are the payment channels closed?
  • when the application is shut down
  • when less than a fixed time remains (discovered through periodic checks)
Where should the periodic checks be implemented?
  • natively every nths request
  • through falcon
  • as separate thread
  • as separate application
What kind of structure do the registry entries have?

The registry should only point to the service descriptor file. This file can in turn refer to all endpoints.

  • URL
  • IPNS name/IPFS hash
  • Assuming libp2p/devp2p/Whisper: identity address

void4 avatar Apr 28 '16 01:04 void4