Bitcoin Forum
May 01, 2024, 11:25:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help to find bitcoin lib for nodejs  (Read 180 times)
rolik2001 (OP)
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 503


View Profile
April 02, 2019, 08:49:16 AM
 #1

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.
1714562737
Hero Member
*
Offline Offline

Posts: 1714562737

View Profile Personal Message (Offline)

Ignore
1714562737
Reply with quote  #2

1714562737
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
eckmar
Legendary
*
Offline Offline

Activity: 1878
Merit: 1038


Telegram: https://t.me/eckmar


View Profile
April 02, 2019, 08:58:31 AM
 #2

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)
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 503


View Profile
April 02, 2019, 09:25:05 AM
 #3

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 Offline

Activity: 10
Merit: 0


View Profile
April 02, 2019, 12:15:30 PM
 #4

Hello, please contact me by PM if you are still interested ))
seoincorporation
Legendary
*
Offline Offline

Activity: 3136
Merit: 2916


Top Crypto Casino


View Profile
April 02, 2019, 03:33:31 PM
 #5

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+wrapper

But 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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
rolik2001 (OP)
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 503


View Profile
April 02, 2019, 05:36:14 PM
 #6

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+wrapper

But 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 Offline

Activity: 1878
Merit: 1038


Telegram: https://t.me/eckmar


View Profile
April 02, 2019, 05:49:08 PM
 #7

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+wrapper

But 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.
DeBugMe
Copper Member
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
April 02, 2019, 08:34:17 PM
 #8

and how about writing a wrapper to support the available block explorers )
It would be very simple.
Then for forked coins, you would HAVE to use something like this : https://www.npmjs.com/package/bitcoin-core
And also think about this one : https://github.com/cryptocoinjs/cryptocoin
For ethereum, it should be easy to enable support using web3js and a provider ))
rolik2001 (OP)
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 503


View Profile
April 04, 2019, 02:15:56 PM
 #9

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+wrapper

But 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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!