Coder Social home page Coder Social logo

jholdstock / lightning-faucet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from decred/lightning-faucet

0.0 2.0 0.0 2.87 MB

A faucet for the Lightning Network!

Home Page: https://faucet.lightning.community

License: MIT License

Go 73.10% HTML 20.76% CSS 5.12% Shell 1.03%

lightning-faucet's Introduction

lightning-faucet

Build Status MIT License

Lightning Network Faucet Overview

The Lightning Network Faucet is a faucet that is currently deployed on the Decred testnet. The following faucets are currently available:

The Testnet Lightning Faucet (TLF) is similar to other existing Decred faucets. However, rather then sending dcr directly on-chain to a user of the faucet, the TLF will instead open a payment channel with the target user. The user can then either use their new link to the Lightning Network to facilitate payments, or immediately close the channel (which immediately credits them on-chain like regular faucets).

Currently the TLF is only compatible with dcrlnd.

Installation

In order to build from source, the following build dependencies are required:

  • Go: Installation instructions can be found here.

Minimum Go version supported is 1.11. This project uses go modules, so either compile it with GO111MODULES=on or outside of the $GOPATH.

With the preliminary steps completed, to install the Testnet Lightning Faucet

$ git clone https://github.com/decred/lightning-faucet src/github.com/decred/lightning-faucet
$ cd src/github.com/decred/lightning-faucet
$ go install -v

Deploying The Faucet

Once you have the faucet installed, you'll need to ensure you have a local dcrlnd active and fully synced.

Once the node is synced, execute the following command (from this directory) to deploy the faucet:

lightning-faucet --lnd_node=X.X.X.X:10009

Where X.X.X.X:10009 is the IP address and port for your active dcrlnd node.

To enable HTTPS support via Let's Encrypt, specify a few additional options:

lightning-faucet --lnd_node=X.X.X.X:10009 --use_le_https --domain my-faucet-domain.example.com

lightning-faucet's People

Contributors

roasbeef avatar fguisso avatar matheusd avatar dajohi avatar jholdstock avatar davecgh avatar vctt94 avatar junderw avatar infertux avatar halseth avatar maxfangx avatar kaplanmaxe avatar qpakzk avatar

Watchers

James Cloos avatar  avatar

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.