Sunrise Data
Last updated
Last updated
acts as a relay server connecting the L2 chain to the Sunrise DA layer.
Requires a networked Sunrise node to operate. running Sunrise v0.3.0 or higher support Data Availability Layer.
Follow the on how to create a consensus node.
Running sunrised
See for setting up.
Clone sunrise-data repo
Create and edit config.toml
To connect to a local IPFS daemon, leave the ipfs_api_url
field empty
Change home_path
to your .sunrise directory and publisher_account
to your sunrised key's name
home_path
, keyring_backend
, publisher_account
must be entered values on your sunrised keyring.
See and set with --keyring-backend test
option.
For home_path
, enter the path where the sunrise keyring exists.
For sunrised_rpc
, it is preferable to run sunrised locally, but if this is not possible, use the published RPC. See our . A local key pair is still required in such cases.
The other fields can be left as is.
Run IPFS
Check the IPFS node ID and optionally share and add a remote peer