Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sidecar-client-chain33
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
sidecar-client-chain33
Commits
5ffe4284
Commit
5ffe4284
authored
Apr 22, 2022
by
suyanlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update dep and readme.md
parent
c03a49ba
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
readme.md
build/readme.md
+6
-6
go.mod
go.mod
+0
-0
go.sum
go.sum
+0
-0
No files found.
build/readme.md
View file @
5ffe4284
...
...
@@ -17,7 +17,7 @@
"execer"
:
"manage"
,
"actionName"
:
"Modify"
,
"payload"
:
{
"key"
:
"evmxgo-mint-BTY"
,
"key"
:
"evmxgo-mint-
map-
BTY"
,
"value"
:
"{
\"
address
\"
:
\"
1DXXnGX9w1QG9S2iNTGne1CjPfaiieiHH
\"
,
\"
precision
\"
: 8,
\"
introduction
\"
:
\"
介绍
\"
}"
,
"op"
:
"add"
,
"addr"
:
"1DXXnGX9w1QG9S2iNTGne1CjPfaiieiHH"
...
...
@@ -30,7 +30,7 @@
具体如何创建平行链,可以咨询马老师,或者熟悉之人。
## 初始化`sidecar`环境
/
home/root/sidecar/sidecar --repo /home
/root/sidecar/ init
/
root/sidecar/sidecar --repo
/root/sidecar/ init
## 修改`sidecar`运行配置文件
删除所有
[
[appchains
]
]信息,再追加以下信息:
...
...
@@ -58,11 +58,11 @@ plugin_id = "evmxgo"
修改plugins/evmxgo/evmxgo.toml文件信息,具体见文件。
## 运行程序
/
home/root/sidecar/sidecar --repo /home
/root/sidecar/ start
/
root/sidecar/sidecar --repo
/root/sidecar/ start
## 系统守护模式运行
```
shell
cat
/lib/systemd/system/sidecar.service
vim
/lib/systemd/system/sidecar.service
```
```
shell
...
...
@@ -76,8 +76,8 @@ Type=simple
User
=
nobody
Restart
=
on-failure
RestartSec
=
5s
ExecStart
=
/
home/root/sidecar/sidecar
--repo
/home
/root/sidecar/ start
ExecReload
=
/
home/root/sidecar/sidecar
--repo
/home
/root/sidecar/ start
ExecStart
=
/
root/sidecar/sidecar
--repo
/root/sidecar/ start
ExecReload
=
/
root/sidecar/sidecar
--repo
/root/sidecar/ start
LimitNOFILE
=
1048576
[
Install]
WantedBy
=
multi-user.target
...
...
go.mod
View file @
5ffe4284
This diff is collapsed.
Click to expand it.
go.sum
View file @
5ffe4284
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment