Comments (5)
Probably a simple matter of importing the eclair jars and invoking Setup.boot to get a new "Kit" API.
from proposals.
Because BISQ nodes are long running, my proposal starts at lower level architecture which will allow BISQ to escape the desktop.
This is a CLIENT <-> SERVER model, where the server is wholly owned and managed by the human trader (ie. one server per client). They can access their BISQ functionality from anywhere, on any device.
Applicable to WWW, this could also be true for LAN and DESKTOP alternate scenarios.
Top level summary
-
The BISQ GUI (Graphic User Interface) is statically served (templates and logic) over http/s.
-
All data is bidirectionally transferred over encrypted websocket (RFC 6455).
-
Bisq-api/exchange becomes part of an API driven stack of modules, which will include ECLAIR (which has its own JSON-RPC interface)
-
All communication is routed through an API manager, which serves to translate all the various module API's into a common standard, thus allowing standardised communication within the stack:
- Module <-> Module
- Client <-> Module
- Module <-> Client
- Module -> Module <-> Client
- Etc.
-
BISQ exchange development can focus on a reduced scope, while modular development around it can independently grow in resources and community, providing valuable functionality for exchange to leverage.
Topology diagram
Proof of concept
I have a POC for the above typology here: https://github.com/citkane/bisq-front
It can be installed locally and run on REGTEST.
I am working with @mrosseel to resolve and test https://github.com/mrosseel/bisq-api/issues/13, after which I will publish URL's for BOB and ALICE that anybody can play with in their browsers.
Eclair Integration
Given the above typology, it becomes trivial to launch an instance of Eclair with JAVA. This will be exactly the same as launching BISQ. BISQ will be able to talk to Eclair bi-directionally through the API manager.
Equally trivial will be launching the required (by Eclair) Bitcoind. This is however not practical, as it forces every BISQ node to also be a full Bitcoin node with a full blockchain. This will only become practical once Neutrino, a (preferred by ACINQ) Bitcoin Light Client, matures sufficiently.
Envisaged development pattern
- Eclair silently runs as a Lightning node
- Api management is built for Eclair
- GUI is built for a standalone Lighting wallet within BISQ
- BISQ now has all the required tools in it's shed to allow EXCHANGE developers to integrate Lightning into trading logic.
from proposals.
The proof of concept is now live at:
http://bob.openpoint.ie/
http://alice.openpoint.ie/
from proposals.
Closing as inactive. This got a lot of 👍's but ultimately no discrete proposal was offered for how to integrate Eclair within Bisq as it is today. If someone would like to re-open this or, perhaps preferably, to open a new proposal about this, please do. It's worth noting here that @ACINQ just shipped their first mainnet-ready Eclair release.
And in case someone does re-open this (or open a new proposal), please see the guidance on proposals I've just put together in #11. The goal of a proposal around integrating Eclair would be to put together a brutally minimal approach to running a lightning node within the same process as a running Bisq node, for the purpose of (a) earning fees and (b) generally supporting the Lightning network. Any such integration should be bare-bones to start with. Indeed that's exactly what we're looking for in such a proposal: what is the simplest integration that could possibly work for making a Bisq node serve double-duty as a Lightning node?
from proposals.
3 years passed since this proposal, maybe there is some new solution that would easily allow to run BISQ with Lightning Network?
from proposals.
Related Issues (20)
- Bisq2 oracle node operator HOT 3
- Bisq2 seed node operator HOT 3
- Bisq2 Security Manager HOT 3
- Application to become a bonded explorer operator HOT 4
- Application to become a bonded price node operator HOT 4
- Application to become a mediator for Bisq 2 HOT 4
- Application to become a moderator for Bisq 2 HOT 7
- Bisq2 Release Manager HOT 3
- Application to become a mediator for Bisq 2 HOT 2
- Bisq2 Release Manager HOT 5
- Application to become a moderator for Bisq 2 HOT 5
- Bisq2 seed node operator HOT 5
- Bisq2 oracle node operator HOT 4
- Bisq2 Security Manager HOT 3
- BSQ trading fee update on Cycle 53 HOT 4
- Plan for Projects Maintainer role: First Stage HOT 4
- BSQ trading fee update on Cycle 55 HOT 10
- Proposal for @solomon1923 to assume Growth Lead role HOT 1
- Application to become a bonded pricenode operator HOT 3
- Show a Warning for potentially misconfigured network settings
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 proposals.