Releases: payjoin/nolooking
v0.2.1-alpha
This release adds the ability to lease an inbound channel in initial channel funding. It also automates the reserve deposit.
Find @getumbrel images for amd64/arm64 on Docker Hub.
The attached binary should run on Intel MacOS.
What's Changed
- Loinify README by @DanGould in #3
- Clean up argument parsing. by @evanlinjin in #5
cargo +nightly fmt
by @evanlinjin in #9- Depend on payjoin crate by @DanGould in #1
- Rename loptos to loin by @DanGould in #14
- Split lightning client logic from main by @DanGould in #11
- Split Modules from main function by @DanGould in #17
- Bump payjoin crate by @DanGould in #20
- Test by @DanGould in #15
- Make html sane by @DanGould in #18
- Fix nginx ports by @DanGould in #28
- Added new endpoint config variable to config_sepc.toml by @0xBEEFCAF3 in #27
- Run tests/integration.rs Actions CI test.yml by @DanGould in #21
- Rename all instances of loin to nolooking by @0xBEEFCAF3 in #32
- Optimize perf-critical crates in debug build by @DanGould in #31
- Mvp UI by @DanGould in #30
- Spooky UI with QR codes by @nickfarrow in #36
- Add Cache Headers for static site by @nickfarrow in #44
- Readme benefits and proxy suggestion by @nickfarrow in #29
- Test test ❌ by @DanGould in #39
- Format repository and add test to workflow by @nickfarrow in #45
- Add remove queued channel button by @0xBEEFCAF3 in #48
- Add localhost_ip config arg by @nickfarrow in #53
- Add favicon and another experimental warning by @nickfarrow in #49
- Don't panic, handle errors. by @DanGould in #57
- Make README more digestable above the fold by @DanGould in #59
- Serve public files from root instead of /pj and /pj/static by @nickfarrow in #55
- Add Dockerfile (for Umbrel) by @nickfarrow in #22
- Auto reserve by @DanGould in #38
- Fix remove channel button by @nickfarrow in #64
- Fix schedule POST deserialization by @nickfarrow in #69
- Fix channel queue by @nickfarrow in #68
- Update
configure_me_codegen
by @DanGould in #70 - Add missing reserve by @DanGould in #78
- Get Quote and Pay for Inbound Channel by @nickfarrow in #65
- Include missing reserve, not required reserve by @DanGould in #81
- Feature vendored OpenSSL for static builds by @DanGould in #82
- bump v0.2.0 by @DanGould in #73
- Push to dockerhub on tag v*.. by @DanGould in #83
- Streamlined theme and randomly generate colors by @nickfarrow in #86
- Use rustls instead of native-tls by @DanGould in #85
- Issue/79 | Add logger by @0xBEEFCAF3 in #84
- Bump v0.2.1 by @DanGould in #87
New Contributors
- @evanlinjin made their first contribution in #5
- @0xBEEFCAF3 made their first contribution in #27
- @nickfarrow made their first contribution in #36
Full Changelog: https://github.com/chaincase-app/nolooking/commits/v0.2.1-alpha
v0.1.0-pre-alpha
⚠️ WARNING: ULTRA-EXPERIMENTAL SOFTWARE
❗️ This project is pre-alpha quality and lacks basic checks. It is NOT fully BIP78-compliant ❗️
Any unexpecected node setup or message will likely cause permanent loss of funds.
For the love of god, do NOT use it on mainnet just yet!
If you don't want to wait long, help with reviews and PRs
Usage
- You need Rust version 1.48 or higher to compile this.
- You need LND v14.2 or higher
cargo build [--features=test_paths]
. The test_paths feature will serve thestatic/index.html
ui contained in this folder rather than one in/usr/share/loptos/static
in production.- Setup reverse HTTP proxy with HTTPS forwarding to some port - e.g. 3000.
You can do this in a few lines using selfhost in Cryptoanarchy Debian Repository. or on MacOS - create a configuration file based on
config_spec.toml
. This is mine based on a polar lightning network simulator setup.CONFIGURATION_FILE=loptos.conf
:
# loptos.conf
bind_port=3000
lnd_address="https://localhost:10004"
lnd_cert_path="/Users/dan/.polar/networks/1/volumes/lnd/dave/tls.cert"
lnd_macaroon_path="/Users/dan/.polar/networks/1/volumes/lnd/dave/data/chain/bitcoin/regtest/admin.macaroon"
./target/debug/loptos --conf CONFIGURATION_FILE_PATH DEST_NODE_URI AMOUNS_IN_SATS [DEST_NODE_URI AMOUNS_IN_SATS ...] [CHAIN_WALLET_AMOUNT_SATS]
- Copy BIP21 from command line output and paste it into one of the supported wallets. I use the payjoin crate client to make a payjoin right from regtest bitcoind.
- Confirm the transaction and move some sats over the new channel
Note: if CHAIN_WALLET_AMOUNT_SATS
is present a single-sig output will be added to LND's internal wallet.
A minimum internal wallet balance of 10,000 reserve sats per channel up to 100,000 sats is required for anchor commitments. This can be automated in the future.
Thanks to Martin for the base on which this is built, Armin for trialing and tribulating, and Evan for feedback, questions, and edits