Shawn Tabrizi
    • 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
    • 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 Versions and GitHub Sync Note Insights 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
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    <style> .container{ display: flex; } .col{ flex: 1; } </style> # How JAM Changes the Future of Web3 --- ## Narratives Around JAM <div class="container"> <div class="col"> - Technical Specification - (Semi-)Coherency - Multiple Client Implementations - Backwards Compatible - 7x Execution </div> <div class="col"> - PVM - Actor-Based Smart Contracts - In-Core / On-Chain - 341 Cores - 14x I/O Bandwidth </div> </div> and more... --- ## The Most Important Narrative JAM evolves Polkadot from hosting just blockchains to a platform for hosting any Web3 application or service. --- ## JAM vs Polkadot What is the relationship anyway? --- ## Let's start with the basics... --- ## The Vision of Polkadot Polkadot is a vision toward a world with less trust and more truth. --- ## Principles of Web3 Web3 is the technological embodiment of "less trust and more truth". <div class="container"> <div class="col"> #### Pillars of Blockchain by Andreas Antonopoulos - Open - Public - Borderless - Neutral - Censorship Resistant </div> <div class="col"> #### Web3 Maxims by Gavin Wood - Resilience - Generality - Performance - Coherency - Accessibility </div> </div> --- ## Technology Is the First Primitive We acknowledge achieving a world with "less trust and more truth" requires more than just technology. Although, we think it is the first primitive the world needs to get started. --- ## The Mission of Polkadot Polkadot’s mission is to provide a scalable, secure, and resilient platform for Web3 applications and services. --- ## Blockchain Technology ![Blockchain)](https://hackmd.io/_uploads/BkWS_AAWyl.svg) --- ## Scaling Blockchain Technology ![Polkadot](https://hackmd.io/_uploads/BJe6qkkMyx.png =50%x) --- ## Limitations of a Block ![Block Limit](https://hackmd.io/_uploads/rygJFUR0bke.svg) --- ## Hosting Programs on a Blockchain - Smart Contracts - Blockchain Rollups --- ## Smart Contracts Smart contracts are special programs which are "aware" they are running on a blockchain. They are designed with things like gas limits to represent this. --- ## Blockchain Rollups Other blockchains are compatible because they are also designed to execute in blocks. We just need to ensure the hosted block (or representation of the block) would fit into the host chain. --- ## Blockchain Development Developing applications for blockchains has always been its own specialized practice. This creates yet another barrier to achieving a world with less trust and more truth. --- ## JAM Solves This Problem with the PVM. --- ## Introducing the PVM - Based on RISC-V - Easy to Transpile to Common Hardware - x86, x64, ARM - Near Native Speeds - Well supported by LLVM Tooling - Cheap Gas Metering - Fast Compilation - and way more... --- ## Run Regular Programs on PVM With x86 compatibility and performance, the PVM can be used to run "regular" programs. --- ## It can run DOOM! ![DOOM Video](https://hackmd.io/_uploads/Ska4gJ1Mkx.jpg) https://www.youtube.com/watch?v=uB8ckQ_87uE --- ## But how do we solve the limitations of blockchains? --- ![Continuations](https://hackmd.io/_uploads/S1l_XykMye.jpg) --- ## Program "State" (0) ![Stack 0](https://hackmd.io/_uploads/Hk_pN-Jfkg.svg =70%x) You push to the stack, or pop from it. --- ## Program "State" (1) ![Stack 1](https://hackmd.io/_uploads/rkuTNb1M1g.svg =70%x) Memory: null --- ## Program "State" (2) ![Stack 2](https://hackmd.io/_uploads/rJ_aN-kfJe.svg =70%x) Memory: null --- ## Program "State" (3) ![Stack 3](https://hackmd.io/_uploads/H1dpN-kfyl.svg =70%x) Memory: null --- ## Program "State" (4) ![Stack 4](https://hackmd.io/_uploads/rkKpNb1M1x.svg =70%x) Memory: null --- ## Program "State" (5) ![Untitled drawing(14)](https://hackmd.io/_uploads/ryt6VZkM1x.svg =70%x) Memory: null --- ## Program "State" (6) ![Stack 4](https://hackmd.io/_uploads/rkKpNb1M1x.svg =70%x) Memory: 1 --- ## Program "State" (7) ![Stack 3](https://hackmd.io/_uploads/H1dpN-kfyl.svg =70%x) Memory: 1 --- ## Program "State" (8) ![Stack 2](https://hackmd.io/_uploads/rJ_aN-kfJe.svg =70%x) Memory: 2 --- ## The Stack (9) ![Stack 1](https://hackmd.io/_uploads/rkuTNb1M1g.svg =70%x) Memory: 6 --- ## The Stack (10) ![Stack 0](https://hackmd.io/_uploads/Hk_pN-Jfkg.svg =70%x) Memory: 24 --- ## Save State With a copy of the program state at any point in the execution, you could re-start and complete the program. --- ## Emulator Save State Video game emulators have had this for a long time. ![super-mario-bros-dead](https://hackmd.io/_uploads/HkwgX-kfJx.gif =50%x) --- ## Simplified Continuations Flow 1. start the program 2. run until you run out of gas - reaching the block limit 4. save the stack, registers, and memory in DA - non-persistent memory 6. wait till next block 7. load stack, registers, and memory from DA 8. continue program execution 9. repeat until complete --- ## The Old Paradigm ![Application on Blockchain](https://hackmd.io/_uploads/Skn09bJGJg.png =70%x) --- ## The Way It Should Be ![Application on Cloud Server](https://hackmd.io/_uploads/SyfdjlJGJe.png =70%x) --- ## The JAM Way ![Blockchain Based Cloud Server](https://hackmd.io/_uploads/ryDqT-JM1e.png =70%x) --- ## Polkadot is a Web3 Cloud ![image](https://hackmd.io/_uploads/H1PIPkyG1g.png =70%x) --- ## Introducing the Polkadot Cloud The Polkadot Cloud is a secure, scalable, and resilient platform for Web3 applications and services. --- ## Polkadot Cloud Services The Polkadot Cloud offers a number of different Web3 Services such as: - Decentralized Execution Service - Settlement / Finality Service - Data Availability Service - Object Storage Service - Blockchain Hosting Service - Smart Contract Hosting Service - and more! --- ## The Polkadot Cloud Specifications With JAM, we expect the Polkadot Cloud to have: - 1023 Validators - 341 Cores - Nakamoto Coefficient > 300 - 85x Single CPU Load - 852 MB/s I/O Bandwidth - 2 Petabytes of Data Availability - 1,000,000+ Transactions per Second --- ## Let's Compare to the Web2 Cloud --- ## Decentralized Execution Service - Compared to [Amazon EC2](https://aws.amazon.com/ec2/) - EC2 = Elastic Compute Cloud - “Amazon EC2 is AWS’s service that provides secure, scalable computing capacity in the cloud.” - “Reliable and scalable infrastructure on-demand, with 99.99% availability SLA” - “purchase model to help you best match the needs of your workload” --- ## Object Storage Service - Compared to [Amazon S3](https://aws.amazon.com/s3/) - S3 = Simple Storage Service - “Amazon S3 is an object storage service offering industry-leading scalability, data availability, security, and performance.” - Benefits: - Scalability - Durability and availability - Security and data protection - Lowest price and highest performance --- ## Smart Contract Hosting Service - Compared to [AWS Lambda](https://aws.amazon.com/lambda/) - “Run code without thinking about servers or clusters” - “AWS Lambda is a serverless computing service that runs your code in response to events without requiring provisioning or management of servers. It automatically scales compute resources and you pay only for the compute time used.” --- ## This is the Web3 internet that you have been promised. --- ## JAM in One Sentence JAM evolves Polkadot from hosting just blockchains to a platform for hosting any Web3 application or service. --- ## JAM is the Beginning of the Polkadot Cloud. --- <!-- .slide: data-background-color="#4A2439" --> # Thank you! Find me anywhere: @shawntabrizi ![QR Code](https://hackmd.io/_uploads/B1bKRJyG1g.png) Presentation Link

    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