Skip to content

drakoFukayu/ledger-wallet-daemon

 
 

Repository files navigation

ledger-wallet-daemon · CircleCI

Updating the libcore

When a new version of the libcore is available, we need to update our bindings.

  1. Build the libcore, both for linux and osx. The instructions to do so are available on the libcore repo. FYI, here's what it looks like as of writing this readme:
# cd to the parent directory of the wallet-daemon
git clone --recurse-submodules https://github.com/LedgerHQ/lib-ledger-core.git
mkdir lib-ledger-core-build
cd lib-ledger-core-build
cmake -DBUILD_TESTS=OFF -DTARGET_JNI=ON ../lib-ledger-core && make
  1. Do the above step for both linux (on the beta machine as user ledger) and on a mac.

  2. Copy both .so and .dylib files to lib-ledger-core-build/core/src on your personal machine.

  3. From the directory of the wallet-daemon, run ./package_libcore.sh

  4. Push the changes to upstream

  5. Add a tag on the new commit with the version of the ledger-core-lib, or the commit hash if no version was tagged

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 52.3%
  • Java 47.2%
  • Other 0.5%