-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add torq: a capital management tool for LN routing nodes #581
Comments
There is no torq nixos package and rather than try to package it, I have created a module for torq using podman oci containers. I am happy to share that, though I'm not sure it is suitable for inclusion into nix-bitcoin as it is rather a different way of doing things compared to the other modules. |
Since Torq is written in Go and requires only PostgreSQL it should be trivial to get it working in Nixpkgs / Nix-Bitcoin. |
Tried packaging it but ran into an error when building the go module dependencies:
https://gist.github.com/mmilata/f24e471e6903c9469d0264c7dc14dec0 Running |
Opened an upstream issue here: https://github.com/lncapital/torq/issues/320 |
I have applied a fix on main, let me know if it works or not. But be aware that we are currently working on main so this cannot be relied on to work. To make sure you have a working version I suggest using a tagged version. I can create a new version number for you if main is working now. |
The package builds fine against current main, thanks @ohenrik! Can you please create tagged version? I'll open nixpkgs PR afterwards - who wants to be a co |
@mmilata feel free to add me as a co-maintainer |
Great! I'll create a new tag tomorrow, we discovered a bug that we would like to include first. Hope that is ok :) |
a package NixOS/nixpkgs#211293 |
Merged into Nixpkgs 👍 |
@mmilata lndhub.go has similar architecture - binary in go which requires postgresql - feel free to peek at #519 to see how torq integration into nix-bitcoin could look like: e.g. the module file: https://github.com/fort-nix/nix-bitcoin/blob/7b508603830337d4b90b75339517ab265056f310/modules/lndhub-go.nix |
@mmilata You can use the tag v0.16.13 and onwards. We will soon make a new official release (latest). |
Module #592 should be in a reasonably working state, feel free to test it. |
torq went closed source so this is probably not interesting anymore |
https://github.com/lncapital/torq
The text was updated successfully, but these errors were encountered: