EthereumJ for Personal Devices DEPRECATED
Go to file
Adrian Tiberius e46c7b59db Cleaning:
- cleaned test app;
- moved android specific code to its own library (ethereum-core-android);
- moved ethereum-core from android library build back to java build;
2015-05-30 00:42:03 +02:00
app Cleaning: 2015-05-30 00:42:03 +02:00
ethereum-core-android/src/main/java/org/ethereum/android Cleaning: 2015-05-30 00:42:03 +02:00
ethereumj-core Cleaning: 2015-05-30 00:42:03 +02:00
ethereumj-core-android Cleaning: 2015-05-30 00:42:03 +02:00
gradle/wrapper Set testing setup and upgrade gradle wrapper version 2015-03-16 23:53:18 +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 update readme with fork deviations 2015-05-29 17:09:06 +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 Added android app wrapper 2015-04-28 20:14:10 +03: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
  • Unit Tests

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 ./gradlew antlr4; ./gradlew build -x test
  • Install onto Android Device adb install -r app/build/outputs/apk/app-debug.apk

License

EthereumJ is released under the MIT license.