Skip to content
This repository has been archived by the owner on Dec 19, 2020. It is now read-only.

00-matt/monerorpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

monerorpc

A Java interface for Monero wallet and daemon RPC.

Features

  • Async
  • Easy to use
  • Safe

Installation

(note: requires Java 11)

Maven

<dependency>
	<groupId>uk.offtopica</groupId>
	<artifactId>monerorpc</artifactId>
	<version>0.3.0</version>
</dependency>

Gradle

compile group: 'uk.offtopica', name: 'monerorpc', version: '0.3.0'

Example

import uk.offtopica.monerorpc.daemon.MoneroDaemonRpcClient;

import java.net.URI;

public class Example {
	public static void main(String[] args) throws Exception {
		MoneroDaemonRpcClient daemon =
			new MoneroDaemonRpcClient(URI.create("http://localhost:18081/json_rpc"));
		System.out.printf("%d\n", daemon.getBlockCount().get());
	}
}

Projects Using This Library

License

Released under the terms of the MIT license. See LICENSE for more information.

About

Java interface for Monero wallet and daemon RPC

Topics

Resources

License

Stars

Watchers

Forks

Languages