Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacohend/ltd
Lightning-Taro Daemon
https://github.com/jacohend/ltd
bitcoin lightning lightning-terminal minting taproot taro
Last synced: 3 months ago
JSON representation
Lightning-Taro Daemon
- Host: GitHub
- URL: https://github.com/jacohend/ltd
- Owner: jacohend
- Created: 2022-10-09T04:27:25.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-25T01:51:42.000Z (almost 2 years ago)
- Last Synced: 2024-06-21T17:53:15.933Z (5 months ago)
- Topics: bitcoin, lightning, lightning-terminal, minting, taproot, taro
- Language: Go
- Homepage:
- Size: 229 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-taproot-assets - Lightning-TaprootAssets
README
# 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.
```bash
git clone https://github.com/jacohend/ltd.gitcd 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:
```bash
./ltd --network=testnet --uipassword=changethis --ip=127.0.0.1 --log_level=debug
```Then open another shell and create the wallet with `lncli`:
```bash
# 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:
```bash
./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