General Network and Wallet Configuration¶
We will work with the following IPs and open the corresponding RPC ports:
- Trusted Full Node:
- extern: internet access required
- extern: no internet access required
Let’s go into more detail how to set these up.
Trusted Full Node¶
For the trusted full node, the default settings can be used. For later, we will need to open the RPC port and listen to an IP address to connect the wallet to.
A witness node is identical to a full node if no authorized block-signing private key is provided.
We open up a RPC-JSON-HTTP port to be able to interface with API
requests. The wallet can be connected to the trusted node and listens
for RPC requests on port
./programs/cli_wallet/cli_wallet --server-rpc-endpoint="ws://192.168.0.100:8090" \ --rpc-http-endpoint="192.168.0.102:8092"
For security reasons, the wallet should only listen to localhost or the local network and should NEVER be exposed to the internet.
For customer withdrawals, we will interface to the wallet’s API using 192.168.0.102:8092.