Mirko Mollik
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Indy vs TrustChain ## Development Both projects are open source Indy: - community based - amount is very limited - no paid developers TC: - paid developers to boost core technology - active development - easy to share current knowledge base - same approach as Evernym: first develop a stable technology, then onboard a community - possibility to start as a technology leader ## Programming Language Indy: Python TC: Typescript - type based language, better to read than python - lots of libraries - fast implementation, no development from scratch for different technologies (db usage, logging, etc.) - in case of abandoned dependencies they can be forked and fixed - easy to learn, huge developer community Why not Go or Rust: - lack of libraries - no requirements for resource intensive tasks like large file encoding, AI (crypto algorithms are performed in Rust) - Support of Web Assembly allows to transform TS-based algorithms into Rust ones when required - Horizontal scalability used for performance increase (much easier to scale up containers than overoptimizing an algorithm at the beginning) ## Internal structure Indy: - Python process, not able to scale it - monolith application - rare code documentation TC: - microservice architecture for different tasks (wallet handling, p2p network, parsing, storing, etc.) - modular approach, allows to replace components in the future (e.g. the wallet has to be written in Go, it can be used with the other services via redis and tcp calls) - Only start the required services (monitoring, different type of wallet service) ## Deployment Indy: - binary that can be run in the VM - Docker container TC: - Only docker containers - development is independent from used programming language, easy to change components in the future - Able to run only the required services, managed via a docker-compose file - allows horizontal scaling ## Monitoring Indy: - validator info transaction TC: - Prometheus: measuring microservices performance and other metrics - Loki: Access to logs for debugging, analyzing without accessing the machine - Grafana: Monitoring multiple nodes via multiple instances, support for alerts - Healthchecks: generating base load to make sure consensus and other services are available. Alerting admins when necessary. - Auto recovery: node is able to find anomalies to get back to a healthy status - Cost reduction: other admins are able to identify problems from the logs other nodes to send a restart request ## P2P Network Indy: - fully meshed network - all nodes are taking part in the consensus - all nodes are available to the internet - different port for consensus and read/write requests - Usage of resource intensive ZEROMQ protocol TC: - Observer/Gateway-Pattern: Distribution of the tasks: validators only perform the consensus, gateways are validating the transactions before passing them to the consensus and observers act as read nodes for external read calls - Using Web Sockets for connection: allows to run an observer or gateway without a public IP-address - Using TLS for secure transfer ## Consensus Indy: - plenum, resource intensive with large amount of nodes TC: - TBFT, build on IBFT, linear resource usage ## Trust Indy: - state proof, validators have signed the state of the transaction - using latest genesis file to validate signatures of the proof (validator needs file that matched with the signature, could have changed due to key rotations) TC: - Validating chain of trust back to the genesis block ## SSI Support Indy: - full support of Anoncreds - full privacy focus - currently only credential format with full ZKP capabilities - stores all information in a new transaction when updating a DID TC: - VC support - All resources are designed as DIDs to be called via a universal resolver - Only stores changes of a DID in a transaction Both systems are able to support VCs and Anoncreds with different transaction types. ## Hierarchy Indy: - stewards can write - validators build consensus and manage the roles TC: - gateways can write - validators build consensus and manage the roles - observers can read - clients can write when having the permissions ## Business Model Both solutions are permissioned based so license models or pay per use models are possible. For pay per use the amount of transactions is counted and sent as an invoice, no cryptocurrency involved. # Possible questions ## No one is familiar with TrustChain technology - Open source only since November 2021 - Paper has been reviewed by several companies, no negative feedback - Already a production network out there for two years, used by universities and companies ## How will the business model - License and Pay per use approach like planned with Indy ## What does TrustCerts get out of it - Need a consortium to run the network, has no incentives like crypto currencies like Cheqd - Gets feedback for features, bugs, etc. - IDunion SCE is a perfect candidate to run it - based in Europe ## How to invest - If a change is intended, an investment in a deletion concept at Indy makes little sense. ## There are no wallets out there to use it right now - SSIs is an ongoing process - focus on the long run to have a stable tech stack ## Next steps - Using TrustChain for cases that want to use VCs - Setting up a parallel network to evaluate the VDRs - Merging Anoncreds Cases on TrustChain when Anoncreds are fully supported Link to evaluation: https://nextcloud.idunion.org/apps/files/?dir=/AP6-F%26E/Dual-Tech%20Strategy&openfile=125431

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully