Sunrise OP DA Server connects the L2 blockchain to Sunrise's Data Availability Layer. Currently, L2 chains created in the OP Stack are supported.
See OP Stack for L2 chain side configuration.
The Sunrise OP DA Server works by connecting to the Sunrise Data endpoint. See Sunrise Data document to set it up.
-
Clone sunrise-op-da-server repo
cd ~ git clone https://github.com/sunriselayer/sunrise-op-da-server.git cd sunrise-op-da-server make install
-
Start DA Server
da-server --sunrise.server=http://localhost:8000 \ --sunrise.data_shard_count=10 \ --sunrise.parity_shard_count=10