-
Notifications
You must be signed in to change notification settings - Fork 19
Configure network
Harshit Mehndiratta edited this page Nov 19, 2023
·
1 revision
The config.yaml file and all the Züs related information will be stored in a .zcn folder located in the home directory of the file system.
- Open terminal and make a new .zcn folder in the home linux and mac directory using the command below:
mkdir $HOME/.zcn
Note: For windows create a folder named .zcn at C:\Users\<windows_username>path.
- Copy contents of config.yaml from zboxcli repo network directory to a new config.yaml file using the command below:
cp network/config.yaml $HOME/.zcn/config.yaml
- To verify whether the config.yaml exists and network configuration is stored properly. Check the config.yaml details using the command
cat config.yaml
Response:
---
block_worker: https://demo.zus.network/dns
signature_scheme: bls0chain
min_submit: 50
min_confirmation: 50
confirmation_chain_length: 3
max_txn_query: 5
query_sleep_time: 5
# # OPTIONAL - Uncomment to use/ Add more if you want
# preferred_blobbers:
# - http://one.devnet-0chain.net:31051
# - http://one.devnet-0chain.net:31052
# - http://one.devnet-0chain.net:31053
Zbox 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.
Note: A block worker URL is a field that require the URL of blockchain network you want to connect to. Change the default value of block_worker field with the following: http://198.18.0.98:9091/ for the local testnet.