Relayer

This documentation provides a comprehensive guide on using the relayer to send blob transactions through an EIP-4844 compatible blockchain. We'll use Viem, a tool designed for this purpose, to facilitate the broadcasting of Blob Transactions (Binary Large Objects) to the Ethereum network.

Introduction to Blob Transactions

Blob Transactions, introduced in Ethereum's EIP-4844, are a novel transaction type enabling the broadcast of large data payloads, known as BLObs, onto the Ethereum network. These transactions differ from standard Ethereum transactions by carrying substantial data payloads that are not directly accessible by the EVM but are instead interacted with through their commitments.

Key Points:

  • Large Payloads - Blob transactions can carry payloads much larger than traditional calldata, offering a new way to interact with the blockchain.
  • EVM Interaction - The EVM can only interact with the commitments of these blobs, not the data itself.
  • Transient Nature - Blob data is transient, lasting only for about 4096 epochs, approximately 18 days.

For further details on Blob Transactions and EIP-4844, explore the following resources:

Sending Your First Blob Transaction

To send a blob transaction using the Blobscription Relayer, you'll need to have the following prerequisites:

  • An Ethereum account with sufficient funds to cover the transaction fees.
  • The Blobscription Relayer CLI tool installed on your system.

Step 1: Install the Blobscription Relayer CLI

The Blobscription Relayer CLI is a powerful tool that allows you to interact with the Ethereum network and send blob transactions. To install the relayer.

  • Ensure you have Bun installed.
  • Execute the following commands in your terminal:
git clone github.com/
cd blobscription/relayer
bun install
  • Run the following command to start the Blobscription Relayer:
bun run relayer --data '{"p":"blrc-20","op":"deploy","tick":"blob","max":21000000,"lim":1000}'