Verify Proofs


Stuff You Need to Know

Chainpoint is an open standard for creating a timestamp proof of any data, file, or process, offered by Tierion. This component verifies one or more proofs from the the Chainpoint network, based on hashes that have previously been submitted to the Chainpoint network. See the Chainpoint: Store Hashes on Blockchain component for doing that. The output is a set of verification data. This proves that the data existed at the time is was anchored, and doesn't require any third party.


How to Configure

Nothing to configure here!  Just send in proof data from the previous component.  Proof data has this structure:

[
  {
    "hashIdNode": "03380fc0-423f-11ea-b99b-010c94bcde0f",
    "proof": "eJyNU01vEzEQ/TMcSTP+GHtmT5H4C5x6icb2LFmpZKPstsCxcOHaA1ckaFEL4oKEOPI/8m9w0rRABFJ9sWT7vXnjee/tzSz3y1Ffjj8X47gamun0hevKUb9+Ns0L6ZarvluO0zN3Nb5a6Zcn90dXCxkWm5kpVljZJgzGe1AqNoo1qsUY30YwZABLArDBShtLBIp1U2GmkEC+bmnmXZkv+6KbR+AcQZth4q1rJ8aoTBJzmoCBzD7lotD+2EGG0/S8G0e9Rc5l/G7BQn04sfwUbGOpMXx8T5/79ZbeG+XW/UnPIWlFEWLLwVkKh/Rb5D/pLRzfpLUs80KHi9efTiTpybcsJ/PtUb+e395d9qvh/fmHk83jnc6uNA/p8fxjv7oeFjKxGHbgnYot+AEdHILfLbthPLONQapj8GShrsbUOk7YKxSD2RHaxBk8ZYexzihJKQKJUzFFWm8kR0Eo2SZpi3fgc4i+RSpkgxYp6ELEbFoImqI6qby5DT45F4VRIWRFtJ7Vu0KOiQ5VzjyWQp5KAInGVSOJqw7yREFcTqoeqPgSgyU0AYhUs9TrJCFmJGP/JlxvZtlzomSMA6mihVJgQFesWqsszrKIEGBtuepDNpIwOm65NqcBGQ8VskcOhHT3kQyxMc1dbOTod1628WmqFZo9YifHxxw8hNaTi61Yct5lgwy25qE4DQShJgmrKrRYf6hOJxPnFl3d4GCs17cmGy7e7IJ5WYt93vuuK9f7slen62642Bz9T+K0onRZZD3dA6Zb7/8CFDRRmg==",
    "anchorsComplete": [
      "cal"
    ]
  },
...
]


What Happens Next

The proof data is sent to Chainpoint, and it responds with a verification object, like this:

[
  {
    "hash": "1d2a9e92b561440e8d27a21eed114f7018105db00262af7d7087f7dea9986b0a",
    "hashIdNode": "03380fc0-423f-11ea-b99b-010c94bcde0f",
    "hashIdCore": "041e9f30-423f-11ea-96be-01855f963286",
    "hashSubmittedNodeAt": "2020-01-29T02:28:19.000Z",
    "hashSubmittedCoreAt": "2020-01-29T02:28:20.000Z",
    "branch": "cal_anchor_branch",
    "uri": "http://45.76.210.178/calendar/4596858/hash",
    "type": "cal",
    "anchorId": "4596858",
    "expectedValue": "4950726a46552ccdc764e589aa78821242a90e0458f49b34eaf5e584079a454d",
    "verified": true,
    "verifiedAt": "2020-01-29T03:21:34.000Z"
  }
]


In the case of an invalid proof, you will receive a message in the output that looks something like this:

{
  "error": "Oops! Something went wrong. Check this out: ",
  "message": "Could not parse Chainpoint v3 binary"
}