common wallet.restore() method for GUIs