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.
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
- 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.
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 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.
To learn more about Hedera visit The Hedera Site.
If you want to contribute please review the Contributing Guide.
- Ask questions in Discord
- Open a ticket in GitHub issue tracker
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.