Comments (6)
Thanks for dropping in @Roasbeef! I did look at grpc-web
, but I'm hesitant to use it due to the need for a proxy server. It's already enough of a pain for users to setup lnd, I'd had to ask them to have to setup Envoy as well. While it could be an optional sort of thing, I'd then be stuck supporting both HTTP and gRPC libs, which sounds like a testing nightmare.
I think at the moment, I'm going to keep this on hold until the tech matures a little more. But if you think it's easier than I'm making it out to be, let me know.
from joule-extension.
I've had the good fortune of being able to talk to Alex this week. While I really like the look of his API, I want to make the onboarding process for the extension as easy as possible, and would hate to ask users to have to setup yet another server on the machine they're hosting the node on. Going to try to limit myself to what LND (and C-Lightning, in the future) come with out-of-the-box.
from joule-extension.
Another option here is utilizing gRPC web. You'd get identical interaction as you would using node, but callable in the browser, as it works around the requirements of trailing http/2 headers that regular grpc has.
from joule-extension.
Hey there, nice work! I would suggest getting in touch with https://github.com/alexbosworth/ln-service which also use grpc with lnd and plan to integrate with c-lightning.
from joule-extension.
The proxy server would be on the lnd
end and could possibly be hidden behind a build flag, or regular command line flag. I don't think a finalized Go implementation in the main gRPC lib has landed yet though, so we'd likely hold off on adding something until it stabilized a bit more.
What are the major issues you had with the REST interface btw? We've updated the set of API docs for the REST interface to better indicate what's a string, and what's an int32, etc.
from joule-extension.
Awesome, I look forward to seeing the proxy server make it into master.
Great to hear about the improved docs. Been opening issues on the problems I've found with the HTTP rest API, the only majour outstanding ones I have right now are missing sign & verify and dropping falsy values. The latter I can get around by adding in defaults where I know they might get dropped, but the former I obviously can't work around. Haven't had any issues outside of that though,
As an aside, I planned on splitting out lnd-http
into its own Node module. You don't happen to know of any other implementations of REST API libraries, do you? Maybe I'd be better off contributing to one of those.
from joule-extension.
Related Issues (20)
- Allow sending to self HOT 1
- Cannot use lnd server with Brave Browser HOT 1
- Question : how my webapp connect to Joule HOT 1
- Idea: be able to link mobile non custodial wallets with Joule extension HOT 1
- Loop Status
- Automated Channel Management via Loop HOT 1
- Multi-Part MPP send support HOT 2
- Work harder to find the Invoice HOT 1
- Setup depfu to keep dependencies up to date HOT 3
- Unknown Node in Transaction Tab HOT 1
- Joule no longer available as firefox extension HOT 12
- Please use another bitcoin fees API provider HOT 1
- Zero amount invoices no longer allow input of new amount
- How do I embed an invoice/webln/bolt link so I can test the prompt? HOT 3
- Cannot connect to lnd v0.14.1 HOT 4
- Revitalize Joule for a patch release
- Connection string format? HOT 4
- BRL Fiat pair
- App breaks when typing special char on value input
- Install link is broken HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from joule-extension.