Demystifying JAM - PBA6

jam-white.png

Note:


This Talk

  1. Understand what JAM is
  2. JAM's role in the broader Web3 vision

Understanding What JAM Is

aka. Demystifying JAM


Polkadot 1

Note:
Sharding enabled by the use of ELVES, and heterogeneity enabled by the use of WASM.
ELVES: Efficient Execution Auditing for Blockchains under Byzantine Assumptions


Heterogeneous Execution Sharding, with Shared Security

Let's break it down:

  1. Execution Sharding
  2. With Shared Security
  3. Heterogeneous

--

Sequential Blockchain


Notes:

--

(Poorly) Execution Sharded

--

Execution Sharded with Shared Security

Note:
Original vision of ETH 2 was to be this, with 64 shards.

--

Heterogeneous

--

Now You Get It?

Execution Sharding + With Shared Security + Heterogeneous

--

Evolution of Polkadot

... is all about flexible usage of cores


Path of a Parachain Block

--

Path of a Parachain Block

--

Path of a Parachain Block

--

Path of a Parachain Block


Note:

In the existing Polkadot, the block itself is put into the DA for further auditing.

--

Path of a Parachain Block


Notes:

--

Polkadot's Primitives

--

Polkadot's Primitives

--

Aside: Blockspace vs. Coretime

In-core, on-chain dualism is unique to execution sharding

Note:
This is why the word blockspace, despite being wildly adopted, is not very sensible in Polkadot, because we have various modes of blockpsace. This is why the word coretime is sometimes used instead of blockspace.


JAM

Now you know everything to understand JAM.

--

JAM (0)

Gutting of Polkadot such that the following are directly exposed to developers.

  1. What happens In-core
  2. What is placed in Data Availability from the core
  3. What happens On-chain

Note:

A parachain can only control what happens in-core. It cannot really control what happens on-chain. It also cannot readily add any data to the Data availability layer (well, it can, using remarks, which is a hack)

--

JAM (1)

--

JAM (2)


Removing Opinions

Note:

--

In-core and On-chain

Refine

--

Accumulate

--

JAM (Recap)

Allowing Services to program exactly how they want to use:

  1. In-core execution
  2. On-chain execution
  3. Data availability

Path of a JAM Work Package

--

Path of a JAM Work Package

Path of a JAM Work Package

Path of a JAM Work Package

--

Path of a JAM Work Package

--

Path of a JAM Work Package

JAM


PVM


JAM Misc

--

JAM Misc (1)

--

JAM Misc (2)

Screenshot 2025-04-08 at 11.28.11.png


JAM Envisioned Services

  1. CoreChains
  2. CoreVM / CoreBoot / JAMDocker
  3. CorePlay

--

CoreChains

Note: This is an example of JAM's low abstraction level

--

CoreVM

--

CorePlay

Note: This is a prime example of JAM's transient decoherence in action

--

CorePlay

jam-coreplay.png


JAM Introduction Ends

Questions?


The Web3 Vision and JAM

  1. Notes about blockchain/Web3 technology
  2. Notes about blockcha in/Web3 vision

Blockchain Technology


Blockchain Mental Models

--

Blockchain Mental Models

--

Generic Blockchain Computer

Sequential, Non-Sharded Blockchain Computer

jam-computer-single-threaded.png

--

Sharded Blockchain Computer

jam-computer-sharded.png

Note:

This model is potentially useful, if you want a lot of throughput, high customization, and don't care much about interoperability

--

JAM: Supercomputer

jam-super-computer.png

--

JAM: Supercomputer

--

JAM: Web3 Cloud


Web3 Vision

--

Web3 Vision

Personal opinion follows

--

Web3 Vision: What Are We Lacking?

Note:
We as an industry, need to have a much better understanding of what task the tool which we are building is best fitted to solve

--

Back to Basics: Secure Computation

Note:
If only I am interacting with the system? doubtful
If someone else is interacting with it, but running it my own server is enough? doubtful
Example: 1Password on a blockchain? You got something wrong there bro

--

Back to Basics: Exercise

Note:
DocusSign, Donations, Petitions, AppStore, Youtube Monetization, Public-key-infrastructure

--

Back To Basics: Other Examples


Questions


Appendix / Backup Slides

--

Kernel Update Analogy

Note:

Hardware is what provides compute and bandwidth, and the kernel is part of the OS that moderates the hardware access.
Current Polkadot. A lot of stuff is part of the "Kernel/OS".

--

--

--

Work Item

graph LR 
	subgraph WorkPackage 
		WI1[Work Item 1]
		WI2[Work Item 2]
		WI3[Work Item 3]
	end
	subgraph WorkReport
		WR1[Work Result 1]
		WR2[Work Result 2]
		WR3[Work Result 3]
	end
	
	WI1 --> WR1
	WI2 --> WR2
	WI3 --> WR3

Show Comments