All Projects → ArkEcosystemArchive → ark-java

ArkEcosystemArchive / ark-java

Licence: MIT license
Library for interacting with an Ark Ecosystem Blockchain using the JVM.

Programming Languages

groovy
2714 projects

Projects that are alternatives of or similar to ark-java

ark-invest-api
📈 API for tracking holdings and trades of ARK Invest funds
Stars: ✭ 49 (+226.67%)
Mutual labels:  ark
scalecube-config
ScaleCube Config is a configuration access management library for JVM based distributed applications
Stars: ✭ 15 (+0%)
Mutual labels:  jvm
jni-bind
JNI Bind is a set of advanced syntactic sugar for writing efficient correct JNI Code in C++17 (and up).
Stars: ✭ 42 (+180%)
Mutual labels:  jvm
JavaYouth
主要是Java技术栈的文章,涉及到了源码、原理,面试等知识。如AQS,JVM,rpc,计网,os等等,后续可能会写mysql,redis,zk这些
Stars: ✭ 616 (+4006.67%)
Mutual labels:  jvm
xoom-cluster
The VLINGO XOOM platform SDK cluster management for Reactive, scalable resiliency of JVM tools and applications running on XOOM LATTICE and XOOM ACTORS.
Stars: ✭ 25 (+66.67%)
Mutual labels:  jvm
play-scala-seed.g8
Play Scala Seed Template: run "sbt new playframework/play-scala-seed.g8"
Stars: ✭ 66 (+340%)
Mutual labels:  jvm
cryostat
Secure JDK Flight Recorder management for containerized JVMs
Stars: ✭ 147 (+880%)
Mutual labels:  jvm
Java-CS-Record
记录准备春招实习过程中,学习与复习的知识(模块化整理,非面试题速成)。注:暂停更新,后续请移步博客
Stars: ✭ 73 (+386.67%)
Mutual labels:  jvm
jvmBASIC
A BASIC to JVM bytecode compiler
Stars: ✭ 40 (+166.67%)
Mutual labels:  jvm
imgui-java
JNI based binding for Dear ImGui
Stars: ✭ 270 (+1700%)
Mutual labels:  jvm
dev-feed
Flutter-based mobile app displaying a list of daily curated content from top engineering blogs and articles. Backed by a GraphQL-based API written in Kotlin..
Stars: ✭ 20 (+33.33%)
Mutual labels:  jvm
bellsoft-liberica
A Cloud Native Buildpack that provides the Bellsoft Liberica implementations of JREs and JDKs
Stars: ✭ 33 (+120%)
Mutual labels:  jvm
etebase-java
A Java/Android client library for Etebase
Stars: ✭ 46 (+206.67%)
Mutual labels:  jvm
Larkator
ARK dino locator that uses your saved .ark
Stars: ✭ 42 (+180%)
Mutual labels:  ark
hello-kotlin-multiplatform
Multiplatform Kotlin Hello World (Android/Java/JavaScript)
Stars: ✭ 64 (+326.67%)
Mutual labels:  jvm
ARK
ARK is a lightweight, agile, elastic, distributed plugin framework written in C++,make it easier and faster to create your own application service.
Stars: ✭ 411 (+2640%)
Mutual labels:  ark
hsbeat
Beat for Java HotSpot VM
Stars: ✭ 24 (+60%)
Mutual labels:  jvm
mini-jvm
Go语言实现的JVM,实现了部分字节码的解释执行,学习JVM使用
Stars: ✭ 29 (+93.33%)
Mutual labels:  jvm
play-java-rest-api-example
REST API using Play in Java
Stars: ✭ 44 (+193.33%)
Mutual labels:  jvm
backlog-board
This is Kanban Board connected to Backlog
Stars: ✭ 18 (+20%)
Mutual labels:  jvm

ark-java

Lite client library in Java

Download

Authors

FX Thoorens [email protected]

Installation

Using Java

  • Download the .jar from the Maven repository https://dl.bintray.com/arkecosystem/ark-java/
  • Add it to your project and import io.ark.*

Maven

Add this under <dependencies>

<dependency>
  <groupId>io.ark.lite</groupId>
  <artifactId>client</artifactId>
  <version>0.3</version>
  <scope>compile</scope>
</dependency>

Gradle

Add this line under dependencies

compile 'io.ark.lite:client:0.3'

See an example gradle app here: https://github.com/arkecosystem/ark-java-example

Using Groovy

Install groovy: http://groovy-lang.org/install.html

Example:

@GrabResolver(name='ark-java', root='https://dl.bintray.com/arkecosystem/ark-java/')
@Grab('io.ark.lite:client:0.3')

import io.ark.core.*

// grab mainnet network settings and warm it up
def mainnet = Network.Mainnet
mainnet.warmup()

// create a transaction
def transaction = Transaction.createTransaction("AXoXnFi4z1Z6aFvjEYkDVCtBGW2PaRiM25", 133380000000, "This is first transaction from JAVA", "this is a top secret passphrase")

// Post transaction to a peer
def peer = mainnet.randomPeer
println peer << transaction

// broadcast transaction to several peers on mainnet
println mainnet << transaction

Run the example Groovy code by doing: groovy example/Example.groovy

Security

If you discover a security vulnerability within this library, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed.

License

The MIT License (MIT)

Copyright (c) 2017 Ark

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].