Giter Club home page Giter Club logo

bitcoin-receive-payments's People

Contributors

guerrerocarlos avatar randomnerd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bitcoin-receive-payments's Issues

'initialized' event never fires

Running the local_tests.js sample (with pub_key and openexchangerates_key set to appropriate values) doesn't generate any results.

Console logs out "got latest rates..." and the nothing happens after that.

Error with redis?

Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)

Any ideas? I am on Windows running MongoDB on the same port?

TypeError: Cannot read property 'rates' of undefined

Hello there, i trying to use this package but when i start my server i receive that error

TypeError: Cannot read property 'rates' of undefined
self.fx.rates = data.rates index.js:138

i already create a key at openexchangerates and xPub key in BIP32 only for tests, these openxchangesrates is mandatory?

Error integrating with react app

index.js:71 Uncaught TypeError: net.isIP is not a function
at new RedisClient (index.js:71)
at Object../node_modules/redis/index.js.exports.createClient (index.js:1089)
at Object../node_modules/bitcoin-receive-payments/index.js (index.js:13)
at webpack_require (bootstrap a8833b1d640eb2a37704:678)
at fn (bootstrap a8833b1d640eb2a37704:88)
at Object../src/components/Payment.js (Navbar.js:29)
at webpack_require (bootstrap a8833b1d640eb2a37704:678)
at fn (bootstrap a8833b1d640eb2a37704:88)
at Object../src/pages/Dashboard.js (About.js:26)
at webpack_require (bootstrap a8833b1d640eb2a37704:678)
at fn (bootstrap a8833b1d640eb2a37704:88)
at Object../src/App.js (App.css?9a66:26)
at webpack_require (bootstrap a8833b1d640eb2a37704:678)
at fn (bootstrap a8833b1d640eb2a37704:88)
at Object../src/index.js (index.css?f255:26)
at webpack_require (bootstrap a8833b1d640eb2a37704:678)
at fn (bootstrap a8833b1d640eb2a37704:88)
at Object.0 (plans.js:20)
at webpack_require (bootstrap a8833b1d640eb2a37704:678)
at ./node_modules/@firebase/app/dist/esm/index.js.Object.defineProperty.value (bootstrap a8833b1d640eb2a37704:724)
at bootstrap a8833b1d640eb2a37704:724

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

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!

Invalid Base58 checksum

Invalid Base58 checksum for 5554555

/node_modules/bitcoin-receive-payments/node_modules/bitcore-lib/lib/hdpublickey.js:52
        throw error;
        ^

Any clue?

npm vulnerabilities

Hello! Could you please update packages to eliminate following vulnerabilities? :)

 Low             Regular Expression Denial of Service

  Package         debug

  Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > bitcoin-live-transactions >
                  socket.io-client > debug

  More info       https://nodesecurity.io/advisories/534


  Low             Regular Expression Denial of Service

  Package         debug

  Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > bitcoin-live-transactions >
                  socket.io-client > engine.io-client > debug

  More info       https://nodesecurity.io/advisories/534


  Low             Regular Expression Denial of Service

  Package         debug

  Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > socket.io > debug

  More info       https://nodesecurity.io/advisories/534


  Low             Regular Expression Denial of Service

  Package         debug

  Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > socket.io > engine.io > debug

  More info       https://nodesecurity.io/advisories/534


  Low             Regular Expression Denial of Service

  Package         debug

  Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > socket.io > socket.io-adapter >
                  debug

  More info       https://nodesecurity.io/advisories/534


  Low             Regular Expression Denial of Service

  Package         debug

  Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > socket.io > socket.io-client >
                  debug

  More info       https://nodesecurity.io/advisories/534


  Low             Regular Expression Denial of Service

  Package         debug

  Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > socket.io > socket.io-client >
                  engine.io-client > debug

  More info       https://nodesecurity.io/advisories/534


  Low             Regular Expression Denial of Service

  Package         debug

  Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > socket.io-client > debug

  More info       https://nodesecurity.io/advisories/534


  Low             Regular Expression Denial of Service

  Package         debug

  Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > socket.io-client >
                  engine.io-client > debug

  More info       https://nodesecurity.io/advisories/534


  Low             Regular Expression Denial of Service

  Package         debug

  Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > bitcoin-live-transactions >
                  socket.io-client > socket.io-parser > debug

  More info       https://nodesecurity.io/advisories/534


  Low             Regular Expression Denial of Service

  Package         debug

  Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > socket.io > socket.io-adapter >
                  socket.io-parser > debug

  More info       https://nodesecurity.io/advisories/534


  Low             Regular Expression Denial of Service

  Package         debug

  Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > socket.io > socket.io-client >
                  socket.io-parser > debug

  More info       https://nodesecurity.io/advisories/534


  Low             Regular Expression Denial of Service

  Package         debug

  Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > socket.io > socket.io-parser >
                  debug

  More info       https://nodesecurity.io/advisories/534


  Low             Regular Expression Denial of Service

  Package         debug

  Patched in      >= 2.6.9 < 3.0.0 || >= 3.1.0

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > socket.io-client >
                  socket.io-parser > debug

  More info       https://nodesecurity.io/advisories/534


  High            Regular Expression Denial of Service

  Package         parsejson

  Patched in      No patch available

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > bitcoin-live-transactions >
                  socket.io-client > engine.io-client > parsejson

  More info       https://nodesecurity.io/advisories/528


  High            Regular Expression Denial of Service

  Package         parsejson

  Patched in      No patch available

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > socket.io > socket.io-client >
                  engine.io-client > parsejson

  More info       https://nodesecurity.io/advisories/528


  High            Regular Expression Denial of Service

  Package         parsejson

  Patched in      No patch available

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > socket.io-client >
                  engine.io-client > parsejson

  More info       https://nodesecurity.io/advisories/528


  High            Prototype Pollution

  Package         lodash

  Patched in      >=4.17.11

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > bitcore-lib > lodash

  More info       https://nodesecurity.io/advisories/782


  Low             Prototype Pollution

  Package         lodash

  Patched in      >=4.17.5

  Dependency of   bitcoin-receive-payments

  Path            bitcoin-receive-payments > bitcore-lib > lodash

  More info       https://nodesecurity.io/advisories/577

HDpublickey?

throw new hdErrors.UnrecognizedArgument(arg);
^
Invalid argument for creation, must be string, json, buffer, or object
Error

..node_modules\bitcore-lib\lib\hdpublickey.js:62

Any fix?

installation video

Hello, thank you for your great work. I've been looking for something like this for a while, but unfortunately NodeJS is not something I'm very familiar with. Could we please get a video that demonstrates how to install and an example usage?

error recieved creating bitcoin address

Set up a test using the code provided in the readme and recieved the following output:

<createAddress> 5554555 undefined
Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
at Object._errnoException (util.js:1026:11)
at _exceptionWithHostPort (util.js:1049:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1174:14)
/Users/dylankilkenny/dev/expressTesting/index.js:652
throw err;
^

any ideas on what could have went wrong?

Unhanded 'error' event...

events.js:183
throw er; // Unhandled 'error' event
^

Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)

Insight API seems to be down

Hello

I am getting the following error when using the gateway:

UnhandledPromiseRejectionWarning: Cannot reach any bitcoin insight server... no bitcoin transactions are being received.

Checking the code I can see the insight servers are these ones: ["https://insight.bitpay.com/api/", "https://www.localbitcoinschain.com/api/", "https://search.bitaccess.co/insight-api/"]

They all seem to be down, are there any alternatives for these APIs ?

Thank you for your great work!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.