Coder Social home page Coder Social logo

surge's Introduction

Surge

Surge is a highly experimental, self-custody Lightning wallet built to work for iOS and macOS.

Motivation

Tools and infrastructure for running a non-custodial Lightning wallet is advancing fast. Surge aims to be a project that developers can reference for "recipes" on how to implement a Lightning wallet with Lightning Development Kit.

This project will strive and do its best in demonstrating idioms for implementation on Apple platforms. It includes things like properly handling lightning:// URIs to encrypting and persisting channel material on-disk.

Therefore, if you see something that looks like bad Swift code, please file an issue! :)

Support

Surge currently is aiming to support the following environments/setups:

  • Regtest (with Polar)
  • Testnet w/ Bitcoin Core
  • Testnet w/ Electrum

License

See LICENSE.md

surge's People

Contributors

jurvis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

surge's Issues

Adding and managing peers

Implement a screen that allows users to copy a pubkey and add another node as a peer, and also to reconnect to them on resume from background/cold start

Opening a channel with a peer on Regtest

Be able to select a peer, input the amount of liquidity to lock in, and receive an address to fund the channel

Instead of requiring users to manually send the funds and mine blocks in CLI, let's do it automatically for them.

Encrypt channel material on disk

NSKeyed(Un)Archiver works okay for storing the network graph, channel monitors, and channel manager on disk.

However, we should encrypt that data on disk since they can leak through the Documents directory and can contain information related to the user's payments

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.