<blockquote>
  <p>I do not want to use third party services or APIs like Blockchain o
  Coinbase. I do not want to download and process all the Blockchain.</p>
</blockquote>

<p>If you don't want to use 3rd party APIs, you should have your own node which requires downloaded the full blockchain. There's blockchain torrent <a href="https://bitcoin.org/bin/block-chain/" rel="nofollow">https://bitcoin.org/bin/block-chain/</a> that speeds up the download process, and there's advanced Bitcoin node libraries like <a href="http://bitcore.io" rel="nofollow">http://bitcore.io</a> that integrate with Bitcoin core.</p>

<p>There's more reliable blockchain as a service like BlockCypher <a href="https://dev.blockcypher.com" rel="nofollow">https://dev.blockcypher.com</a> which is programming language agnostic. I use it all the time and I am satisfied.</p>

CC BY-SA 3.0
2016-08-23T09:15:23.370Z
2016-08-23T09:15:23.370Z
Farghaly
<p>I had a website which allowed me to send and receive bitcoins. </p>

<p>To achieve this, I used the Blockchain API to process notifications of received bitcoins and the same to process sending Bitcoin to other addresses. </p>

<p>Due to the fact that Blockchain forced me to change my calling method because they changed the API using <code>node.js</code> I was considering to move away from them. </p>

<p>However, I found lots of issues. The Blockchain wallet can be exported to <code>MultiBit HD</code> and the source code is available but due to my limit knowledge of Java I am not able do replicate the same use case flow. Also, due to the fact that <code>MultiBit HD</code> does not run as a service, I cannot use it on a vps server being that in case of restart the program does not start automatically. </p>

<p>So I tried to use <code>BitcoinJ</code> directly to process payments the software performs the following steps:</p>

<ul>
<li><p>I create a new wallet with a new address. </p>

<p>When the software starts, it ask via web services the remote site to
see if there is some payments to be send to other addresses, creates a
transaction and then processes it.<br>
But again due to my limit knowledge of Java I was not able to intercept the payment received on the address of the wallet.</p></li>
</ul>

<p>I had also a problem because the software works on the testnet but when I move it to the production network the program seems to start downloading all the Blockchain.</p>

<p>Being that I am much better at C# I also tried to use <code>NBitcoin</code> but again with no success.</p>

<p>So I Google a while and found that it is possible to run Bitcoin Core and use an rpc call to process payments but Bitcoin Core needs to first download and validate all the Blockchain which is nearly 91GB.</p>

<p>So my question is this: </p>

<p>What I need is to code a service that uses a local wallet on a vps server (nix or win does not matter) with only a Blockchain address. 
When a new payment is received in the address the program gets the amount of the transaction and communicate its to a website using web-service. 
Programmatically, the same software asks the website if a new sending payment should be processed and in this case send the Bitcoin from the address.</p>

<p>The limitations are the following: </p>

<p>I do not want to use third party services or APIs like Blockchain or  Coinbase.  I do not want to download and process all the Blockchain.</p>

<p>Is there anyone out there that has faced the same difficulties and that can give some suggestions?</p>

<p>Thanks for any help</p>

<api><blockchain.info>
Updating my online wallet to not rely on the Blockchain.info API
Piero Giacomelli
# Updating my online wallet to not rely on the Blockchain.info API

(Asked by: username_0 on 2016-08-23)

I had a website which allowed me to send and receive bitcoins.

To achieve this, I used the Blockchain API to process notifications of received bitcoins and the same to process sending Bitcoin to other addresses.

Due to the fact that Blockchain forced me to change my calling method because they changed the API using `node.js` I was considering to move away from them.

However, I found lots of issues. The Blockchain wallet can be exported to `MultiBit HD` and the source code is available but due to my limit knowledge of Java I am not able do replicate the same use case flow. Also, due to the fact that `MultiBit HD` does not run as a service, I cannot use it on a vps server being that in case of restart the program does not start automatically.

So I tried to use `BitcoinJ` directly to process payments the software performs the following steps:

* I create a new wallet with a new address.

  When the software starts, it ask via web services the remote site to
  see if there is some payments to be send to other addresses, creates a
  transaction and then processes it.  
  But again due to my limit knowledge of Java I was not able to intercept the payment received on the address of the wallet.

I had also a problem because the software works on the testnet but when I move it to the production network the program seems to start downloading all the Blockchain.

Being that I am much better at C# I also tried to use `NBitcoin` but again with no success.

So I Google a while and found that it is possible to run Bitcoin Core and use an rpc call to process payments but Bitcoin Core needs to first download and validate all the Blockchain which is nearly 91GB.

So my question is this:

What I need is to code a service that uses a local wallet on a vps server (nix or win does not matter) with only a Blockchain address.
When a new payment is received in the address the program gets the amount of the transaction and communicate its to a website using web-service.
Programmatically, the same software asks the website if a new sending payment should be processed and in this case send the Bitcoin from the address.

The limitations are the following:

I do not want to use third party services or APIs like Blockchain or Coinbase. I do not want to download and process all the Blockchain.

Is there anyone out there that has faced the same difficulties and that can give some suggestions?

Thanks for any help

**Tags:** api, blockchain.info


---

## 1 answers

### Answer by username_1 on 2016-08-23. Score: 1

> I do not want to use third party services or APIs like Blockchain o
> Coinbase. I do not want to download and process all the Blockchain.

If you don't want to use 3rd party APIs, you should have your own node which requires downloaded the full blockchain. There's blockchain torrent <https://bitcoin.org/bin/block-chain/> that speeds up the download process, and there's advanced Bitcoin node libraries like <http://bitcore.io> that integrate with Bitcoin core.

There's more reliable blockchain as a service like BlockCypher <https://dev.blockcypher.com> which is programming language agnostic. I use it all the time and I am satisfied.


---

