Pages:
Author

Topic: What's the best api to use for bitcoin payment project (Read 2351 times)

sr. member
Activity: 266
Merit: 250
From what i can see on block.io, it's not possible to have webhooks on payment reception unless i go on a paid plan (30$ / month), am i right ?

Hi,

I want my users to deposit btc funds into their accounts on my website, am exploring 2 ways to do it:

  • Embedding bitcoind into my server: most trustable, but needs 80Gb Disk and 2G of ram for it, and python libs are complex/undocumented
  • Relying on blockchain.info wallet api: simple and quick time-to-market, but they are slow at reponding to my request for an api key access

What do you think guys ?

I used the block.io api in a project recently, pretty easy to use.
Also they only use multi-signature addresses for added security which is nice.
Check it out: http://block.io/api

Yeah but you could always try using the web socket they provide.
https://www.block.io/docs/notifications


ZonedOutSpace you are a liar
legendary
Activity: 938
Merit: 1002
Bitcoind. If you're gonna be handling a large sum of money, use bitcoind. Most servers will come with 80gb of storage, anyway.

If you're not gonna be handling much money, host a pruning node.
full member
Activity: 140
Merit: 100
DEGEN Future Traders
Hello,

You can use bitpay to integrate bitcoin as payment method on your site or in a project.

i dont like bitpay  ; P

i had some troubles with they faucet scrpt, and they never gaveme my coins back.

i was checking xapo like wallet an vault.

i thing that could be better.
hero member
Activity: 896
Merit: 502
Hello,

You can use bitpay to integrate bitcoin as payment method on your site or in a project.
hero member
Activity: 644
Merit: 500
Hi,

I want my users to deposit btc funds into their accounts on my website, am exploring 2 ways to do it:

  • Embedding bitcoind into my server: most trustable, but needs 80Gb Disk and 2G of ram for it, and python libs are complex/undocumented
  • Relying on blockchain.info wallet api: simple and quick time-to-market, but they are slow at reponding to my request for an api key access

What do you think guys ?

You could run a pruning node and not need the whole 80 GB of disk space, supposing that you don't care about having record of Satoshi giving Hal his first Bitcoins, and just want generate and monitor new addresses on the blockchain.
hero member
Activity: 699
Merit: 501
The best API to use?

Okay let me break-down my own opinion.


I'm considering bitcoind on VPS which is pretty cheap (~10$) and secure, but you would need to download the whole blockchain, maintain and configure any networking issues.

I would use blockchain.info (since it is one of the most secure) but their free service is heavily used and sometimes overloaded with API request... so i wouldn't want to add to the load or have any request timeouts/shortages impact any of my services.

I would use blockr.io but their services are just too damn expensive when compared to a simple VPS hosting solutions.

All of this leads me to blocktrail.com which is currently my favorite. Like blockchain.info, they are set out to help the Bitcoin ecosystem, by providing simplified, free, and secure API services, which is always good thing. They are popular, maybe not as much as blockchain.info, but thats good for me since they'll probably be less likely to be overloaded with GET/POST requests from servers/clients.

If the service doesn't create wallets or send bitcoins, but, requires an API which can help it explore the blockchain, my recommendation would be blockexplorer
member
Activity: 114
Merit: 10
While using bitcoind json rpc api, is there anyway to get a callback when an address receives a transaction ? or should i keep polling the api asking for new transactions ? if the latter, i guess i'll do too much i/o traffic when waiting for transactions from 200 users ...

any recommendation for a good hosting with such a disk space ? and i guess i dont need too much cpu as you do, did you take such config after studying your requirements ?

I see people running bitcoind on beaglebones with 512 ram, they say it's working, so am trying to calibrate the best config with the right cost for me ...

I actually run a hosting company (which is currently under re-development and in the future will be creating custom cryptocurrency imaged servers for renting). This was just a spare VPS I had for testing but I'll be using this to collect data off in the future.
legendary
Activity: 2424
Merit: 1148
any recommendation for a good hosting with such a disk space ? and i guess i dont need too much cpu as you do, did you take such config after studying your requirements ?

I see people running bitcoind on beaglebones with 512 ram, they say it's working, so am trying to calibrate the best config with the right cost for me ...

I actually run a hosting company (which is currently under re-development and in the future will be creating custom cryptocurrency imaged servers for renting). This was just a spare VPS I had for testing but I'll be using this to collect data off in the future.
member
Activity: 114
Merit: 10
any recommendation for a good hosting with such a disk space ? and i guess i dont need too much cpu as you do, did you take such config after studying your requirements ?

I see people running bitcoind on beaglebones with 512 ram, they say it's working, so am trying to calibrate the best config with the right cost for me ...

What about sizing ? how much resources (ram, cpu and disk) you allocate for bitcoind ?


For the test bitcoind system I run, i have it on a 4GB, 100GB and a 3.1 GHz (4 vCores) VPS. I could collect some statistics if you like give you an idea of usage.
legendary
Activity: 2424
Merit: 1148
What about sizing ? how much resources (ram, cpu and disk) you allocate for bitcoind ?


For the test bitcoind system I run, i have it on a 4GB, 100GB and a 3.1 GHz (4 vCores) VPS. I could collect some statistics if you like give you an idea of usage.
legendary
Activity: 1988
Merit: 1317
Get your game girl
I have similar idea, collect payments (or at least, monitor bitcoin addresses to check if they've received payment), and am downloading the blockchain as we speak. No offense to the guys at blockchain.info, they did great work originally (or maybe because there weren't any other options back then), but there have been enough lapses with them and other services... seems much more straight forward to simply check the payment status yourself.

