flashblocks

Automate X-Layer flashblock building, validation, broadcasting, and replaying.

Updated Oct 27, 2023
One-click install
npx skills add https://github.com/sieniven/dotfiles --skill flashblocks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flashblocks
Source: https://github.com/sieniven/dotfiles/tree/main/claude/skills/flashblocks
Command: npx skills add https://github.com/sieniven/dotfiles --skill flashblocks

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Flashblocks enable sub-block incremental payloads that compress confirmation time and boost sequencer throughput by splitting the block-building workload (xlayer-builder) from the RPC node (xlayer-flashblocks).

Core Features & Use Cases

  • Sub-block incremental payloads across the builder and RPC node
  • P2P broadcast with WebSocket replay and zero-reorg protection
  • Shared execution validation with a unified engine validator and overlay state

Quick Start

Start the flashblocks service and begin generating and broadcasting sub-block payloads to the builder and RPC node, with replay and zero-reorg protection.

Frequently Asked Questions about flashblocks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are flashblocks and how do they reduce L2 payload confirmation times?

Flashblocks are sub-block incremental payloads that compress confirmation time by splitting block-building workload from the RPC node, boosting sequencer throughput for near-instant L2 payloads.

How do I broadcast flashblocks over P2P with WebSocket replay and zero-reorg protection?

To broadcast flashblocks with zero-reorg protection, the service automates ordered P2P broadcasts with WebSocket replay, maintaining overlay state handling across canonical and non-canonical sequences.

How does shared engine validation work for X-Layer flashblocks across the builder and RPC node?

X-Layer flashblocks use a unified engine validator for shared execution validation, applying overlay state handling to maintain consistency across the builder and RPC node.

Can I use flashblocks to replay non-canonical sequences without causing reorgs?

Yes, flashblocks maintain zero-reorg guarantees by applying overlay state handling across canonical and non-canonical sequences during ordered P2P and WebSocket broadcasts.

Do I need an xlayer-builder to start generating sub-block incremental payloads?

Yes, generating sub-block incremental payloads requires splitting the workload between the xlayer-builder for block building and the xlayer-flashblocks RPC node for broadcasting.

What is the best way to orchestrate flashblock building and validation for near-instant L2 payloads?

The best way to orchestrate flashblocks is automating the development pipeline across the builder and RPC node, ensuring shared engine validation and zero-reorg protection during broadcasts.