-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run Wasabi in "Portable mode" from USB #763
Comments
Concept ACK, the implementor must be extremely careful, for the reasons pointed out in our Reddit conversation. |
For linux the user can implement this by creating a symolic link |
What would happen to the wallet file by that? Wouldn't that make it inaccessible or even worse, deleted? |
Well, I assume Wasabi users are smart enough to don't delete their wallets. Anyway, my point is we don't need to do anything special to have this "portable mode" thing and users can do it by themselves. This is what I did in my env: $ sudo mkdir -p /media/usb
$ sudo mount -t tmpfs -o size=512M tmpfs /media/usb/ <--- this is a RAM disk but it could also be a usb stick
$ ln -s /media/usb ~/.walletwasabi
$ ./wassabee And that's all what a user needs for having a portable wallets using as many usbs/sd cards as he/she wants. |
@lontivero true, which means that is the solution, so no need to implement any setting? |
@wasaw936 It's still a good idea, so I'd leave this issue open. |
It depends. Linux users that feel comfortable with CLI (few people) don't need it by sure. The rest could find useful to have that feature built-in Wasabi Wallet. |
I realized that its better to go ahead with this implementation rather than having a link, because say for example you dismount your USB/media, the link is left in the $HOME folder (broken) but shown to link to your USB - this is not good if you don't want to keep any traces on the PC, that's the whole point of "Portable Mode" As for this method being prone to lost or deleted wallets, user should backup wallets and files no matter the media device it sits on. So that's the user's responsibility at the end of the day. My question is @nopara73 will there be any permission issues (as you stated in reddit post) in moving the files over to a media device of choice? (i wouldn't think so since settings are usually in the $HOME folder) |
I don't know how that works, I've just been surprised by Linux permissions too many times to assume everything'll work as expected. |
I have mocked up a potential workflow of backing up and restoring wallets to help further this discussion. This is for the Windows version Storing Wasabi Wallet Externally Transactions/Main/WalletNameTransactions.json Copy these files to an archive w/ directory structure Restoring a wallet: Things that could be added: Things that need research: Please leave any comments on this idea, specifically if I correctly found all of the files needed to restore a wallet from a fresh install. Also where can I find the setting for the working directory? (Currently AppData/Roaming/WalletWasabi/) Thanks! |
My previous post was more for someone who wants to have wasabi installed, but wants to manually move and restore their wallet from another location. I have tried moving the wasabi install (Program Files...) to a flash drive and it seems to work. Though I cannot find the config setting for the wallet and config files directory. I think all that would be needed to make it portable would be the ability to change your data directory. |
Thanks @JuniperTonic this will be very helpful. Another issue I have in mind that could be problematic. Users should specify the data folder in the Maybe the only clean solution would be to maintain and distribute portable versions and have the data folder next to the executable. That's just one line of code. I'm not sure I'd like to maintain such a thing, testing these would add 2-3 hours to the release process. Or maybe we could maintain a In Windows there are no permission issues, as long as the user doesn't put it into a system directory, which I cannot imagine how would happen. In Linux/OSX we could add an instruction "make sure you make the datadir writeable by the user" or something like that and we're done. |
Just a quick summary on the status I recently wrote about this issue for anyone looking at it:
|
I don't see why we couldn't just do https://old.reddit.com/r/WasabiWallet/comments/bepivw/custom_wallet_dir_location/ |
Any news on this? I really need a portable version on Windows. I use many portable programs (natively portable' ones, those made with Turbo Studio, those made with WMware Thinapp, etc.) and put them in directories with write permissions (portable: application files and user data are stored together). Of course natively portable' ones are better (no extra process-launcher in ram), e.g.: Nirsoft's programs and many others. @nopara73: the --datadir parameter (mentioned by lontivero) It would already be a good step. Thanks |
PR #1368 was reverted almost immediately because it ruined stuff. Also I NACK this feature for the reasons described here: #1415 (comment) Another new issue came to my mind with this: it'd ruin our backward compatibility migrations. |
Actually, we do have a step by step instruction + script on how to use Wasabi on Tails, which I think solves your issue, right? |
Unfortunately no, I need it for windows Best regards. |
From the .tar.gz simply running ./wassabee on Ubuntu Linux which opened up the wallet perfectly. But it would be great for this to work in portable mode, like to run from a USB.
Current settings in ~/.walletwasabi
Settings option can be implemented to "Change to Portable Mode" and redirects settings folder to USB folder that the user chooses.
Would this really cause permission issues? what kinds of permission issues?
By the way, great work with Wasabi Wallet, keep it up!
The text was updated successfully, but these errors were encountered: