Step 5 : Create a wallet using zwalletcli
Last updated
Last updated
This part assumes that your sharder, and miner containers are perfectly running. In this part, we will create a wallet using zwalletcli and then start the blobber using the wallet id.
, and .
Once the wallet is created . Navigate back to the .zcn folder
Open the wallet.json
file. It should be similar to the similar to the output below:
Copy the wallet client_id
value and paste it into blobbers and validators settings. These are found in blobber/config
directory.
Navigate to the blobber config directory :
You will see blobber and validation files listed
Open both the configuration files 0chain_blobber.yaml
0chain_validator.yaml
and edit the delegate_wallet
value with client_id
copied from wallet.
Here is a sample configuration file below:
Create a network.yaml
file in your ~/.zcn
directory and add the following lines of code