Chain Connector Configuration
Downloading the Image
$ docker pull 2pmmpc/2pm-chain-connector:latestInitializing Configuration
$ mkdir 2pm_chain_connector$ cd 2pm_chain_connector
$ docker run -it --rm -v ${PWD}:/app 2pmmpc/2pm-chain-connector:latest initModifying the Configuration File
{
"log": {
"level": "debug"
},
"impl": "chain",
"host": "0.0.0.0",
"port": 4500,
"evm": {
"nodeAddress": "YOUR_PUBLIC_KEY",
"privateKey": "YOUR_PRIVATE_KEY",
"provider": "ws://localhost:8545",
"gasPrice": "CHAIN_GAS_PRICE",
"gasLimit": "CHAIN_GAS_LIMIT",
"chainParam": {
"chainId": "CHAIN_ID",
"name": ""
},
"identity": {
"contractAddress": "REPLACE_WITH_REAL_ADDRESS"
},
"hfl": {
"contractAddress": "REPLACE_WITH_REAL_ADDRESS"
},
"datahub": {
"contractAddress": "REPLACE_WITH_REAL_ADDRESS"
},
"hlr": {
"contractAddress": "REPLACE_WITH_REAL_ADDRESS",
"verifiers": {
"3": "REPLACE_WITH_REAL_ADDRESS"
}
}
}
}Last updated