added api for the addition of wallets other than rpc