Rollkit
Sunrise's Data Availability Layer supports Layer 2 blockchains created using Rollkit
This is a guide to connecting an L2 chain created using Rollkit to Sunrise chain with Sunrise Data. Data Availability layer is supported in Sunrise v0.3.1-rc1 and later.
How to run Sunrise Rollkit
As an example, here is how to use Rollkit to create an L2 chain and run it on the Sunrise's Data Availability Layer.
Dependencies
Dependencies and general installation instructions for Ubuntu 22.04.
Set up Sunrise Data
Rollkit support is provided via a server included in sunrise-data. See Rollkit documentation for the role of the DA server.
See Sunrise Data document to set it up. By default, the GRPC server for Rollkit support listens on port 7980.
Run Rollkit
Clone rollkit repo
Start rollkit chain Use
--rollkit.da_address
option to connect to the DA server. The other port specification options are used to avoid conflicts when running sunrised locally. See Rollkit documentation for other chain configuration.Work
Links
Last updated