Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: sergio on June 03, 2018, 02:37:22 PM



Title: help getting skyhook to work with new blockchain.com api
Post by: sergio on June 03, 2018, 02:37:22 PM
could someone post instructions on how to get an skyhook to work with the new blockchain api.
The skyhook was working well under the old api v1.
I have managed to compile some versions of  blockchain-wallet-service successfully.

I did change a line in  blockchain.php

changed from:
private static $URL = "https://blockchain.info/merchant/";
to:
private static $URL = "http://localhost:3000/merchant/";

however I always get an error from the service:
root@skyhook:~#  LOGLEVEL=debug blockchain-wallet-service start --port 3000
1528030391618 - info: blockchain.info wallet service v0.22.0 running on http://127.0.0.1:3000
1528030446244 - debug: Logging in
1528030448753 - error: ERR_ADDRESS

or using newer versions of the new api v2
1528033758642 - debug: Recording smwv3 event name=heartbeat_10m
1528033943863 - debug: Logging in
1528033968086 - error: ERR_ADDRESS

it is possible that some more changes are needed to the code, any help will be greatly appreciated.
I have been struggling weeks trying to get the skyhook working again.
I someone could post a working blockchain.php file it will be greatly appreciated.