The problem with blockchain.info's API is ,they have restricted their free stuff to only limited volume.If you want to access the private API ,you need to get a key from them which can be only given after verification of your project.90% of the times you're rejected.However good part is ,you don't need to depend on them,explore a bit about block.io ,their API seems equally good.
hero member
Activity: 644
Merit: 500
I have similar idea, collect payments (or at least, monitor bitcoin addresses to check if they've received payment), and am downloading the blockchain as we speak. No offense to the guys at blockchain.info, they did great work originally (or maybe because there weren't any other options back then), but there have been enough lapses with them and other services... seems much more straight forward to simply check the payment status yourself.
member
Activity: 114
Merit: 10
What about sizing ? how much resources (ram, cpu and disk) you allocate for bitcoind ?

Hi,

I want my users to deposit btc funds into their accounts on my website, am exploring 2 ways to do it:

  • Embedding bitcoind into my server: most trustable, but needs 80Gb Disk and 2G of ram for it, and python libs are complex/undocumented
  • Relying on blockchain.info wallet api: simple and quick time-to-market, but they are slow at reponding to my request for an api key access

What do you think guys ?

I use bitcoind for my projects, if you build your system correctly you are only relying on yourself no other third party (Maybe besides the VPS provider). This is the only way I would do it with any project now for the future as I know we have complete control over usage.
legendary
Activity: 2424
Merit: 1148
Hi,

I want my users to deposit btc funds into their accounts on my website, am exploring 2 ways to do it:

  • Embedding bitcoind into my server: most trustable, but needs 80Gb Disk and 2G of ram for it, and python libs are complex/undocumented
  • Relying on blockchain.info wallet api: simple and quick time-to-market, but they are slow at reponding to my request for an api key access

What do you think guys ?

I use bitcoind for my projects, if you build your system correctly you are only relying on yourself no other third party (Maybe besides the VPS provider). This is the only way I would do it with any project now for the future as I know we have complete control over usage.
sr. member
Activity: 280
Merit: 250
From Russia with love
From what i can see on block.io, it's not possible to have webhooks on payment reception unless i go on a paid plan (30$ / month), am i right ?

Hi,

I want my users to deposit btc funds into their accounts on my website, am exploring 2 ways to do it:

  • Embedding bitcoind into my server: most trustable, but needs 80Gb Disk and 2G of ram for it, and python libs are complex/undocumented
  • Relying on blockchain.info wallet api: simple and quick time-to-market, but they are slow at reponding to my request for an api key access

What do you think guys ?

I used the block.io api in a project recently, pretty easy to use.
Also they only use multi-signature addresses for added security which is nice.
Check it out: http://block.io/api

Yeah but you could always try using the web socket they provide.
https://www.block.io/docs/notifications
member
Activity: 114
Merit: 10
From what i can see on block.io, it's not possible to have webhooks on payment reception unless i go on a paid plan (30$ / month), am i right ?

Hi,

I want my users to deposit btc funds into their accounts on my website, am exploring 2 ways to do it:

  • Embedding bitcoind into my server: most trustable, but needs 80Gb Disk and 2G of ram for it, and python libs are complex/undocumented
  • Relying on blockchain.info wallet api: simple and quick time-to-market, but they are slow at reponding to my request for an api key access

What do you think guys ?

I used the block.io api in a project recently, pretty easy to use.
Also they only use multi-signature addresses for added security which is nice.
Check it out: http://block.io/api
member
Activity: 114
Merit: 10
@cloverme using bitcoind has extra footprint on server (ram & disk), this is not good for small to average size projects ..

I think am going to rely on block.io
legendary
Activity: 1512
Merit: 1057
SpacePirate.io
What are you using for bitcoinstarter.com by the way ?

I'm using bitcoin core (bitcoind), it provides everything I need it to do for certain tasks (that don't require deposits), like getreceivedbyaddress() and such.  Everything you need to connect a web app to bitcoin is pretty much here: https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)

Let us know how you come along with your project!  Cool

sr. member
Activity: 280
Merit: 250
From Russia with love
Hi,

I want my users to deposit btc funds into their accounts on my website, am exploring 2 ways to do it:

  • Embedding bitcoind into my server: most trustable, but needs 80Gb Disk and 2G of ram for it, and python libs are complex/undocumented
  • Relying on blockchain.info wallet api: simple and quick time-to-market, but they are slow at reponding to my request for an api key access

What do you think guys ?

I used the block.io api in a project recently, pretty easy to use.
Also they only use multi-signature addresses for added security which is nice.
Check it out: http://block.io/api
member
Activity: 114
Merit: 10
What are you using for bitcoinstarter.com by the way ?


Hi,

I want my users to deposit btc funds into their accounts on my website, am exploring 2 ways to do it:

  • Embedding bitcoind into my server: most trustable, but needs 80Gb Disk and 2G of ram for it, and python libs are complex/undocumented
  • Relying on blockchain.info wallet api: simple and quick time-to-market, but they are slow at reponding to my request for an api key access

What do you think guys ?

Avoid blockchain.info, they have some limits on API access and they've had a lot of security issues in the past.  Be very careful with handling Bitcoins on behalf of other people. If you're using a virtual private server, consider some of the following:
  • You may exceed disk i/o with some providers when storing/accessing the blockchain on your server
  • Disable root access for remote access (ssh, etc). Create a low-priv account. Create an rsa-key pair for root.
  • Enable whole disk encryption (remember to backup, could impact performance)
  • Don't use a hot wallet, allow users to deposit funds into offline wallet that's air gapped or paper wallet. Monitor addresses for deposits.
  • Don't keep any wallet on the same system as your webserver or database, encrypt the traffic between your web services and your wallet.
  • Backup, backup, backup, encrypt, encrypt, encrypt.
  • Use Qualys to scan your system for vulnerabilities
  • Review best practices over at for manging cryptocurrency https://cryptoconsortium.org/standards/CCSS
Pages:
Jump to: