Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Nrcewker on March 14, 2018, 09:50:25 AM



Title: Possible way to accept payment without installing Bitcoin Daemon
Post by: Nrcewker on March 14, 2018, 09:50:25 AM
Hello
i want to ask if there is any way accepting bitcoin payment without Installing Bitcoin Daemon or using any third party API like coinbase bitpay coinpayments etc ..

i see a shop http://bitfreak.info/bitshop/ they are using an method accepting payment so no need to install Daemon and other API ..

Main benifit i want if i install bitcoind on server its require more then 170GB disk which will be increasing every day so i need good server too ..

i want to save disk space . also third party apis is risky near me i cant trust on them when my money saved with anyone else

please share your ideas with me :D


Title: Re: Possible way to accept payment without installing Bitcoin Daemon
Post by: aplistir on March 14, 2018, 09:58:24 AM
i want to ask if there is any way accepting bitcoin payment without Installing Bitcoin Daemon or using any third party API like coinbase bitpay coinpayments etc ..

i see a shop http://bitfreak.info/bitshop/ they are using an method accepting payment so no need to install Daemon and other API ..

All you need for receiving payments is a bitcoin address.
You can generate addresses eg. in here: https://www.bitaddress.org (https://www.bitaddress.org)
Though, it is advisable to download the bittaddress to your own machine and generate the addresses offline to reduce risk of anyone getting a copy of them.

IF you need to generate a different address for each customer, then you should install some wallet or program that can handle it. Also you need a wallet program to be able to spend the coins you have received...

Edit: just noticed that you are an old member, so you know all that I just wrote. Maybe I misunderstood your question. Sorry


Title: Re: Possible way to accept payment without installing Bitcoin Daemon
Post by: Sellingaccs on March 14, 2018, 10:10:47 AM
Main benifit i want if i install bitcoind on server its require more then 170GB disk which will be increasing every day so i need good server too ..

Not true. You just need alot of bandwith to sync up.
You can for example setup the daemon to only use little bit of space, by creating a file like ~/.bitcoin/bitcoin.conf (assuming you use linux server, which would be the smart thing to do) and filling the file with text like this:
Code:
rpcallowip=127.0.0.1
rpcuser=somerandomstring
rpcpassword=somerandomstring
daemon=1
server=1
prune=550

That config will mean that the daemon will accept rpc calls from whatever script you are using for requesting addresses as you need some kind of script for the payments to be done. Also it will sync the whole blockchain, but only use 550MB of disk space max by compressing blocks. It will work like a normal bitcoin client for payments.

You also might want to setup your script to send all completed payments to cold storage address, so you don't have any coins to steal on the hot wallet.

Let me know if you got any more questions.


Title: Re: Possible way to accept payment without installing Bitcoin Daemon
Post by: Nrcewker on March 14, 2018, 10:57:26 AM
Main benifit i want if i install bitcoind on server its require more then 170GB disk which will be increasing every day so i need good server too ..

Not true. You just need alot of bandwith to sync up.
You can for example setup the daemon to only use little bit of space, by creating a file like ~/.bitcoin/bitcoin.conf (assuming you use linux server, which would be the smart thing to do) and filling the file with text like this:
Code:
rpcallowip=127.0.0.1
rpcuser=somerandomstring
rpcpassword=somerandomstring
daemon=1
server=1
prune=550

That config will mean that the daemon will accept rpc calls from whatever script you are using for requesting addresses as you need some kind of script for the payments to be done. Also it will sync the whole blockchain, but only use 550MB of disk space max by compressing blocks. It will work like a normal bitcoin client for payments.

You also might want to setup your script to send all completed payments to cold storage address, so you don't have any coins to steal on the hot wallet.

Let me know if you got any more questions.

its looks interesting let me try this :) THank you for replying


Title: Re: Possible way to accept payment without installing Bitcoin Daemon
Post by: btc_enigma on March 20, 2018, 06:50:09 AM
There are various ways to accepting btc payments. Feel free to look at this blog post (https://blog.blockonomics.co/top-5-bitpay-alternatives-46df15ea0c31)


Title: Re: Possible way to accept payment without installing Bitcoin Daemon
Post by: mocacinno on March 20, 2018, 06:54:15 AM
I just wanted to chime in on this discussion... There are several good alternatives to installing a bitcoin daemon:
  • Install electrum as a daemon: since it's an spv hd client, it doesn't need to sync all blocks... It's actually pretty easy to setup, you can even just import an xpub so no xprv ever touches your online machine
  • Pre-generate x private keys => public keys => addresses on an offline machine and upload the addresses to your server. This is pretty unsafe tough, since you'd have to replenish this pool all the time before it runs out, and a hacker could potentially insert his own addresses in your database if your code has bugs.
  • generate an HD wallet on your (offline) desktop, export the xpub, upload the xpub to your server, derive addresses from this xpub
  • use a "real" payment processor like bitpay
  • use an online wallet that offers an API... Altough i don't like the idear of using online wallets myself...