Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Do you need to run a bitcoin node for this? #2

Open
raymondcarl opened this issue Jul 9, 2017 · 2 comments
Open

Question: Do you need to run a bitcoin node for this? #2

raymondcarl opened this issue Jul 9, 2017 · 2 comments

Comments

@raymondcarl
Copy link

Great idea @guerrerocarlos. I've been playing around with Bitcore, but I find a lot of work to get everything working correctly, but maybe I'm just not understanding some of the documentation.

With your package for payments, do you need to connect to or a run a full Bitcoin node? I checked one of the dependencies, and it seems like it is calling the insight website to get the info. But I was confused because I can't see how one would be able to "subscribe" to transaction details using the insight website. If the package uses Insight, have you experienced any issues with site outages, etc.?

Thanks!

@raymondcarl
Copy link
Author

Oh, you also touch on issue I was struggling with. The bitcore documentation also recommends the HD process you describe to create the private keys and only have the public key on the "public" server. I was struggling to figure out how you transfer the public key to the node.js server that would be open to public. But from your example, it seems like you can just copy/paste as an environment variable, hard coded, etc.?

@guerrerocarlos
Copy link
Owner

Thanks @raymondcarl

  • With this package you don't need to run a full bitcoin node, you can just connect via socket.io to any existing Insight instance (or run one yourself if you prefer).

  • Yes, you can just copy and paste any of your bitcoin addresses and it will work with it.

Here you can see a working proof of concept that uses this module and automatically generates public bitcoin addresses from your Extended Public Key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants