2015-05-28 18:17:24 +00:00
# Welcome to EthereumJ for Android
2014-07-27 20:12:53 +00:00
2014-12-26 22:51:34 +00:00
# About
2015-05-28 18:17:24 +00:00
EthereumJ is a pure-Java implementation of the Ethereum protocol. For high-level information about Ethereum and its goals, visit [ethereum.org ](https://ethereum.org ). The [ethereum white paper ](https://github.com/ethereum/wiki/wiki/%5BEnglish%5D-White-Paper ) provides a complete conceptual overview, and the [yellow paper ](http://gavwood.com/Paper.pdf ) provides a formal definition of the protocol.
This is an Android-optimized fork of [EthereumJ ](https://github.com/ethereum/ethereumj ).
2014-06-21 15:21:44 +00:00
2014-12-26 22:51:34 +00:00
This repository consists of:
2015-05-28 17:46:11 +00:00
* [ethereum-core ](ethereumj-core ): a android compatible library of ethereumj-core .
* [app]: a simple mockup GUI for exploring Ethereum functionality and usage.
2014-09-10 06:17:23 +00:00
2015-05-29 15:05:30 +00:00
# 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};
2014-09-19 10:37:38 +00:00
# Todo
2015-05-29 15:05:30 +00:00
- Android-specific BlockStore Implementation
2015-06-08 14:20:36 +00:00
- JSON-RPC Server
2015-05-29 15:05:30 +00:00
2015-05-28 17:46:11 +00:00
This is a work in progress.
2014-06-21 15:21:44 +00:00
2015-05-28 18:27:57 +00:00
# Gotchas
Old devices will fail to auth in time and will be rejected by peers, please use modern devices.
2014-12-26 22:51:34 +00:00
# Building from source
2014-12-27 01:36:47 +00:00
2015-06-05 09:02:26 +00:00
- Clone this repository and run (make sure clean from previous builds)
`./gradlew build`
2015-05-28 18:17:24 +00:00
- Install onto Android Device
`adb install -r app/build/outputs/apk/app-debug.apk`
2014-06-21 15:21:44 +00:00
2014-12-26 08:36:37 +00:00
# License
2015-05-28 18:17:24 +00:00
EthereumJ is released under the [MIT license ](LICENSE ).