Coder Social home page Coder Social logo

Improve iOS users' lives about nix-bitcoin HOT 8 CLOSED

fort-nix avatar fort-nix commented on June 2, 2024
Improve iOS users' lives

from nix-bitcoin.

Comments (8)

stefan-mihaila avatar stefan-mihaila commented on June 2, 2024 1

Just to be clear, Spark Wallet with Onion Browser is the PWA version of Spark Wallet. There is no native version of Spark Wallet for iOS atm, even though one is stated to come soon™. If there would be (or an alternative), leaving aside the little inconvenient that it can't be run over tor, I would be happy with that.

In the mean time, I looked a little into trying to integrate lnd into nix-bitcoin. Building is trivial. I unfortunately got stuck on starting the service for now. I will take another look at it in a few days.

from nix-bitcoin.

jonasnick avatar jonasnick commented on June 2, 2024

Hm, if it's as painful on iOS as you're saying then that should be fixed. Would be easier if there was an iOS app for/alternative to spark, but if someone is motivated to add lnd I'd support it.

from nix-bitcoin.

nixbitcoin avatar nixbitcoin commented on June 2, 2024

I don't think adding clearnet functionality aligns with the nix-bitcoin networking model. If we do add this it should be an opt-in feature in configuration.nix. The inbound Tor HS model is crucial to the privacy and security of nix-bitcoin users.

Would there by any way to use iOS's VPN API with Wireguard in a limited fashion to only tunnel zap/spark-wallet (soon™) from iOS to nix-bitcoin nodes?

from nix-bitcoin.

stefan-mihaila avatar stefan-mihaila commented on June 2, 2024

In my view, that was the idea, to add an option to run (only) lnd on clearnet in configuration.nix.

Would there by any way to use iOS's VPN API with Wireguard in a limited fashion to only tunnel zap/spark-wallet (soon™) from iOS to nix-bitcoin nodes?

I am not sure that I understand your suggestion. Are you suggesting adding a Wireguard VPN server to nix-bitcoin and using iOS's VPN API to connect to that server? I am definitely open to give it a try. I'll try making the lnd service work over Tor first, then we'll see about how we can connect from iOS apps to it...

from nix-bitcoin.

nixbitcoin avatar nixbitcoin commented on June 2, 2024

Are you suggesting adding a Wireguard VPN server to nix-bitcoin and using iOS's VPN API to connect to that server?

Yes, seems like the only way to connect to a nix-bitcoin node from iOS without exposing the nix-bitcoin node to the clearnet, with all the security and NAT problems that entails. Although you lose a considerable degree of privacy against network adversaries when using Wireguard instead of Tor.

Could Zap bundle Tor in their iOS App?

from nix-bitcoin.

stefan-mihaila avatar stefan-mihaila commented on June 2, 2024

Could Zap bundle Tor in their iOS App?

Looks like Zap's iOS main contributor gave it a try already, but didn't manage to get it working for the time being: LN-Zap/zap-iOS#62

from nix-bitcoin.

stefan-mihaila avatar stefan-mihaila commented on June 2, 2024

Could Zap bundle Tor in their iOS App?

I had a chat with @ottosuess recently. He said that Zap could connect to lnd over tor, if it used REST instead of gRPC. I'll try to give him a hand with implementing REST in Zap, after getting #107 ready for merge.

from nix-bitcoin.

nixbitcoin avatar nixbitcoin commented on June 2, 2024

As far as I can tell Zap supports connecting over Tor on iOS since LN-Zap/zap-iOS#272

Guide is available here: https://github.com/openoms/bitcoin-tutorials/blob/master/Zap_to_RaspiBlitz_through_Tor.md

@stefan-mihaila maybe think about documenting this nix-bitcoin specific in docs/usage.md

from nix-bitcoin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.