Skip to content

Gavin Wood Talk at Token2049: JAM, the future of Polkadot.

In his speech at TOKEN2049 Dubai 2024, Dr. Gavin Wood, founder of Polkadot, unveiled JAM, a significant upgrade designed to propel Polkadot towards a scalable and feature-rich future.

The Join-Accumulate-Machine (JAM) represents a groundbreaking shift in blockchain technology, promising to redefine the operational mechanics and scalability of networks like Polkadot. Conceived by Gavin Wood, JAM is envisioned as a successor to Polkadot’s relay chain, focusing on improved efficiency and a more generic, less dogmatic framework.

Concept and Design of JAM

JAM operates on a simplified computational model known as “Collect, Refine, Join, Accumulate”, abbreviated as CoreJAM. In practice, the JAM chain only employs the “Join” and “Accumulate” processes directly on the chain, delegating “Collect” and “Refine” to off-chain activities. This division of labor seeks to optimize processing efficiency and system responsiveness.

One of the significant changes in the introduction of JAM is its implementation as a single comprehensive update, rather than a series of iterative updates. This approach avoids the frequent minor tweaks and compatibility issues seen with current blockchain technologies and ensures a more stable and predictable upgrade path.

JAM: Specific Chain for Roll-ups

JAM is designed specifically to manage roll-ups, focusing particularly on what is known in Ethereum as optimistic roll-ups. This design choice allows JAM to seamlessly integrate the results of decentralized calculations, maintaining a shared state similar to how the Polkadot Relay Chain currently works.

Similarities with Smart Contracts

Despite its unique structure, JAM shares several characteristics with traditional smart contract chains:

  • Permissionless Interaction: Code execution and state changes do not require permissions or external approvals.
  • Modular State Organization: The states within JAM are encapsulated in what are called “services”, each containing its code and balance, reminiscent of smart contracts.

JAM Key Features

  1. Refine Function: Handles stateless computation, transforming the input data into a more compact form, ready for integration into the state of the chain.
  2. Accumulate Function: This function integrates the outputs of the Refine function into the overall state of the service, maintaining the continuity and integrity of the blockchain ledger.
  3. OnTransfer Function: Manages interactions between different services, facilitating asynchronous communication and status updates through the blockchain.

Benefits of JAM

  1. Increased Scalability: JAM allows Polkadot to handle a much higher volume of transactions, overcoming a major hurdle for blockchain adoption.
  2. Flexibility: JAM can not only handle transactions but also host various services, including the core functionality of the Relay Chain itself. This opens doors for future innovations on the Polkadot network.
  3. Improved Efficiency: JAM offers a more efficient way to process data by distilling information from parachains (individual blockchains connected to Polkadot) before final processing.

Improved Safety and Efficiency

JAM introduces a new security framework using extrinsic information types such as Guarantees, Assurances and Judgments to ensure the integrity and accuracy of calculations. Additionally, the chain architecture allows for significant data compression and efficient processing, with Refine handling up to 5 MB of data and producing a maximum of 4 kB of output.

The Polkadot Virtual Machine (PVM)

At the heart of JAM’s processing capabilities is the Polkadot Virtual Machine (PVM), based on the RISC-V ISA. This system provides a simple, secure and deterministic environment for executing code, distinguishing itself from other virtual machines by its simple and less dogmatic design.

Networks and Block Production

JAM uses the QUIC protocol for networks, allowing direct and efficient connections between nodes. The blockchain employs a block production algorithm called SAFROLE, focused on simplicity and security, which is crucial to maintaining anonymity and minimizing forks in block production.

Future Perspectives and Improvements

Looking ahead, JAM aims to support a wide range of applications and services, leveraging its generic framework

What is the future of Polkadot now?

JAM will replace the relay chain. #Polkadot will always be Polkadot (just more generalized and service/aggregate focused), and the only way to interact with it will be with #DOT. There will be no new token!

Key takeaways from Gavin Wood’s JAM presentation at #TOKEN2049

  1. JAM protocol specification will be finalized by the end of the year.
  2. This protocol will replace the Polkadot relay chain.
  3. The Polkadot Fellowship will be responsible for developing and implementing that protocol.
  4. Goal: at least 3 independent implementations of the specification.
  5. 10 million DOT dollars allocated to the teams working on this.