feat: support createParam
feat: docker script
This commit is contained in:
23
docker/deploy/bdcontract/cmconfig.json.template
Normal file
23
docker/deploy/bdcontract/cmconfig.json.template
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"cmi": "_CMI",
|
||||
"debug": "",
|
||||
"disableDoRepo": false,
|
||||
"disableLocalLhs": false,
|
||||
"doipCertPath": "",
|
||||
"doipLhsAddress": "",
|
||||
"doipPort": 21032,
|
||||
"doipUserHandle": "",
|
||||
"enableEventPersistence": false,
|
||||
"enableSsl": "./ssl/chained.pem:./ssl/domain.pem",
|
||||
"ip": "127.0.0.1",
|
||||
"isLAN": true,
|
||||
"overwrite": false,
|
||||
"servicePort": 21030,
|
||||
"textFileSuffixes": ".yjs,.json,.txt,.css,.js,.html,.md,.conf,.csv",
|
||||
"withBdledgerClient": "./runnable/bdledger_mac",
|
||||
"withBdledgerServer": false,
|
||||
"consistencyPlugins": "/bdcontract/nosuchlib/custom-plugin.jar",
|
||||
"startContract": [
|
||||
],
|
||||
"datachainConf": "_LEDGERHOST:_LEDGERPORT"
|
||||
}
|
||||
6
docker/deploy/bdcontract/cmvar.json
Normal file
6
docker/deploy/bdcontract/cmvar.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"_HOSTIP": "127.0.0.1",
|
||||
"_PREFIX": "macjw.zbfz",
|
||||
"_LEDGERPORT": "2401",
|
||||
"_LEDGERHOST": "bdledger"
|
||||
}
|
||||
3
docker/deploy/bdcontract/generateKeyPair.sh
Normal file
3
docker/deploy/bdcontract/generateKeyPair.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
java -cp cp/libs/*:cp/yjs.jar org.bdware.sc.SM2Helper generateKeyToFile
|
||||
java -cp cp/libs/*:cp/yjs.jar org.bdware.sc.SM2Helper generateCMConfig
|
||||
Reference in New Issue
Block a user