GithubHelp home page GithubHelp logo

ltd's Introduction

Lightning-Taro Daemon (ltd)

Integrated Lnd and Taro daemon, with Terminal on the side. Basically Lightning Voltron. Currently restricted to testnet mode.

Installation

git, make, nodejs/yarn, and go 1.18+ are required.

git clone https://github.com/jacohend/ltd.git

cd ltd && make install-go

source ~/.bashrc  # reload shell for go install

make build-all

Usage

lncli and tarocli required for wallet creation and interaction. The Makefile should build these binaries for you.

First run ltd in one shell:

./ltd --network=testnet --uipassword=changethis --ip=127.0.0.1 --log_level=debug

Then open another shell and create the wallet with lncli:

# create wallet. Be sure to save your passsword and seed phrase!
./lncli --rpcserver 127.0.0.1:10009 --lnddir=~/.lnd --macaroonpath=~/.lnd/data/chain/bitcoin/testnet/admin.macaroon --tlscertpath=~/.lnd/tls.cert create

# create address
./lncli --rpcserver 127.0.0.1:10009 --lnddir=~/.lnd --macaroonpath=~/.lnd/data/chain/bitcoin/testnet/admin.macaroon --tlscertpath=~/.lnd/tls.cert newaddress p2tr

# later you can unlock the wallet when you need to: 
./lncli --rpcserver 127.0.0.1:10009 --lnddir=~/.lnd --macaroonpath=~/.lnd/data/chain/bitcoin/testnet/admin.macaroon --tlscertpath=~/.lnd/tls.cert unlock

You can interact with taro as well, such as minting new assets:

./tarocli assets mint --type=normal --name=waynechain --supply=2100000000000000 --meta=wayne --enable_emission
{
    "batch_key": "0385b55688b9170d2d4f613a5fa7fcb988ae0a0f6e61a7e72184e77236611b556e"
}

The Lightning Terminal UI will be accessible at http://localhost:8443

ltd's People

Contributors

jacohend avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

22388o

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.