Installation
The Node Framework is currently undergoing testing and will be released soon.
Downloading the Image
$ docker pull 2pmmpc/2pm-node:latestInitializing Configuration
$ mkdir 2pm_node$ cd 2pm_node
$ docker run -it --rm -v ${PWD}:/app 2pmmpc/2pm-node:latest initModifying Configuration Files
# Blockchain node connection configuration
chain_connector:
# Address of the blockchain connector
host: "127.0.0.1"
# Port of the blockchain connector
port: 4500
# This node's public address, which will be published to the blockchain for other 2PM Node connections
node:
# Name of this node
name: "2pm_node_1"
# Public address of this node
url: "127.0.0.1:6700"
# Zero-knowledge proof service connection configuration
zk:
# Zero-knowledge proof service address
host: ""
# Zero-knowledge proof service port
port: 3400
# Listening address for this node's HTTP service, used for 2PM Task registration
api_port: 6700Launching the Node Service
Data PreparationLast updated