This is a transit station that is compatible with OP, EigenDA and other DA projects that can support MultiAdaptiveClient DA services
First of all,you should git clone this repository in your local place.
git clone https://github.com/MultiAdaptive/transitStation.git
You should set the config yaml file like this example :
config.yaml
server_address: ":8080"
private_key: "your_privatekey"
node_group: "your_node_group_here"
namespace: "your_namespace_here"
log_level: "info" # the value can be debug, info, warn, error, or fatal
chainID: 11155111
url: "the eth net scan url "
As a user who want to use this transitStation get the NodeGroup
or NameSpace
parames is necessory, you can use this Tools by this url: multiAdaptive-cli.
NodeGroup: A group of broadcast nodes, with a specified minimum number of signatures required. The broadcast node is responsible for receiving and signing the data, and then forwarding the data.
NameSpace: A group of storage nodes. Storage nodes store data for a long time.
make build
- Run multiAdaptive-cli
./build/multiAdaptive-cli -privateKey="<your privateKey>" -advanced
- Select Register NodeGroup.
- Enter the list of broadcast node addresses, separated by commas.
- Enter the minimum number of signatures.
- Obtain the nodeGroupKey (used for advanced testing).
- Run multiAdaptive-cli
./build/multiAdaptive-cli -privateKey="<your privateKey>" -advanced
- Select Register NameSpace.
- Enter the list of storage node addresses, separated by commas.
- Obtain the nameSpaceKey (used for advanced testing).
Use the command ‘make’ on your terminal in the path of transitStation folder.
This is a transit station that is compatible with OP, EigenDA and other DA projects that can support MultiAdaptiveClient DA services
Usage:
transitStation [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
help Help about any command
start Start the relay server
Flags:
--config string config file (default is $HOME/.transitStationConfig.yaml)
-h, --help help for transitStation
Use "transitStation [command] --help" for more information about a command.
ps:
This is an example for how to start the implementation procedures.
cd transitStation/build
./transitStation --config $HOME/.transitStationConfig.yaml start