2
0
I am trying to implement bitcoin payments for the project I'm currently working on, and I need to create a bitcoin wallet that should be inside a USB stick. This USB stick should be at the hands of the project manager, and every developer that wants to make test bitcoin payments should ask for the USB, plug it on their computer, make a payment with that wallet and return it. Since this wallet will be filled with company money for testing purposes, we can't just use our personal wallets.
What I want to do, is having the blockchain in a shared folder in the network, in a place that it's accessible by all dev machines, and at the same time having a single wallet in the USB stick that should be usable by everyone.
So my questions are:
- Is this even possible?
- I know that I can set the data directory on Bitcoin Core with the
datadir="/data/directory/whatever"but for this to work, I'll propably need an external hard drive instead of a usb stick since this also points to the location of the blockchain. Can I somehow set the wallet folder separately from the blockchain folder? - If bitcoin-core doesn't make it, is there any other client that allows this to happen without having to use an external service?
Your plan sounds confusing and dangerous. Opening the same blockchain data files from multiple PCs (on the network) will probably quickly corrupt the files. Also running around with a USB key with money on it? (only playmoney in your case, for now...) At the very least you're increasing the risk of exposure to malware, loss, breakage and file corruption because of improper unmounting. And how are you planning on making regular backups of that USB stick? – Jannes – 2015-07-28T12:45:44.367
I don't really know how the blockchain synchronization works, so if it's not safe to use a shared blockchain, we'll just have to deal with keeping multiple instances.
Now on the "usb stick is bad" argument. What we want is a single wallet that can change hands inside the department. Are there any ways to do it? It's not as much of a deal as it sounds since it will never contain the equivalent of 10-20 Euros in bitcoin. It doesn't seem less safe than passing your physical wallet around... Are there any alternatives to that? – Loupax – 2015-07-28T13:09:50.920
1
Could you use Testnet coins for the same purpose? Since they are worthless, every developer could handle their own stash.
– Murch – 2015-07-29T09:41:12.553I sent an email to the payment provider we are working with. If they start accepting Testnet coins it will be a big step forward, but until then we don't even have a test sandbox :/ – Loupax – 2015-08-07T07:06:01.107
@Murch after a lot of nagging, the payment service provided implemented a sandbox environment that uses Testnet coins. Yay – Loupax – 2015-10-12T16:32:07.780