Skip to content

Verification on chain Demo

Gene Vayngrib edited this page Mar 30, 2015 · 6 revisions

Why Chrome App?

Apps below are Chrome Apps so you need to open this document in Chrome (Chrome Apps are native apps made with the web tech). The reason we use Chrome App and not just the plain browser app, which would be simpler, is because we need to talk directly to the P2P networks, like bitcoin, ethereum and the DHT network. This type of setup is the most secure as the keys never leave the machine and there is no intermediary in the connectivity to the P2P networks.

Alternatively, we are working on a different deployment scenario, which requires a trust in a cloud service, that interfaces with the P2P networks, but the keys are still generated and kept on the client machine. This trust model is less secure, but more convenient.

Demo Apps

The demo is split into 3 apps. Kate App represents a customer, Jane App represents an agent at a company. And Signy app is a keys holder app. Download Tradle's signing app by clicking the link below (make sure you are running Chrome browser).

Signy

Download two variants of the same Tradle app, one variant with Jane user baked into it, another with Kate.

Tradle Jane - representative of * Bank
Tradle Kate

Go to Apps in Chrome. Top left corner bookmarks bar has 'Apps' link, or just use this url: chrome://apps/ On that page click on Signy.

Setup Signy:

Signy is a separate app that keeps signing keys compartmentalized from the rest of the applications.

Setup Signy

  1. Launch Signy
  2. Click Accounts
  3. Type "Jane" in the text field, click + to add an account with alias "Jane"
  4. Click Generate new mnemonic
  5. Store the generated mnemonic in a safe place
  6. Click Save
  7. Close Signy

##Perform an attestation on chain

  1. Launch Tradle Jane and Tradle Kate
  2. In Tradle Kate
  3. To add documents
    1. Click on Profile in menu
    2. Click on My Documents on profile page
    3. Click on choose file (above the submit button)
  4. To send a verification request
    1. Click on Profile in menu
    2. Click on My Documents on profile page
    3. Click on radio button
    4. Click Submit button
    5. Choose 'Safe money' as a verifying organization
    6. And Submit in the popup to complete the action
  5. In Tradle Jane:
  6. Click 'Requests to sign' (if there are no documents listed, open 'Tradle Kate' app and create verification requests according to the instructions above)
  7. Choose first document in a list to verify
  8. Click Verify. At this point, Signy should open and ask you to sign the document as Jane
  9. Paste or type in Jane's mnemonic and click Sign
  10. Click Send
  11. Tradle Jane should see a dialog congratulating her on a successful signing
Clone this wiki locally