Skip to main content

Join the DAL as a baker, in 5 steps

The Tezos data availability layer (DAL) is a key component for the scalability of Tezos. In a nutshell, the DAL increases the data bandwidth available for Tezos Smart Rollups by providing a peer-to-peer network that they can use to fetch data without compromising security.

When users and dApps submit data to the DAL, the DAL nodes attest that it is available and distribute it to Smart Rollup nodes, which can store the data and us it.

Just like layer 1, Tezos bakers ensure the security of the DAL. Bakers not only produce blocks but also attest that other bakers' blocks are valid and properly published on layer 1. In the same way, bakers attest that data published to the DAL is available. In the current implementation of the DAL, bakers do not receive extra incentives for attesting DAL data, but they might in the future. For now, bakers can join the DAL without risking any reward loss, ensuring a smooth transition.

In this tutorial you learn how to join Weeklynet as a baker and attest the publication of data on the DAL network. This tutorial uses Weeklynet because you can get a large amount of tez quickly from its faucet, which allows your baker to get attestation rights quickly. Weeklynet is active in the Tezos protocol and therefore also available on other Tezos networks including Mainnet and Ghostnet. The steps for participating on any other network, including Tezos Mainnet, are similar, but the delay to get attestation rights is much longer on other networks.

Tutorial diagram

In this tutorial, you set up the Octez client and several Octez daemons, including a layer 1 node, a baker, and a DAL baking node. The following diagram shows these daemons with a blue background:

A diagram of the DAL architecture, with the daemons that you create in this tutorial highlighted

References

warning

This tutorial uses a very simple setup running all required daemons on the same machine. In a production environment, we advise against running a DAL attester node under the same IP address than a baker's node because the DAL node may leak the IP address and ease DOS attacks on the baker. See also the DAL documentation page on baking.