Skip to content

A tool to export Bitcoin Core wallet transactions as a double-entry accounting text file for ledger-cli

License

Notifications You must be signed in to change notification settings

ConsensusJ/WalletLedgerExport

Repository files navigation

WalletLedgerExport

GitHub Actions Gradle Build

Command-line tool for exporting Bitcoin Core (and Omni Core) transactions to Ledger CLI format.

Features

  • TBD

Building

JDK Build

Prerequisite

JDK 17 or later must be installed.

  1. Build and test

    1. ./gradlew build

  2. Build the tool and wrapper scripts.

    1. ./gradlew ledger-export-tool:installDist

To run the tool (via a generated shell script):

  1. ./ledger-export-tool/build/install/LedgerExport/bin/LedgerExport --help

GraalVM Build

Prerequisite

GraalVM 22.2.r17 or later must be installed. You must also make sure you have run gu install native-image.

  1. Build and test

    1. ./gradlew build

  2. Build the native command-line tool.

    1. ./gradlew nativeCompile

To run the natively-compiled binary tool:

  1. ./ledger-export-tool/build/native/nativeCompile/LedgerExport --help

Running

You’ll need a locally-running (i.e. accessible on localhost) Bitcoin Core (or Omni Core) with JSON-RPC service. LedgerExport will find the username and password in the bitcoin.conf file and connect to your running bitcoind (or omnicored) instance. Use the --help command to view the available command-line options.

About

A tool to export Bitcoin Core wallet transactions as a double-entry accounting text file for ledger-cli

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages