./zwallet ls-miners
list the miners retrieved using the Miner smart contract. Parameters can be viewed using ./zwallet ls-miners --help
flag.--json
flag can be passed to retrieve miners as JSON data../zwallet ls-sharders
list the sharders retrieved using the Miner smart contract. Parameters can be viewed using ./zwallet ls-sharders --help
flag.--all
flag can be passed to retrieve all the available sharders where as --json
flag will retrieve sharders as JSON data../zwallet mn-config
command../zwallet mn-config
command displays the configuration and current requirements for staking../zwallet mn-info
command can be used to get staking info for a particular sharder or miner.mn-info
command can be viewed using ./zwallet mn-info --help
--id
flag requires a particular miner and sharder ID which can be fetched using the ls-miners
or ls-sharders
command. For demonstration we are using a particular miner id fetched using ls-miners
command../zwallet mn-lock
command. Parameters for locking the tokens can be viewed using the ./zwallet mn-lock --help
../zwallet mn-user-info
command can be used. Parameters for the ./zwallet mn-user-info
can be viewed using the --help
tag..zcn
directory. As mentioned above --client_id
flag is optional and if you do not specify a particular wallet client_id. It will find the stake pool related to wallet config in default wallet.json
file.--json
flag../zwallet mn-pool-info
command can be used to get stake pool info for a particular miner/sharder. Parameters can be viewed using the ./zwallet mn-pool-info --help
--id
flag requires miner/sharder ID which can be fetched using ls-miners
or ls-sharders
command,pool_id
is generated when you lock stake tokens for a miner/sharder node, you can copy the pool_id from the response text or can view it using mn-user-info
command../zwallet mn-unlock
command. Parameters for locking the tokens can be viewed using the ./zwallet mn-unlock --help
ls-miners
or ls-sharders
command whereaspool_id
is generated when you lock stake tokens for a miner/sharder node ,you can view it using mn-user-info
command../zwallet mn-update-settings
command is used to update the staking config of a node. Parameters for the command can be viewed using --help
flag.ls-miners
or ls-sharders
command. Variables that can be updated are max stake, min stake and number of delegate pools.mn-update-settings.