I have a web server running on a raspberry pi and I want to accept bitcoins. I have very little disk space so I don't have room to install bitcoind. I don't trust any third party services to process my payments so that wont work. Is it possible to accept bitcoins with my setup?

  • Do you trust third party services to report your payments? Jan 26 '15 at 1:28
  • @DavidSchwartz I would rather not but if I have to I will to get it working Jan 26 '15 at 5:38
  • 2
    Then you can use a service like blockchain.info to detect payments. Use a cold wallet to receive them. Jan 26 '15 at 8:58
  • @DavidSchwartz Ok that works for me can you write a full answer explaining it completely? Jan 27 '15 at 1:04
  • When you say web server I'm assuming like a LAMP server that host websites. I'm aware that there are different types of servers but web server makes me think of a LAMP like server. That being said why don't you just use a bitcoin address from a wallet from another computer and put it on the website Jan 28 '15 at 18:15

Any special situation for you to want your wallet IN your rapberry? A wallet doesn't need to be in a physical machine, actually it can be in a sheet of paper (cold wallet). So if you don't need your server to do anything special with those coins you can just create a paper wallet, and if what you really want is to check if you receive coins, you only have to check from your raspberry your wallet's public key in blockchain to see how many coins has it received.

If you want to create a wallet, you can use vanitygen. Keep the public and private keys in a safe place and you are ready to go. The day you need to move those coins you will need to install bitcoin-qt wherever you want and import your private key to the default wallet created by bitcoin-qt. Once you've done that you can operate with your coins from that place.

  • I believe the asker wants to accept payments, which generally requires generating multiple addresses and detecting payments to them.
    – Nick ODell
    Jan 28 '15 at 17:47
  • The answer serves that purpose too. If he uses vanitygen or any other key generator in his raspberry he can generate addresses dynamically and he doesn't need to have bitcoind running. Of course that method is risky in case his raspberry is compromised.
    – YoMismo
    Jan 28 '15 at 22:00
  • "and detect payments to them"
    – Nick ODell
    Jan 28 '15 at 22:01
  • As I stated in my answer detecting payments is as simple as querying blockchain, he still doesn't need bitcoind.
    – YoMismo
    Jan 28 '15 at 22:02

You would need an SPV wallet in order to receive bitcoins. The only one I know of that's SPV and runs on Raspberry Pi is this Pi-Wallet, which uses electrum servers to detect payments: http://www.pi-wallet.com/pages/free-stuff

Note that it uses the Armory offline wallet built for Raspberry Pi to actually generate addresses.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.