All Projects → fiatjaf → trustedcoin

fiatjaf / trustedcoin

Licence: other
A lightningd plugin that replaces your own Bitcoin Core node with trusted public explorers.

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to trustedcoin

lightning-qt
bitcoin-qt for lightningd
Stars: ✭ 36 (+50%)
Mutual labels:  lightning, lightning-network, c-lightning
lightningtip
Get tips via the Lightning Network
Stars: ✭ 91 (+279.17%)
Mutual labels:  lightning, lightning-network
bitcoin-stack
Docker setup for Bitcoin, Elements/Liquid, LND, C-Lightning, Eclair, & Electrs in regtest mode
Stars: ✭ 66 (+175%)
Mutual labels:  lightning-network, c-lightning
shango-lightning-wallet
Shango Lightning Wallet
Stars: ✭ 65 (+170.83%)
Mutual labels:  lightning, lightning-network
umbrel-middleware
RESTful Bitcoin and Lightning API for Umbrel
Stars: ✭ 21 (-12.5%)
Mutual labels:  lightning, lightning-network
lightningj
Core implementation of the lightningj API implementations.
Stars: ✭ 41 (+70.83%)
Mutual labels:  lightning, lightning-network
zapread.com
Website for zapread.com
Stars: ✭ 19 (-20.83%)
Mutual labels:  lightning, lightning-network
Lndhub
Wrapper for Lightning Network Daemon. It provides separate accounts and trust minimization for end users
Stars: ✭ 203 (+745.83%)
Mutual labels:  lightning, lightning-network
pi-factory
Bootstrap a bitcoin lightning box for Raspberry Pi 3 based on Alpine Linux
Stars: ✭ 17 (-29.17%)
Mutual labels:  lightning, lightning-network
lightning-browser-extension
The Bitcoin Lightning Browser extension that connects to different wallet interfaces and brings deep lightning integration to the web
Stars: ✭ 194 (+708.33%)
Mutual labels:  lightning, lightning-network
lnregtest
Regtest Lightning Networks for (python) integration testing
Stars: ✭ 17 (-29.17%)
Mutual labels:  lightning, lightning-network
lntop
⚡ LN terminal dashboard 📊
Stars: ✭ 170 (+608.33%)
Mutual labels:  lightning, lightning-network
Eclair Mobile
An Android wallet for the Lightning Network
Stars: ✭ 231 (+862.5%)
Mutual labels:  lightning, lightning-network
rawtxapp
⚡️A lightning network wallet (https://rawtx.com).
Stars: ✭ 56 (+133.33%)
Mutual labels:  lightning, lightning-network
Spark Wallet
⚡️ A minimalistic wallet GUI for c-lightning, accessible over the web or through mobile and desktop apps.
Stars: ✭ 215 (+795.83%)
Mutual labels:  lightning, lightning-network
lightning-jet
Lightning Jet is a fully automated rebalancer for Lightning nodes. Jet optimizes channel liquidity allocation based on routing volume, missed routing opportunities (htlcs), and other variables.
Stars: ✭ 33 (+37.5%)
Mutual labels:  lightning, lightning-network
Lncli Web
Light-weight web client for the lnd daemon written in NodeJS / Angular.
Stars: ✭ 181 (+654.17%)
Mutual labels:  lightning, lightning-network
Ln Service
Node.js interface to LND
Stars: ✭ 191 (+695.83%)
Mutual labels:  lightning, lightning-network
lnd-routing
Lightning network liquidity service
Stars: ✭ 16 (-33.33%)
Mutual labels:  lightning, lightning-network
kwh
webln browser extension for lightningd/eclair/ptarmigan
Stars: ✭ 26 (+8.33%)
Mutual labels:  lightning-network, c-lightning

The trustedcoin plugin

A plugin that uses block explorers (blockstream.info, mempool.space, blockchair.com and blockchain.info) as backends instead of your own Bitcoin node.

This isn't what you should be doing, but sometimes you may need it.

(Remember this will download all blocks c-lightning needs from blockchain.info or blockchair.com in raw, hex format.)

How to install

This is distributed as a single binary for your delight (or you can compile it yourself with go get, or ask me for binaries for other systems if you need them).

Download it, call chmod +x <binary> and put it in ~/.lightning/plugins (create that directory if it doesn't exist).

You only need the binary you can get in the releases page, nothing else.

Then add the following line to your ~/.lightning/config file:

disable-plugin=bcli

This disables the default Bitcoin backend plugin so trustedcoin can take its place.

If you're running on testnet or liquid trustedcoin will also work automatically.

Extra: how to bootstrap a Lightning node from scratch, without Bitcoin Core, on Ubuntu amd64

add-apt-repository ppa:lightningnetwork/ppa
apt update
apt install lightningd
mkdir -p ~/.lightning/plugins
echo 'disable-plugin=bcli' >> .lightning/config
cd ~/.lightning/plugins
wget https://github.com/fiatjaf/trustedcoin/releases/download/v0.4.0/trustedcoin_linux_amd64
chmod +x trustedcoin_linux_amd64
cd
lightningd

How to build

  1. Install gox
go get -v github.com/mitchellh/gox
  1. Ensure gox is visible, i.e. presents in your $PATH. Assuming that you have set up $GOPATH, your PATH has to have additional location $GOPATH/bin.

  2. Run make inside trustedcoin directory. The gox should log build process as it shown below.

-->       linux/386: github.com/fiatjaf/trustedcoin
-->       linux/arm: github.com/fiatjaf/trustedcoin
-->     linux/amd64: github.com/fiatjaf/trustedcoin
-->   freebsd/amd64: github.com/fiatjaf/trustedcoin
-->    darwin/amd64: github.com/fiatjaf/trustedcoin
  1. Ensure lightningd-gjson-rpc is built
go get -v github.com/fiatjaf/lightningd-gjson-rpc

Project lightningd-gjson-rpc

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].