-
Notifications
You must be signed in to change notification settings - Fork 9
Configuring a Catalyst POA Node
Currently on the POA network the catalyst peer ID and DFS peer ID are seperate. This will be changed soon however currently the node must be configured as follows:
-
Start the node and enter your node password, ipfs password, and cert password. Stop the node.
-
Find and copy your public key for later use, it should show in the console output or in the Catalyst logs like the following:
using PublicKey: 3edzejbuvme3ed4wqr5pp23if7rguoy7yddlcy3whijywzvo7lfq
-
Find your external ip address and copy it for later use: Whats My IP Address
-
Go to your home profile directory:
WINDOWS(cd %userprofile%/.catalyst)
or
LINUX / MacOS(cd ~/.catalyst)
-
Edit
devnet.json
and replace the PeerBindAddress
and the RCPBindAddress
with your internal IP address found using the commandipcconfig
on Windows andifconfig
on Unix (MacOS / Linux) using IPV4. Then replace the PeerPublicIpAddress
with your external ip address from Step 3 and replace the public key with your public key from Step 2. -
Port forward if you are behind NAT. If your internal and external IP Addresses in step 5 were different then you are behind NAT. To port forward you will have to log into your router with administrator passwords found generally on the router. The port forwards that will need to be set up are as follows : 42076(udp) 42066(tcp) 4001(tcp) / API: 5005(tcp). Here is a guide on how to port forward Port Forward.
-
If not currently in 'Catalyst.Node.POA.CE' move to this directory. Re-run your node, enter your credentials again and the node should now be running.
Catalyst Network