Skip to content

Instantly share code, notes, and snippets.

@kiwiidb
kiwiidb / liquidity_ads.json
Last active November 16, 2022 15:07
Liquidity ads
[
{
"nodeid": "0380ef0209ff1b46c38a37cd40f613d1dae3eba481a909459d6c1434a0e56e5d8c",
"alias": "noserver4u | CLN",
"color": "ff0000",
"last_timestamp": 1667069635,
"features": "88a080282a69a2",
"addresses": [
{
"type": "ipv4",
@kiwiidb
kiwiidb / hodl-invoice.py
Last active November 1, 2022 08:42 — forked from MrHash/hodl-invoice.py
c-lightning hodl invoice plugin example only
#!/usr/bin/env python3
from lightning.plugin import Plugin
import json
plugin = Plugin()
heldinvoices = dict()
@plugin.init()
def init(options, configuration, plugin):
plugin.log("Plugin hodl-invoice initialized")