Author

Topic: PLS!! Help me wIth accept bitcoins on node.js (Read 1844 times)

hero member
Activity: 770
Merit: 500
Have you ever checked out bitcoinjs? Bitcoin core and js example tutorials and scripts might help you.
i try to find web services and i konw about bitcoinjs and core

Or This might provide you the full information and setup about bit coin node.js
https://bbvaopen4u.com/en/actualidad/how-create-bitcoin-wallet-open-source-javascript-library
hero member
Activity: 1232
Merit: 503
Thanks for all your answer and understand what i can use bitcoinjs and bitcore or blockchain.info how explorer
sr. member
Activity: 452
Merit: 252
from democracy to self-rule.
You might want to check out https://github.com/bcoin-org/bcoin as well.  You can run it in SPV mode if you don't want to run a full node.

Do not use any APIs and use your local blockchain instead! Bitcore and bcoin both provide you a javascript layer on top of a local bitcoin blockchain running on your system ..
newbie
Activity: 19
Merit: 0
You might want to check out https://github.com/bcoin-org/bcoin as well.  You can run it in SPV mode if you don't want to run a full node.
hero member
Activity: 882
Merit: 533
Maybe bitcoin-node or node-bitcoin is what you are looking for, as you can query a bitcoin daemon (ad even blockchain.info RPC api) and then send usual methods or even your own methods. It is compliant with SSL and part of bitcoinjs project i guess.
If all these projects doesn't suits you, could you tell us exactly what you are looking for then ? because i think that we talked about the libraries.
hero member
Activity: 1232
Merit: 503
Have you ever checked out bitcoinjs? Bitcoin core and js example tutorials and scripts might help you.
i try to find web services and i konw about bitcoinjs and core
hero member
Activity: 770
Merit: 500
Have you ever checked out bitcoinjs? Bitcoin core and js example tutorials and scripts might help you.
newbie
Activity: 52
Merit: 0
I've been working on this nodejs tutorial series for the last few months https://www.youtube.com/playlist?list=PLhWIQKZKupCasXHue7itsB0twiIwQtDV_

Goes from the simple intro Hello World to Express, templating, using bitcore-lib, blocktrail API and deployment. You can generate addresses and accept bitcoin just using a library.

Can you give me more information as to what you are trying to build?
hero member
Activity: 882
Merit: 533
Have you checked bitcore ? it may be interesting as it is bitcoin core built on nodejs, then it is up to you to see what to do with it.
This API can be what you are looking for : https://www.blockcypher.com/dev/bitcoin/?javascript#types-of-events
you can create a confirmed tx event using a websocket.
It is the first time i check this API, it is a complete set of tools, take your time and read it carefully. Hope that helps.
for start core i need start full node?? on block.io also can receive confirmed payment by websocket

I didn't extended on bitcore, i just know that it is made to be used with nodejs.
For the API, many people there says that block.io is a bad API, and that blockcypher is a good one, personally i am ok with block.io but only in a development environment.
It is up to you.
hero member
Activity: 1232
Merit: 503
February 28, 2017, 03:26:09 PM
#9
Have you checked bitcore ? it may be interesting as it is bitcoin core built on nodejs, then it is up to you to see what to do with it.
This API can be what you are looking for : https://www.blockcypher.com/dev/bitcoin/?javascript#types-of-events
you can create a confirmed tx event using a websocket.
It is the first time i check this API, it is a complete set of tools, take your time and read it carefully. Hope that helps.
for start core i need start full node?? on block.io also can receive confirmed payment by websocket
hero member
Activity: 882
Merit: 533
February 28, 2017, 02:51:19 PM
#8
Have you checked bitcore ? it may be interesting as it is bitcoin core built on nodejs, then it is up to you to see what to do with it.
This API can be what you are looking for : https://www.blockcypher.com/dev/bitcoin/?javascript#types-of-events
you can create a confirmed tx event using a websocket.
It is the first time i check this API, it is a complete set of tools, take your time and read it carefully. Hope that helps.
hero member
Activity: 1232
Merit: 503
February 28, 2017, 12:34:34 PM
#7
The proposed solution doesn't give the website any means to verify that coins were received before delivering the goods or services. So you would have to query your node for this.
no blocktrail have notification on domain
jr. member
Activity: 43
Merit: 1
February 26, 2017, 03:46:37 PM
#6
The proposed solution doesn't give the website any means to verify that coins were received before delivering the goods or services. So you would have to query your node for this.
hero member
Activity: 1232
Merit: 503
February 21, 2017, 07:32:45 PM
#5
You just want to accept bitcoins?  You don't need to send any bitcoins?

If so, then it is easy.

  • Choose a wallet (examples: MultiBit, Electrum, Bitcoin Core, etc)
  • Install that wallet on a secure computer (NOT on your web server)
  • Generate lots of addresses with the wallet
  • Add those addresses to a database that your webserver can access
  • Create a secure backup of your wallet
  • The webserver can now look up addresses in the database to use

Since you didn't store any private keys in the database, the webserver can only accept bitcoins, it can't send any.
Since you didn't store any private keys in the database, nobody can steal your bitcoins unless they have access to your wallet.
You can generate as many addresses as you like with the wallet, just add the list of generated addresses to your database as you generate them.

When you want to use the bitcoins, you can just use your wallet to send them somewhere.
yes i can generate in bitcoinjs but problem was in notification socket on blockchain.info is bad because very much transaction and i can lost transaction
hero member
Activity: 1232
Merit: 503
February 21, 2017, 07:30:57 PM
#4
I've been working on this nodejs tutorial series for the last few months https://www.youtube.com/playlist?list=PLhWIQKZKupCasXHue7itsB0twiIwQtDV_

Goes from the simple intro Hello World to Express, templating, using bitcore-lib, blocktrail API and deployment. You can generate addresses and accept bitcoin just using a library.
thanks for this very good guide )))
legendary
Activity: 3388
Merit: 4615
February 20, 2017, 09:32:44 AM
#3
You just want to accept bitcoins?  You don't need to send any bitcoins?

If so, then it is easy.

  • Choose a wallet (examples: MultiBit, Electrum, Bitcoin Core, etc)
  • Install that wallet on a secure computer (NOT on your web server)
  • Generate lots of addresses with the wallet
  • Add those addresses to a database that your webserver can access
  • Create a secure backup of your wallet
  • The webserver can now look up addresses in the database to use

Since you didn't store any private keys in the database, the webserver can only accept bitcoins, it can't send any.
Since you didn't store any private keys in the database, nobody can steal your bitcoins unless they have access to your wallet.
You can generate as many addresses as you like with the wallet, just add the list of generated addresses to your database as you generate them.

When you want to use the bitcoins, you can just use your wallet to send them somewhere.
legendary
Activity: 1442
Merit: 1179
February 20, 2017, 01:17:39 AM
#2
I've been working on this nodejs tutorial series for the last few months https://www.youtube.com/playlist?list=PLhWIQKZKupCasXHue7itsB0twiIwQtDV_

Goes from the simple intro Hello World to Express, templating, using bitcore-lib, blocktrail API and deployment. You can generate addresses and accept bitcoin just using a library.
hero member
Activity: 1232
Merit: 503
February 18, 2017, 11:58:24 AM
#1
I write site on node.js and dont know how to accept bitcoin on node.js. I know about bitpay(problem what maximum is 500 dollars),blockchain.info(problem what i need api key and must wait 2 days for this key), block.io(problem what on free account only 100 address.
Jump to: