We cannot force the operator to download additional software to make gRPC calls on the operator interface to get deposit and fee addresses. The CLI should allow doing this, hence we need to introduce the operator command and respectively operator deposit and operator balance
the command operator deposit should return by default a new address for the creation of a market. If passed the --fee flag it should return the address for the fee wallet instead.
the command operator balance --fee should work in the same way returning the balance for the fee account. Semantically would be nice to have a list of balance for each market when called without flag, but would be better to add this as operator rpc, instead of calling multiple times the trader balances endpoint for each market.
We cannot force the operator to download additional software to make gRPC calls on the operator interface to get deposit and fee addresses. The CLI should allow doing this, hence we need to introduce the
operator
command and respectivelyoperator deposit
andoperator balance
the command
operator deposit
should return by default a new address for the creation of a market. If passed the--fee
flag it should return the address for the fee wallet instead.the command
operator balance --fee
should work in the same way returning the balance for the fee account. Semantically would be nice to have a list of balance for each market when called without flag, but would be better to add this as operator rpc, instead of calling multiple times the trader balances endpoint for each market.