Code Monkey home page Code Monkey logo

Comments (3)

schrink avatar schrink commented on June 19, 2024 1

Hi,

regarding question 1, we are dealing with a slightly different scenario here. Our scenario is that you upload XML data. Once it is uploaded, it gets imported into ArangoDB and it gets replicated to several other nodes. In two years you ask for the data and some of the nodes sends it back. We provide mechanism so that what you receive back is also hashed and compared to fingerprint from two years ago, so you know for sure that who was holding the data didn't changed it and it is the same data.

Then you can export it to XML if you like, and it should be exactly the same XML. So this is the aim of our protocol and what we provide.

However, you can easily achieve what you described as well. Same input should always produce the same root hash and same fingerprint. You may create a dApp that will compare new import hash with the old one.

Regarding scenario 2, this is exactly what we are solving. You will ask a network to give you specific product, for example by some identifier (like ID, or barcode) and it should return you all the data available for that product - the trail for that product, regardless where exactly is the data. We are developing an API that will provide range of queries.

You may be interested to checkout our pilot from January 2018 http://yimi-pilot.origintrail.io/ that showcases this process.

from ot-node.

nbxtruong avatar nbxtruong commented on June 19, 2024

Thank you @schrink

1/ For question one, How can I get the Fingerprint. The node did not response to client after I imported XML files.
2/ Let's say I got that Fingerprint. So I need to save that Fingerprint to other database, for compare in the future?
3/ Let's say I have that Fingerprint since two year ago. It storaged in other database that I created (MongoDB). So, I have to import new XML once again (for validation) to get Fingerprint, and compare that Fingerprint with the Fingerprint two year ago? Is that true? or Do you have any better way than my way?

If I want to go the way like http://yimi-pilot.origintrail.io/, Do you have the API for that (even if It is demo only)? This website has everything I need. But, I do not know to do.

from ot-node.

schrink avatar schrink commented on June 19, 2024

This will be ready for TestNet launch and we are preparing API documentation. Stay tuned and please reopen if you find more difficulties.

from ot-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.