bluewallet / rn-electrum-client Goto Github PK
View Code? Open in Web Editor NEWThis project forked from you21979/node-electrum-client
Electrum Client for React Native
Home Page: https://bluewallet.io
License: MIT License
This project forked from you21979/node-electrum-client
Electrum Client for React Native
Home Page: https://bluewallet.io
License: MIT License
Does this library provide the support for blockchain.scripthash.unsubscribe
documented here https://electrumx.readthedocs.io/en/latest/protocol-methods.html#blockchain-scripthash-unsubscribe?
If not, would it be hard to add?
I briefly looked through the code and it looks like a Tor proxy would be used in this lib. Could it be as simple as adding https://github.com/JoshGlazebrook/socks or https://github.com/TooTallNate/node-socks-proxy-agent into client.js? Looks like the url and port would come from the BlueWallet app too.
I tried connecting to blockstream.info:465
using tls connection, I did the necessary polyfills of net
and tls
and I tried also with the method that you are using here
It seems that I'm connected for a short time but then the connection closes and starts trying to reconnect, as the result I obtain a bunch of errors Error: close connect
.
I tried the same thing with tcp on blockstream.info:195
and it works properly, the problem is that i need to connect to this one blockstream.info:465
using tls
Am I missing something?
Currently using the package require using this repo via:
"electrum-client": "https://github.com/BlueWallet/rn-electrum-client",
please upload it to NPM / Yarn Registries:
https://yarnpkg.com/package/rn-electrum-client
https://www.npmjs.com/package/rn-electrum-client
So it can be used instead with:
"electrum-client": "rn-electrum-client",
Does this library support timeout? I tried passing it through the options object, but it doesn't seem to work. Do you plan on supporting this in the near future?
Hello,
Please add a feature that gets the address balance including the tx history, as it's quit intensive to fetch an addresses history and calculate the total received/total seend values it requires calls to getBalanceBatch, getHitoryBatch and TransactionBatch (txBatch requests are needed for each tx from getTransactionBatch) plus addresses need conversion to a scripthash that needs to be compared to an address and the bitcoinjs library needs to convert the address to an output script too that's quit a lot of code. Would be nice if some electrum client supports just it be design.
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.