Commit 02af10ae authored by suyanlong's avatar suyanlong

update readme.md

parent 3c087628
......@@ -11,19 +11,49 @@
1. evmxgo相关概念是与联盟链evmxgo合约,通过jsonrpc完成交互。
2. paracross相关概念是与主链,模拟平行链节点,通过grpc完成交互。
3. 目录结构如下:
```toml
```shell
root@ubuntu:~/sidecar# tree
.
├── plugins
│   ├── chain33-client-evmxgo
│   ├── chain33-client-paracross
│   ├── evmxgo
│   │   └── evmxgo.toml
│   └── paracross
│   └── paracross.toml
├── readme.md
├── sidecar
├── sidecar.toml
│   ├── chain33-client-evmxgo # 与联盟链evmxgo合约交互的服务插件。
│   ├── chain33-client-paracross # 与主链交互,模拟平行链节点的服务插件。
│   ├── evmxgo # evmxgo插件目录。
│   │   └── evmxgo.toml # 运行evmxgo插件的运行配置文件。
│   └── paracross # paracross插件目录。
│   └── paracross.toml # 运行paracross插件的运行配置文件。
├── readme.md # 使用文档说明书。
├── sidecar # 主程序。
├── sidecar.toml # 主程序的运行配置文件。
```
4、主程序命令选项:
```shell
./sidecar -h
NAME:
Sidecar - Manipulate the crosschain node
USAGE:
sidecar [global options] command [command options] [arguments...]
VERSION:
0.0.0
COMMANDS:
id Get appchain id
init Initialize sidecar local configuration
interchain Query interchain info
p2p Command about p2p
tool generate tool for node
start Start a long-running daemon process
version Show version about ap
proposals proposals manage command
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--repo value Sidecar repository path
--tls enable tls between sidecar and link33 or not
--help, -h show help
--version, -v print the version
```
## 配置evmxgo相关
### 1. 准备工作
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment