I want to accept bitcoin on my raspberry pi

1

1

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?

user2189362

Posted 2015-01-25T20:45:47.337

Reputation: 11

Do you trust third party services to report your payments?David Schwartz 2015-01-26T01:28:00.903

@DavidSchwartz I would rather not but if I have to I will to get it workinguser2189362 2015-01-26T05:38:32.817

2Then you can use a service like blockchain.info to detect payments. Use a cold wallet to receive them.David Schwartz 2015-01-26T08:58:41.537

@DavidSchwartz Ok that works for me can you write a full answer explaining it completely?user2189362 2015-01-27T01:04:08.640

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 websiteBen P. Dorsi-Todaro 2015-01-28T18:15:41.420

@BenP.Dorsi-Todaro Yes it is a LAMP server. Your method won't work because I need to verify the identity of the person who transfers the money so I can be sure that they paid.user2189362 2015-01-29T02:50:53.190

If you have sqlite on the server you can store multiple addresses in the database, create simple login system that assigns an address from the one table to each user who logins in.Ben P. Dorsi-Todaro 2015-02-01T14:54:26.903

Answers

1

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.

YoMismo

Posted 2015-01-25T20:45:47.337

Reputation: 484

I believe the asker wants to accept payments, which generally requires generating multiple addresses and detecting payments to them.Nick ODell 2015-01-28T17:47:44.780

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 2015-01-28T22:00:26.097

"and detect payments to them"Nick ODell 2015-01-28T22:01:32.763

As I stated in my answer detecting payments is as simple as querying blockchain, he still doesn't need bitcoind.YoMismo 2015-01-28T22:02:54.043

0

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.

Jimmy Song

Posted 2015-01-25T20:45:47.337

Reputation: 7 067