Skip to content
A Java library for interacting with the Libra blockchain
Java
Branch: master
Clone or download
Latest commit 2219f07 Aug 17, 2019

README.md

jlibra

CircleCI Codacy Badge

A Java library for interacting with the Libra blockchain

Overview

Prerequisites

  • JDK 8+
  • Maven 3+

Setup

  • Clone this repo
  • Build project with mvn install

Try the examples

Start sample Main classes in dev.jlibra.example package for examples

GenerateKeysExample

GetAccountStateExample

GetAccountTransactionBySequenceNumberExample

ImportAccountMnemonicExample

MintExample

TransferExample

Use JLibra in your project

Maven:

<dependency>
  <groupId>dev.jlibra</groupId>
  <artifactId>jlibra-core</artifactId>
  <version>0.0.2</version>
</dependency>

Gradle:

compile("dev.jlibra:jlibra-core:0.0.2")

How-Tos & Step-by-Step Guides

How-Tos and Step-by-Step Guides are gathered in a separate document.

Known Issues

Transaction is not executed, but without errors (no events, no transaction in librabrowser.io)

  1. The execution of the example main classes might terminate before the actual action is performed.
  • To prevent this, add Thread.sleep(2000) after the last statement of the example.
  1. You might have specified too few gas.
  • Try increasing maxGasAmount.

Contributors

Projects using JLibra

You can’t perform that action at this time.