EthereumJ for Personal Devices DEPRECATED
Go to file
Adrian Tiberius 24107a8e9c Implemented rpc server change functionality and added some rpc trace messages 2015-10-06 18:27:12 +03:00
app start JSON-RPC 2015-07-06 11:30:49 +03:00
ethereumj-core Implemented rpc server change functionality and added some rpc trace messages 2015-10-06 18:27:12 +03:00
ethereumj-core-android Implemented rpc server change functionality and added some rpc trace messages 2015-10-06 18:27:12 +03:00
gradle/wrapper Merged latest develop. 2015-06-17 14:50:47 +02:00
.coveralls.yml Initial support for Coveralls 2014-06-30 20:22:39 +02:00
.gitignore Added android app wrapper 2015-04-28 20:14:10 +03:00
.travis.yml Configure Travis to notify Gitter on failure and first success 2015-01-20 12:34:28 +01:00
LICENSE Open source project 2014-06-21 16:21:44 +01:00
README.md add jsonrpc server todo item 2015-06-08 16:20:36 +02:00
TODO.md Update TODO.md 2014-12-29 15:12:41 +02:00
build.gradle Cleaning: 2015-05-30 00:42:03 +02:00
gradle.properties Fix for lint OutOfMemory error. 2015-06-10 19:38:43 +02:00
gradlew Revert "Tweak gradlew script to print arguments before run" 2015-01-07 06:59:13 +01:00
gradlew.bat Move Gradle wrapper infrastructure to top level 2014-12-27 01:44:25 +01:00
proguard-rules.pro attempt to resolve some samsung issue, no luck 2015-05-03 11:37:30 +07:00
settings.gradle Cleaning: 2015-05-30 00:42:03 +02:00

README.md

Welcome to EthereumJ for Android

About

EthereumJ is a pure-Java implementation of the Ethereum protocol. For high-level information about Ethereum and its goals, visit ethereum.org. The ethereum white paper provides a complete conceptual overview, and the yellow paper provides a formal definition of the protocol.

This is an Android-optimized fork of EthereumJ.

This repository consists of:

  • ethereum-core: a android compatible library of ethereumj-core .
  • [app]: a simple mockup GUI for exploring Ethereum functionality and usage.

Deviations from EthereumJ

Code:

  • replaced Spring Framework Dependency Injection with Dagger 2 DI;
  • replaced org.springframework.util.FileSystemUtils with org.apache.commons.io.FileUtils;
  • replaced some worldManager injections with specific item injections from worldManager which were used;
  • replaced org.springframework.util.StringUtils.isEmpty with String.isEmpty();
  • replaced @PostConstruct annotation with explicit method invocation in contructor;
  • replaced java.nio.file.Files with org.apache.commons.io.FileUtils;
  • replaced javax.xml.bind.DatatypeConverter.hexStringToByteArray with custom implementation;
  • commented javax.swing references in Utils.java;

Gradle:

  • changed from java build to android build;
  • updated netty-all from 4.0.23 to 4.0.28;
  • disabled org.antlr:antlr4-runtime:4.5 ( use 4.0 from com.yuvalshavit:antlr-denter:1.1 );
  • replaced org.slf4j:slf4j-api:1.7.7 with org.slf4j:slf4j-android:1.7.12
  • removed org.javassist:javassist:3.15.0-GA;
  • removed log4j:log4j:${log4jVersion};
  • removed org.hibernate:hibernate-core:${hibernateVersion};
  • removed org.hibernate:hibernate-entitymanager:${hibernateVersion};
  • removed commons-dbcp:commons-dbcp:1.4;
  • removed redis.clients:jedis:2.6.0;
  • removed org.slf4j:slf4j-log4j12:${slf4jVersion};
  • removed log4j:apache-log4j-extras:${log4jVersion};

Todo

  • Android-specific BlockStore Implementation
  • JSON-RPC Server

This is a work in progress.

Gotchas

Old devices will fail to auth in time and will be rejected by peers, please use modern devices.

Building from source

  • Clone this repository and run (make sure clean from previous builds) ./gradlew build
  • Install onto Android Device adb install -r app/build/outputs/apk/app-debug.apk

License

EthereumJ is released under the MIT license.