Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building Blockchain Registries - Chris Tse's Hyperledger Member Summit 2019 Presentation

Building Blockchain Registries - Chris Tse's Hyperledger Member Summit 2019 Presentation

Full talk: https://www.youtube.com/watch?v=HBqSpYpqWko
Blog post: https://medium.com/cardstack/building-decentralized-media-registries-a953fd36d3d4

There are all kinds of registries in the world—both centralized and decentralized databases.

Chris Tse, Founding Director of the Cardstack Project, talks about the media registry use case in the enterprise space, and more specifically, the blockchain-based music registry Cardstack has built in partnership with Warner Music Group, Warner Chappell Music, and Dot Blockchain Media (the first phase of this pilot project / proof-of-concept was completed in Q2 2019).

Learn what it means to build a functional, scalable, searchable, version-controlled, and user-friendly media registry on top of the blockchain, and how the Cardstack Framework—as a general-purpose application framework—can help facilitate data orchestration, workflows, and permissioning for these decentralized databases. Cardstack, utilizing its own Gitchain technology along with blockchain software, can be used to build all kinds of collaborative registries, enabling multiple companies to come together and synchronize not only business processes, but data sharing.

Chris Tse

July 30, 2019
Tweet

More Decks by Chris Tse

Other Decks in Technology

Transcript

  1. CARDSTACK
    V17
    Building a
    Media Registry with
    Git and Sawtooth
    HYPERLEDGER MEMBER SUMMIT 2019 – TOKYO, JAPAN
    CHRIS TSE
    Founding Director
    Cardstack Project
    [email protected]

    View Slide

  2. Registry
    Identifier
    Media
    License
    Standards
    Asset
    Property
    Ownership
    Taxonomy
    Product Company
    Name

    View Slide

  3. Identifier
    Media Registry
    License
    Standards
    Asset
    Property
    Ownership
    Taxonomy
    Product
    Company
    Name
    CONTAINS ALL OF THE FOLLOWING ELEMENTS
    Identifier
    License
    Property
    Ownership
    Company
    Name

    View Slide

  4. Identifier
    License
    Standards
    Asset
    Property
    Ownership
    Taxonomy
    Product
    Company
    Name
    CONTAINS ALL OF THE FOLLOWING ELEMENTS
    Identifier
    License
    Property
    Ownership
    Company
    Name
    Music Registry
    SPLIT INTO TWO HALVES

    View Slide

  5. SPLIT INTO TWO HALVES
    Music Registry
    Recording Composition
    Identifier
    Asset
    Ownership
    Product
    Name
    Taxonomy
    Identifier Name
    License
    Ownership
    Property
    Company
    “Track you listen to on Spotify” “Tune you sing in the shower”
    MISSING LINKS?

    View Slide

  6. Record Label Music Publisher
    MISSING LINKS?
    3rd largest (~18% Market Share) 3rd largest (~12% Market Share)

    View Slide

  7. Dot Blockchain Music Registry
    PHASE 1 COMPLETED IN Q2 2019. PHASE 2 THROUGH 1H 2020.

    View Slide

  8. SEARCHABLE DATABASE
    AMENDMENT LEDGER
    VERSIONED REPOSITORY
    Cardstack Registry Architecture
    Schema (JSON)
    • master-recording
    • artist
    • master-owner
    • copyright
    • genre
    • release
    • release-artwork
    • region
    • etc.
    • song
    • work-detail
    • writer
    • works-owner
    • copyright
    • works-right
    • region
    • etc.

    Anchor
    Index

    View Slide

  9. VERSIONED REPOSITORY
    SEARCHABLE DATABASE
    AMENDMENT LEDGER

    Anchor
    Index

    Git Repo
    Cardstack Registry Architecture
    Schema (JSON)
    • master-recording
    • artist
    • master-owner
    • copyright
    • genre
    • release
    • release-artwork
    • region
    • etc.
    • song
    • work-detail
    • writer
    • works-owner
    • copyright
    • works-right
    • region
    • etc.

    View Slide

  10. Git Repo
    Git Repo
    Creation
    Amendment Ledger
    Object Storage
    Packfile
    Reference
    PUSH
    SYNC
    Large amount
    of metadata
    and content
    Little bit of
    permission
    control logic
    Content /
    Data / Code
    Content /
    Data / Code
    COPY
    Combining Git & Blockchain

    View Slide

  11. B2
    Enterprise / User Hubs
    LAYER 3
    Card UI
    Amendment Ledger
    Packfile
    Reference
    LAYER 1
    Object Storage
    LAYER 1
    Git Repo
    GIT
    AMAZON S3
    HYPERLEDGER
    SAWTOOTH
    Orchestrating the Full User Experience
    Metadata & Media Sync
    LAYER 2
    CARDSTACK
    Built on

    View Slide

  12. DELIVERED
    Schema-driven
    metadata entry and
    approval tool
    DOTBC APP
    CARDSTACK
    Built on
    • 50,000+ Entries
    • 26 GB of Audio
    • < 500 On-Chain Transactions
    Media Registry Dashboard

    View Slide

  13. BLOCKCHAIN
    Hyperledger Sawtooth
    PUBLISH
    ON PUSH
    Media Registry Dashboard
    WC Users
    WM Users
    Master
    Recording
    Card
    Master
    Recording
    Card
    Master
    Recording
    Card
    Master
    Recording
    Card
    Master
    Recording
    Card
    Musical Work
    Card
    Musical Work
    Card
    Musical Work
    Card
    Musical Work
    Card
    Artist Card
    Artist Card
    Artist Card
    JSON Reference
    JSON Reference
    LOCAL
    Git Commits
    Bulk Additions
    690k additions
    Amendment
    3 additions
    Amendment
    56 changes
    Amendment
    SYNC
    ROLE-
    BASED
    ACCESS
    CONTROL
    Bundling Git Commits from Registry UI
    Bulk Additions
    690k additions
    Amendment
    3 additions
    Amendment
    56 changes
    Amendment
    Re-orient the
    UI around
    workflow steps

    View Slide

  14. UPCOMING
    Multi-party
    conversational
    workflow experience
    CARD FLOW
    CARDSTACK
    Built on
    Apr 15, 1:25 PM
    LATEST
    Posted by Daisy Simmons
    Survey for Never-Ending Cup Laun…
    Send
    Chat with Daisy
    2
    2
    Created Apr 15, 1:15 PM
    Thread with Bryan & Daisy
    Hi Bryan, good to hear from you! Give me a little while to review and I’ll get back to you
    shortly.
    Party Planners Inc
    Apr 15, 1:20 PM
    Daisy Simmons
    By the way let me say that it was an absolute blast to plan your last event and I’m looking
    forward to working with you again!
    Party Planners Inc
    Apr 15, 1:22 PM
    Daisy Simmons
    Please fill out this quick survey so I can get a better idea of what you are looking for with
    this launch party:
    Fill Out Survey
    0 / 5 Questions completed
    1. Naughty or Nice?
    2. Orderly or Spontaneous?
    3. Classy or Casual
    4. Drinking or Dancing?
    Event Planning Form
    Survey for Never-Ending Cup Launch Party
    Party Planners Inc
    Apr 15, 1:25 PM
    Daisy Simmons
    Invalidate
    Edit
    Prioritized Latest
    Filter Unread Messages
    Search Queue
    Eternalize Inc 2 2
    Launch Party Planning
    Please fill out this quick survey so I can get a better…
    idea of what you are looking for with this launch party:
    Survey for Never-Ending Cup Launch Party
    Apr 15, 1:25 PM
    Daisy Simmons
    Launch Party Planning
    Mar 22, 9:15 AM
    Carlos Ramirez
    Let me know if you’ve had a chance to review my…
    Business Trip to Spain
    Feb 10, 1:00 PM
    Alice Waters
    The last color swatches were a little off, reference…
    New T-Shirts
    Jan 22, 6:00 PM
    Kory Livingston
    Hello Bryan, thank you for taking an interest in our…
    Charity Sponsorship
    Recent
    Add from Library
    Start a Draft
    Add Participants
    Add from Desktop
    Bulk Additions
    690k additions
    Amendment
    3 additions
    Amendment
    56 changes
    Amendment

    View Slide

  15. \
    Chat with Daisy Send
    3 Saved Drafts
    2
    3 3 2
    Created Apr 15, 1:15 PM
    Thread with Bryan & Daisy
    Hi Bryan, good to hear from you! Give me a little while to review and I’ll get back to you
    shortly.
    Party Planners Inc
    Apr 15, 1:20 PM
    Daisy Simmons
    3 New Messages
    Hello again! We really enjoyed the last event you planned for us. Now we’re launching a
    new product and would love to hear your thoughts. This party should really be out of this
    world!
    Invalidate
    Edit
    Possible Dates
    July 1, 2019
    July 7, 2019
    July 15, 2019
    No. of Guests
    313
    Company Purpose
    Eternalize Inc Launch party for the new
    product “The Never-
    Empty Cup”
    Event Planning Form
    Launch Party for Never-Ending Cup
    Eternalize Inc
    Apr 15, 1:15 PM
    Bryan Cook
    2 2 3
    Created Apr 15, 1:30 PM
    Thread with Bryan, Maria & Tom
    Prioritized Latest
    Filter Unread Messages
    Search Queue
    Eternalize Inc
    Dismiss all
    Needs Response
    Go to message
    Posted by Daisy Simmons
    Survey for Never-Ending Cup
    Launch Party Planning
    2 min ago
    Fill Out Survey
    3 5 2 4
    Launch Party Planning
    Apr 15, 1:15 PM
    LATEST
    Posted by Bryan Cook
    Launch Party for Never-Ending Cup
    Survey for Never-Ending Cup Launch Party
    Apr 15, 1:25 PM
    Daisy Simmons
    3
    Launch Party Planning
    Please fill out this quick survey so I can get a better…
    idea of what you are looking for with this launch party:
    Mar 22, 9:15 AM
    Carlos Ramirez
    Let me know if you’ve had a chance to review my…
    Business Trip to Spain
    Feb 10, 1:00 PM
    Alice Waters
    The last color swatches were a little off, reference…
    New T-Shirts
    3
    Recent
    Apr 15, 1:25 PM
    LATEST
    Posted by Daisy Simmons
    Survey for Never-Ending Cup Laun…
    2
    2
    Created Apr 15, 1:15 PM
    Thread with Bryan & Daisy
    Hi Bryan, good to hear from you! Give me a little while to review and I’ll get back to you
    shortly.
    Party Planners Inc
    Apr 15, 1:20 PM
    Daisy Simmons
    By the way let me say that it was an absolute blast to plan your last event and I’m looking
    forward to working with you again!
    Party Planners Inc
    Apr 15, 1:22 PM
    Daisy Simmons
    Please fill out this quick survey so I can get a better idea of what you are looking for with
    this launch party:
    0 / 5 Questions completed
    1. Naughty or Nice?
    2. Orderly or Spontaneous?
    3. Classy or Casual
    Event Planning Form
    Survey for Never-Ending Cup Launch Party
    Party Planners Inc
    Apr 15, 1:25 PM
    Daisy Simmons
    Invalidate
    Edit
    Prioritized Latest
    Filter Unread Messages
    Search Queue
    Eternalize Inc 2 2
    Launch Party Planning
    Please fill out this quick survey so I can get a better…
    idea of what you are looking for with this launch party:
    Survey for Never-Ending Cup Launch Party
    Apr 15, 1:25 PM
    Daisy Simmons
    Launch Party Planning
    Mar 22, 9:15 AM
    Carlos Ramirez
    Let me know if you’ve had a chance to review my…
    Business Trip to Spain
    Feb 10, 1:00 PM
    Alice Waters
    The last color swatches were a little off, reference…
    New T-Shirts
    Jan 22, 6:00 PM
    Kory Livingston
    Hello Bryan, thank you for taking an interest in our…
    Charity Sponsorship
    Recent
    Prioritized Latest
    Go to message
    Posted by Daisy Simmons
    Survey for Never-Ending Cup
    Launch Party Planning
    2 min ago
    Fill Out Survey
    Filter Unread Messages
    Search Queue
    Eternalize Inc
    Dismiss all
    Needs Response
    5
    Recent
    Survey for Never-Ending Cup Launch Party
    Apr 15, 1:25 PM
    Daisy Simmons
    3 3
    Launch Party Planning
    Please fill out this quick survey so I can get a better…
    idea of what you are looking for with this launch party:
    Apr 20, 9:15 AM
    Jackie West
    Let me know if you’ve had a chance to review my…
    Packaging Mock-Ups
    Feb 10, 1:00 PM
    Alice Waters
    The last color swatches were a little off, reference…
    New T-Shirts 1
    1
    Prioritized Latest
    Fill Out Survey
    Go to message
    Posted by Daisy Simmons
    Survey for Never-Ending Cup
    Launch Party Planning
    2 min ago
    Filter Unread Messages
    Search Queue
    Eternalize Inc
    Dismiss all
    Needs Response
    5
    Recent
    Apr 20, 9:15 AM
    Jackie West
    Let me know if you’ve had a chance to review my…
    1
    Packaging Mock-Ups
    Apr 21, 3:30 PM
    Darryl Collier
    Let me know if you’ve had a chance to review my…
    Negotiations with Vendors
    Review Itinerary
    Go to message
    Posted by Carlos Ramirez
    Proposed Itinerary
    Trip to Spain
    5 weeks ago
    Remove
    0 / 5 Questions completed
    1. Naughty or Nice?
    2. Orderly or Spontaneous?
    3. Classy or Casual
    4. Drinking or Dancing?
    Event Planning Form
    Survey for Never-Ending Cup Launch Party
    Remove
    0 / 5 Questions completed
    1. Naughty or Nice?
    2. Orderly or Spontaneous?
    3. Classy or Casual
    4. Drinking or Dancing?
    Event Planning Form
    Survey for Never-Ending Cup Launch Party
    Remove
    0 / 5 Questions completed
    1. Naughty or Nice?
    Event Planning Form
    Survey for Never-Ending Cup Launch Party
    3
    Created Apr 15, 1:30 PM
    Thread with Bryan, Maria & Tom
    Send to Thread
    Save & Close
    Discard Draft
    Eternalize Inc
    Bryan Cook
    Globo Corp
    Maria Pham
    Funco Inc
    Tom Alvin
    Save & Close
    New Message in Launch Party Planning

    View Slide

  16. UPCOMING
    Multi-party
    conversational
    workflow experience
    CARD FLOW
    CARDSTACK
    Built on
    Apr 15, 1:25 PM
    LATEST
    Posted by Daisy Simmons
    Survey for Never-Ending Cup Laun…
    Send
    Chat with Daisy
    2
    2
    Created Apr 15, 1:15 PM
    Thread with Bryan & Daisy
    Hi Bryan, good to hear from you! Give me a little while to review and I’ll get back to you
    shortly.
    Party Planners Inc
    Apr 15, 1:20 PM
    Daisy Simmons
    By the way let me say that it was an absolute blast to plan your last event and I’m looking
    forward to working with you again!
    Party Planners Inc
    Apr 15, 1:22 PM
    Daisy Simmons
    Please fill out this quick survey so I can get a better idea of what you are looking for with
    this launch party:
    Fill Out Survey
    0 / 5 Questions completed
    1. Naughty or Nice?
    2. Orderly or Spontaneous?
    3. Classy or Casual
    4. Drinking or Dancing?
    Event Planning Form
    Survey for Never-Ending Cup Launch Party
    Party Planners Inc
    Apr 15, 1:25 PM
    Daisy Simmons
    Invalidate
    Edit
    Prioritized Latest
    Filter Unread Messages
    Search Queue
    Eternalize Inc 2 2
    Launch Party Planning
    Please fill out this quick survey so I can get a better…
    idea of what you are looking for with this launch party:
    Survey for Never-Ending Cup Launch Party
    Apr 15, 1:25 PM
    Daisy Simmons
    Launch Party Planning
    Mar 22, 9:15 AM
    Carlos Ramirez
    Let me know if you’ve had a chance to review my…
    Business Trip to Spain
    Feb 10, 1:00 PM
    Alice Waters
    The last color swatches were a little off, reference…
    New T-Shirts
    Jan 22, 6:00 PM
    Kory Livingston
    Hello Bryan, thank you for taking an interest in our…
    Charity Sponsorship
    Recent
    Add from Library
    Start a Draft
    Add Participants
    Add from Desktop

    View Slide

  17. • 100% Open-sourced (MIT)
    • Blockchain / Cloud Agnostic
    • Multiple networks on same node
    CARDSTACK
    Built on
    github.com/cardstack/cardstack
    Git Hyperledger Ethereum Elasticsearch
    Postgres Docker
    GitHub
    NodeJS
    PLUG-INS (30+)

    View Slide

  18. Registries
    Identifier
    Media
    License
    Standards
    Asset
    Property
    Ownership
    Taxonomy
    Product Company
    Name
    Built on
    CARDSTACK

    View Slide

  19. Identifier
    Media
    License
    Standards
    Asset
    Property
    Ownership
    Taxonomy
    Product Company
    Name
    CARDSTACK
    Queuing
    Threading
    Authorization
    Metering
    Indexing
    Persistence Versioning
    Signature
    Notification
    Authentication
    Automation

    View Slide

  20. S
    CARDSTACK
    Queuing
    Threading
    Authorization
    Metering
    Indexing
    Persistence Versioning
    Signature
    Notification
    Authentication
    Automation

    View Slide

  21. Identifier
    Media
    License
    Standards
    Asset
    Property
    Ownership
    Taxonomy
    Product Company
    Name

    View Slide

  22. CARDSTACK
    • How would a user interact with multiple registries in a cohesive way?
    My identity, my creations, my properties, my rights, my memberships, my rewards, etc.
    • Can a schema-driven model generate on-chain data structure and logic too?
    Code generation, deployment, versioning, migration & translation
    • Solving the unique challenges of user experience of blockchain-based networks
    Editing vs. amendment, multi-party workflows (approve/deny), transparent per-user transaction signing

    View Slide

  23. CHRIS TSE
    [email protected]
    Thank you!
    Follow me on Twitter @christse
    © 2019 CARDSTACK FOUNDATION. CARDSTACK® IS A REGISTERED TRADEMARK.

    View Slide