Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 1.5 KB

README.adoc

File metadata and controls

49 lines (28 loc) · 1.5 KB

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.