askiiRobotics / hedera-sdk-java

Java SDK for interacting with the Hedera API

Home Page:https://www.hedera.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hedera Java SDK

CircleCI Discord

The official Java SDK for interacting with Hedera Hashgraph: the official distributed consensus platform built using the hashgraph consensus algorithm for fast, fair and secure transactions. Hedera enables and empowers developers to build an entirely new class of decentralized applications.

Version is 0.1.0

The Hedera Java SDK uses semantic versioning.

Features supported include:

  • Micro-payments between two Accounts
  • Storing files to Hedera
  • Creating Solidity Smart Contracts
  • Executing Smart Contracts

Getting started

Pre-requisites

Installing

From Eclipse or IntelliJ:

  • Right click on pom.xml
  • Run As -> Maven Install

From CLI:

$> mvn install

Note that the .proto files are compiled with Maven, so the project may initially look full of errors, this is normal.

If there are still some project issues, try a Maven project update and project clean followed by a Maven install.

Running the examples

A node.properties.sample is provided, copy the file to node.properties and update with your account details, the details of the node you want to communicate to and finally, your private and public keys (as hex strings). This file is ignored by git so all changes will remain local.

Javadocs

Javadocs are generated automatically as part of the Maven build (if run from Eclipse, make sure your JAVA HOME is set otherwise the build will fail). They are generated as a JAR file which is compiled into the target/ folder.

More information

To learn more about Hedera visit The Hedera Site.

If you want to contribute please review the Contributing Guide.

Need help?

License

Copyright (c) 2018-present, Hedera Hashgraph LLC.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Java SDK for interacting with the Hedera API

https://www.hedera.com

License:Apache License 2.0


Languages

Language:Java 100.0%