mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-02-14 04:36:21 +00:00
25ff32446f
A recent revision of the Ethereum white paper removes the denominations labeled 'lovelace', 'babbage' and 'shannon' [1]. This commit reflects the change to the whitepaper by removing the corresponding labels from the Denomination enum (as an aside, note the discrepancy between 'lovelace' in the whitepaper and 'ada' in our implementation). go-ethereum still contains these values, but cpp-ethereum does not. This commit assumes that the whitepaper and cpp implementation represent the current consensus on explicitly named denominations. By the same rationale, the 'douglas' and 'einstein' labels have been removed as well. These values never appeared in the whitepaper or cpp implementations. They were introduced to the go implementation in ethereum/go-ethereum@e7d9bcd, but because the whitepaper and cpp implementation are silent on these values, they are omitted here. [1]: http://git.io/xJJf7g
ethereum-core
Include ethereum-core in your project
- Add http://dl.bintray.com/ethereum/maven as a repository to your build script
- Add a dependency on
org.ethereum:ethereumj:$version
, where$version
is one of those listed at https://bintray.com/ethereum/maven/org.ethereum/view
Examples
See ethereumj-studio.
Build from source
Compile, test and package
Run ../gradlew build
.
- find jar artifacts at
build/libs
- find unit test and code coverage reports at
build/reports
Run an ethereum node
- run
../gradlew run
, or - build a standalone executable jar with
../gradlew shadow
and execute the-all
jar inbuild/libs
usingjava -jar [jarfile]
.
Import sources into IntelliJ IDEA
Use IDEA 14 or better and import project based on Gradle sources.
Note that in order to build the project without errors in IDEA, you will need to run gradle antlr4
manually.
Install artifacts into your local ~/.m2
repository
Run ../gradlew install
.
Publish ethereumj-core builds
TODO: integrate bintray gradle plugin