Trustedcoin
A lightningd plugin that replaces bitcoind with trusted public explorers.
Install / Use
/learn @nbd-wtf/TrustedcoinREADME
<a href="https://nbd.wtf"><img align="right" height="196" src="https://user-images.githubusercontent.com/1653275/194609043-0add674b-dd40-41ed-986c-ab4a2e053092.png" /></a>
The trustedcoin plugin
A plugin that uses block explorers (blockstream.info, mempool.space, mempool.emzy.de, blockchair.com, blockchain.info -- suggest others) 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 CLN needs from one of these providers.)
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, signet or liquid trustedcoin will also work automatically.
Using bitcoind
If you have bitcoind available and start lightningd with the settings bitcoin-rpcuser, bitcoin-rpcpassword, and optionally bitcoin-rpcconnect (defaults to 127.0.0.1) and bitcoin-rpcport (defaults to 8332 on mainnet etc.), then trustedcoin will try to use that and fall back to the explorers when it is not available -- so now you can have a node running at home and it will not be the end of the world for your CLN node when there is a power outage.
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/nbd-wtf/trustedcoin/releases/download/v0.8.6/trustedcoin-v0.8.6-linux-amd64.tar.gz
tar -xvf trustedcoin-v0.8.6-linux-amd64.tar.gz
cd
lightningd
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
