guerrerocarlos / bitcoin-receive-payments Goto Github PK
View Code? Open in Web Editor NEWOne of the Modules used for the Bitcoin Widget at
Home Page: https://www.klukt.com/
One of the Modules used for the Bitcoin Widget at
Home Page: https://www.klukt.com/
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: 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?
Please add Typescript Type Definition supports.
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?
Would it be possible to add btc testnet so we dont have to send real btc back and fourth?
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
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 for 5554555
/node_modules/bitcoin-receive-payments/node_modules/bitcore-lib/lib/hdpublickey.js:52
throw error;
^
Any clue?
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
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?
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?
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?
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)
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!
Hello,
I don't want to use Open Exchange Rates. How can i do that?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.