Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ddn
/
ddn-upgrade-server
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
3b4e386c
...
3b4e386cfded1e189db24f381851dcf3d1dee303
authored
2022-05-24 21:49:58 +0800
by
wulianyou
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改readme
1 parent
8ab54868
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
README.md
README.md
View file @
3b4e386
...
...
@@ -12,6 +12,7 @@ see [egg docs][egg] for more detail.
```
bash
$
npm i
$
npm run init
$
npm run dev
$
open http://localhost:7001/
```
...
...
@@ -29,5 +30,43 @@ $ npm stop
-
Use
`npm test`
to run unit test.
-
Use
`npm run autod`
to auto detect dependencies upgrade, see
[
autod
](
https://www.npmjs.com/package/autod
)
for more detail.
## 配置
1.
必须提供mem_accounts.json文件在config下配置,该文件为json数组是区块链账户结构如下
```
{ "RECORDS": [
{
"username": "",
"is_delegate": "0",
"u_isdelegate": "0",
"second_signature": "0",
"u_second_signature": "0",
"u_username": "",
"address": "DC6exGCAR24euF8fhd9abfHKQk169udiCG",
"publicKey": "41b2d3beec35225152e3daa25a489c0fb1aceecdff977b4d5fdeb8ad9df95acc",
"second_public_key": "",
"balance": "-1000000000000000000",
"u_balance": "-1000000000000000000",
"vote": "0",
"rate": "0",
"delegates": "",
"u_delegates": "",
"multisignatures": "",
"u_multisignatures": "",
"multimin": "0",
"u_multimin": "0",
"multilifetime": "0",
"u_multilifetime": "0",
"block_id": "6b914799f1ca868d561ddc15e96fc12aedd7e82648c4779e366c9b2b7bbff70fceb9dc3e337d11aca7f5e3e79e116e108924e6fe5eb036145713500478843456",
"nameexist": "0",
"u_nameexist": "0",
"producedblocks": "1",
"missedblocks": "0",
"fees": "0",
"rewards": "0",
"lock_height": "0"
}]}
```
[
egg
]:
https://eggjs.org
\ No newline at end of file
...
...
Please
register
or
sign in
to post a comment