This document outlines the steps to become a DA Signer and run your own DA node.
DA Signer
To become a DA signer, users must have sufficient delegations to validators and register their signer information in the DASigners precompile contract. Registration can be automated by operating a DA node.
Create a config.toml file and set the following field to proper values:
log_level ="info"data_path ="./db/"# path to downloaded params folderencoder_params_dir ="params/"# grpc server listen addressgrpc_listen_address ="0.0.0.0:34000"# chain eth rpc endpointeth_rpc_endpoint ="https://rpc-testnet.0g.ai"# public grpc service socket address to register in DA contract# ip:34000 (keep same port as the grpc listen address)# or if you have dns, fill your dnssocket_address ="<public_ip/dns>:34000"# data availability contract to interact withda_entrance_address =""# deployed block number of da entrance contractstart_block_number =0# signer BLS private keysigner_bls_private_key =""# signer eth account private keysigner_eth_private_key =""# whether to enable data availability samplingenable_das ="false"
On the first run of DA node, it will register the signer information in DA contract. To generate a BLS private key if don't have:
cargo run --bin key-gen
Please keep the generated BLS private key carefully.