pando-project / pando

Ensuring access to notarized metadata
https://pando-web-amber.vercel.app/
23 stars 4 forks source link

[feature] PandoClient #158

Closed sssion closed 2 years ago

sssion commented 2 years ago
  1. Split Pando SDK from Pando repo to PandoClient repo
  2. PandoClient includes:

    1. daemon
    2. By adding filepath in command, generated metadata send the metadata to pando by golegs(maybe other methods)
    3. Use the engine instead of command to add bytes data to metadata and update to pando.
    4. Save the latest metadata's cid locally(the metadata you update to pando) to generate chain metadata
    5. Save cidlist locally that you pushed into pando
    6. Cat the data in Metadata(bytes or dagjson decode). If the metadata not exist in PandoClient, sync it from Pando
    7. Check pushed cids perodically. If meet conditions, re-publish the cid(to Pando). In additions, check map is persisted.

    ......

sssion commented 2 years ago
   V. Cat the data in Metadata(bytes or dagjson decode). If the metadata not exist in PandoClient, sync it from Pando