MPC node
-
linkedBlockProducer
tcpEndpoint
, the TCP endpoint of a companion block producer node, used to track contract update and blockchain state updates. Has the formatbase64_pubkey:host:port
, wherebase64_pubkey
is the public key corresponding the block producer node'sexternalListenerKey
andport
is itsexternalListenerPort
.restEndpoint
, the REST endpoint the MPC node sends transactions to during runtime. The endpoint is exposed by the companion Block producer node.
-
mpcNetworkListeningAddress
, the address to listen for TCP connections used for the MPC node network. secretKeyNetwork
, the MPC node network key used for signing payloads sent between nodes.secretKeyAccount
, the private key used for signing transactions on the chain.port
, the port the MPC node listens on for outside requests. The endpoint is used for Off-chain inputs and fetching secrets directly from the MPC node.shards
, the list of shards running on the Blockchain.evmOracleChainConfigs
, the configuration for the oracles listening on an EVM chain.realPeers
the list of MPC node peers, each entry is another MPC node running secret computations and receiving secret shares to use in a computation. Each node is identified by the public key, written in Base64, with the endpoint that the node is listening on for connections with other MPC nodes, to create the network of MPC nodes. The expected format of the endpoint ishost:port
. The list must contain at least 3 entries, because at least 4 MPC nodes are required by the REAL protocol to work.storageDirectory
, the path to the folder used for storing states of the chain and the secret shares the node has received from user, or created during a computation.
Click here to view: MPC Node - Example configuration
{
"linkedBlockProducer": {
"tcpEndpoint": "AtkJd4XRxKNHzBLT1JT5QgyCxLFUgIurFzRFWbHO7w//:bc-node-0:9111",
"restEndpoint": "http://bc-node-0:9432"
},
"mpcNetworkListeningAddress": "mpc-node-0:10100",
"secretKeyNetwork": "AAA",
"secretKeyAccount": "AAAA",
"port": 8180,
"shards": [],
"evmOracleChainConfigs": [],
"realPeers": {
"A+VHax6pm2oIg3MVQno3Ubg9aFs0rMUgHlnptiOsS2lB": "mpc-node-1:10100",
"AmIteYoNeF0x0z9GDaTMjHy4SNkkYEotA3VyFaZxPXBq": "mpc-node-2:10100",
"AwQW3N+zofC+Gj/WrVL7HANOJNSMzzTRiefe3qa2WnpK": "mpc-node-3:10100"
},
"storageDirectory": "target/mpcnode0"
}