Skip to main content

How to configure a Data Availability Committee: Introduction

AnyTrust chains rely on an external Data Availability Committee (DAC) to store data and provide it on-demand instead of using its parent chain as the Data Availability (DA) layer. The members of the DAC run a Data Availability Server (DAS) to handle these operations.

This section offers information and a series of how-to guides to help you along the process of setting up a Data Availability Committee. These guides target two audiences: Committee members who wish to deploy a Data Availability Server, and chain owners who wish to configure their chain with the information of the Committee.

Before following the guides in this section, you should be familiar with how the AnyTrust protocol works and the role of the DAC in the protocol. Refer to Inside AnyTrust to learn more.

If you are a DAC member

Committee members will need to run a DAS. To do that, they will first need to generate a pair of keys and deploy a DAS. They may also choose to deploy an additional mirror DAS. Find more information in How to deploy a DAS and How to deploy a mirror DAS.

Here's a basic checklist of actions to complete for DAC members:

  • Deploy a DAS. Send the following information to the chain owner:
    • Public BLS key
    • The https URL for the RPC endpoint which includes some random string (e.g. das.your-chain.io/rpc/randomstring123), communicated through a secure channel
    • The https URL for the REST endpoint (e.g. das.your-chain.io/rest)
  • Deploy a mirror DAS if you want to complement your setup with a mirror DAS. Send the following information to the chain owner:
    • The https URL for the REST endpoint (e.g. das.your-chain.io/rest)

If you are a chain owner

Chain owners will need to gather the information from the committee members to craft the necessary data to update their chain and the batch poster (more information in How to configure the DAC in your chain). They might also want to test each DAS individually, by following the testing guides available in How to deploy a DAS and How to deploy a mirror DAS.

Here's a basic checklist of actions to complete for chain owners:

Ask for help

Configuring a DAC might be a complex process. If you need help setting it up, don't hesitate to ask us on Discord.