Cherry pick wallet setting

This is a helper method that was added for the show trading setting, but would useful to have on master now (for https://github.com/stellar/stellar-client/pull/860).