rolik2001 (OP)
|
|
April 02, 2019, 08:49:16 AM |
|
I need to connect btc to my website with nodejs, so I'm looking for any way in which I can accept bitcoins. I have seen bitcoinjs lib, but this lib can't check explorer and push tx. Maybe you have some multiwallet which contains all popular coins and can be added from my own, because I'm planning to use this libs for others bitcoin forks.
|
|
|
|
eckmar
Legendary
Offline
Activity: 1878
Merit: 1038
Telegram: https://t.me/eckmar
|
|
April 02, 2019, 08:58:31 AM |
|
You can generate address with bitcoinjs, and then use an API of some explorer to create and push tx but you will have to write that "middleware". Other option (best one) is to connect to Bitcoin daemon directly with RPC and use it to do everything. This will work with all Bitcoin forks because they don't change RPC calls at all. Bad thing is, you need to run a full node.
You can also check bitcore (full node also required)
|
|
|
|
rolik2001 (OP)
|
|
April 02, 2019, 09:25:05 AM |
|
You can generate address with bitcoinjs, and then use an API of some explorer to create and push tx but you will have to write that "middleware". Other option (best one) is to connect to Bitcoin daemon directly with RPC and use it to do everything. This will work with all Bitcoin forks because they don't change RPC calls at all. Bad thing is, you need to run a full node.
You can also check bitcore (full node also required)
Hmmm, okay thanks. I will try to connect forks to this libs. Right now, I try to rewrite this thing https://github.com/mmick66/jswallet But I still looking for light multiwallet.
|
|
|
|
DeBugMe
Copper Member
Newbie
Offline
Activity: 10
Merit: 0
|
|
April 02, 2019, 12:15:30 PM |
|
Hello, please contact me by PM if you are still interested ))
|
|
|
|
seoincorporation
Legendary
Online
Activity: 3304
Merit: 3094
|
|
April 02, 2019, 03:33:31 PM |
|
I need to connect btc to my website with nodejs, so I'm looking for any way in which I can accept bitcoins. I have seen bitcoinjs lib, but this lib can't check explorer and push tx. Maybe you have some multiwallet which contains all popular coins and can be added from my own, because I'm planning to use this libs for others bitcoin forks.
What you are searching is a bitcoin wrapper: http://lmgtfy.com/?q=nodejs+bitcoin+wrapperBut remember that you will need to install your node in the server and for that you need a robust server (with more than 250GB), other option is to install the core in a local computer, then turn down the firewall and make the connection direc from your server to the local machine. Is the complex way but with that you avoid the big server for node.
|
|
|
|
rolik2001 (OP)
|
|
April 02, 2019, 05:36:14 PM |
|
I need to connect btc to my website with nodejs, so I'm looking for any way in which I can accept bitcoins. I have seen bitcoinjs lib, but this lib can't check explorer and push tx. Maybe you have some multiwallet which contains all popular coins and can be added from my own, because I'm planning to use this libs for others bitcoin forks.
What you are searching is a bitcoin wrapper: http://lmgtfy.com/?q=nodejs+bitcoin+wrapperBut remember that you will need to install your node in the server and for that you need a robust server (with more than 250GB), other option is to install the core in a local computer, then turn down the firewall and make the connection direc from your server to the local machine. Is the complex way but with that you avoid the big server for node. Thanks for the help, but in fact, it is an analog of bitcoin-core lib. I have found one interesting Russian article where they show command which can change blockchain size from 250 to 2-3 gb.
|
|
|
|
eckmar
Legendary
Offline
Activity: 1878
Merit: 1038
Telegram: https://t.me/eckmar
|
|
April 02, 2019, 05:49:08 PM |
|
I need to connect btc to my website with nodejs, so I'm looking for any way in which I can accept bitcoins. I have seen bitcoinjs lib, but this lib can't check explorer and push tx. Maybe you have some multiwallet which contains all popular coins and can be added from my own, because I'm planning to use this libs for others bitcoin forks.
What you are searching is a bitcoin wrapper: http://lmgtfy.com/?q=nodejs+bitcoin+wrapperBut remember that you will need to install your node in the server and for that you need a robust server (with more than 250GB), other option is to install the core in a local computer, then turn down the firewall and make the connection direc from your server to the local machine. Is the complex way but with that you avoid the big server for node. Thanks for the help, but in fact, it is an analog of bitcoin-core lib. I have found one interesting Russian article where they show command which can change blockchain size from 250 to 2-3 gb. Its called pruned node. You can research it. Its useful as you won't store whole blockchain, but on the other hand if you need some explorer-like features, you won't be able you see older blocks, just the last few. Thats because, well you are not storing the other blocks, hence reduced size.
|
|
|
|
|
rolik2001 (OP)
|
|
April 04, 2019, 02:15:56 PM |
|
I need to connect btc to my website with nodejs, so I'm looking for any way in which I can accept bitcoins. I have seen bitcoinjs lib, but this lib can't check explorer and push tx. Maybe you have some multiwallet which contains all popular coins and can be added from my own, because I'm planning to use this libs for others bitcoin forks.
What you are searching is a bitcoin wrapper: http://lmgtfy.com/?q=nodejs+bitcoin+wrapperBut remember that you will need to install your node in the server and for that you need a robust server (with more than 250GB), other option is to install the core in a local computer, then turn down the firewall and make the connection direc from your server to the local machine. Is the complex way but with that you avoid the big server for node. Thanks for the help, but in fact, it is an analog of bitcoin-core lib. I have found one interesting Russian article where they show command which can change blockchain size from 250 to 2-3 gb. Its called pruned node. You can research it. Its useful as you won't store whole blockchain, but on the other hand if you need some explorer-like features, you won't be able you see older blocks, just the last few. Thats because, well you are not storing the other blocks, hence reduced size. Ok, thank you. Maybe I will be used as it is not important to save transactions in local. Dear guys, thanks everybody for the response and help.
|
|
|
|
|