Configuring the tool
Configuration for the Züs network by default is stored in network/config.yaml
file of the zwallet github repo which we will copy to a new config.yaml
file in our local system .
Configuration File
Make a new .zcn folder in the home directory of your system
Note: For windows create a folder named .zcn at `C:\Users\<windows_username>
`path.
2. Copy config.yaml from zwalletcli repo to .zcn
directory
Open the
config.yaml
file located at$HOME/.zcn
path of your system.The contents should be similar to the file below.
Zwallet connects to the Züs network using the block_worker
field. These network details are automatically fetched from the blockWorker's network API. Preferred Blobbers are also present which you can uncomment for using specified storage providers for handling your files.
Overriding the Network
Network nodes are automatically discovered using the block_worker
provided on config file.
To override/limit the nodes used on zwallet
, create ~/.zcn/network.yaml
as shown below.
Overriding the nodes can be useful in local chain setup. In some cases, the block worker might return URLs with IP/alias only accessible within the docker network.
Last updated