drazvan (OP)
|
|
September 24, 2014, 03:12:34 PM |
|
Hello everyone,
I am looking for the smallest / least memory and processor intensive solution that would allow me to receive Bitcoin payments independently (that is without requiring a server). The app does not need to be a wallet, it simply needs to watch a given address and trigger some sort of alert when a payment is received (and possibly confirmed). I'm leaning towards bitcoinj for this (and SPV), but I was wondering if there was anything else that was even less complex / simpler to deploy.
Any ideas?
Thanks, Razvan
|
|
|
|
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
|
drazvan (OP)
|
|
September 24, 2014, 06:45:10 PM |
|
Thanks ffe, but I'm looking for something that does not require an external server. I've managed to prototype this using Bitcoinj, if anyone knows of a better/simpler solution, I'm all ears. Again, this must receive/parse transaction data from the Bitcoin network, not talk to a server.
|
|
|
|
ffe
|
|
September 24, 2014, 08:41:29 PM |
|
Not sure how compact their code is but you could look at
|
|
|
|
hhanh00
|
|
September 25, 2014, 05:18:55 AM |
|
Thanks ffe, but I'm looking for something that does not require an external server. I've managed to prototype this using Bitcoinj, if anyone knows of a better/simpler solution, I'm all ears. Again, this must receive/parse transaction data from the Bitcoin network, not talk to a server.
Coincidentally, I just wrote an app for a very similar purpose. The only difference is that it takes an Electrum public master key instead of a single address but it's much smaller than bitcoinj or anything else so you can easily modify the code for your needs. https://github.com/hhanh00/spvwallet
|
|
|
|
Dabs
Legendary
Offline
Activity: 3416
Merit: 1912
The Concierge of Crypto
|
|
September 25, 2014, 05:32:58 AM |
|
Is bitcoin core out of the question? You could import your address to a brand new wallet and just use -walletnotify. You either use an impossible password or pywallet to wipe out the private key.
|
|
|
|
drazvan (OP)
|
|
September 25, 2014, 07:30:52 PM |
|
Is bitcoin core out of the question? You could import your address to a brand new wallet and just use -walletnotify. You either use an impossible password or pywallet to wipe out the private key.
Bitcoin Core is out because of its blockchain space requirements, I only have 4GB of storage and that won't fit the current 20+ GB of the blockchain. I was able to implement it using Bitcoinj, thanks hhanh00 for your suggestion but I'm considerably more familiar with Java (your project uses Scala), so I guess I'll stick to that (and Bitcoinj). Thanks again everyone.
|
|
|
|
|
drazvan (OP)
|
|
September 26, 2014, 01:42:29 PM |
|
Thanks, but that's an Android wallet and I'm not running Android, my board is a very simple embedded Linux device (low memory, small flash, etc). As I said, I have a working solution now using Bitcoinj so I'll stick to that for now.
|
|
|
|
|