Giter VIP home page Giter VIP logo

ethereumj-personal's Introduction

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.

ethereumj-personal's People

Contributors

romanman avatar nicksavers avatar cbeams avatar adrian-tiberius avatar khan-faiz avatar eugene-shevchenko avatar 0xc1c4da avatar alonmuroch avatar ligi avatar davassi avatar biafra23 avatar devrandom avatar benadrasni avatar bitcoinzie avatar marcegarba avatar deskenny avatar gitter-badger avatar gubatron avatar

Watchers

 avatar

Forkers

nobody-ai-eng

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.