blockchain / service-my-wallet-v3

Blockchain Wallet API Service
https://blockchain.info/api/blockchain_wallet_api
GNU Affero General Public License v3.0
904 stars 517 forks source link

Error when localhost:<port> is changed to blockchain.info #510

Open chibuikemprince opened 3 years ago

chibuikemprince commented 3 years ago

Node v10.13.0 Service 0.26.3 Using the above versions, I built an API, to create wallet, addresses and monitor transactions.

My API works with local service. When I deployed my API online, I changed the endpoint from localhost:port to blockchain.info then the Endpoint for creating wallet returned Null.

When I switch to localhost it will return data containing uid and address, but returns null if the url is changed to blockchain.info.

Please I need help, how do I host my API, without hosting the local service myself .

smsbarrage commented 3 years ago

you have to white list the ip address in your account

chibuikemprince commented 3 years ago

i have done that already, the error still repeats

proxxolut commented 3 years ago

you have to install the blockchain-wallet-service on the server you deployed, and still access the service locally, with localhost