0xB10C / c-lightning-plugin-csvexportpays

A c-lightning plugin that exports all payments to a CSV file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A c-lightning plugin to export your payments as csv

This plugin exports all payments you've made with your c-lightning node to a CSV file.

# Start `lightningd` with the plugin specified as: 
lightningd --plugin=path/to/csvexportpays.py

# To export your payments run:
lightning-cli csvexportpays <output_file> [seperator] [headers]
# where `<>` is required and `[]` is optional.

# Example: 
lightning-cli csvexportpays ~/export.csv , True

# The CSV file contains the columns 
["status", "description", "amount", "paid amount", "creation time", "payee", "invoice as bolt11"]

screenshot

This plugin is partly based on Rene Pickhardt's simpleFundsOverview

About

A c-lightning plugin that exports all payments to a CSV file

License:MIT License


Languages

Language:Python 100.0%