Skip to content
Apollo Source Code
Java CSS HTML TSQL Shell JavaScript Other
Branch: master
Clone or download
Latest commit af85b50 Oct 10, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
apl-api Version Bump Oct 9, 2019
apl-conf Version Bump Oct 9, 2019
apl-core open sendTransaction API Oct 10, 2019
apl-crypto Version Bump Oct 9, 2019
apl-desktop Version Bump Oct 9, 2019
apl-exec Version Bump Oct 9, 2019
apl-html Version Bump Oct 9, 2019
apl-tests Fixed installer's batch file, modified run scripts Apr 3, 2019
apl-tools Version Bump Oct 9, 2019
apl-updater Version Bump Oct 9, 2019
apl-utils Version Bump Oct 9, 2019
bin improved the interaction with JVM using the JAVA_OPT environment vari… Aug 27, 2019
conf/certs Bump version from 1.30.2 to 1.30.3, restore updater root cert, Apr 11, 2019
contrib Add chains and properties config loaders, add example configuration Jan 29, 2019
doc Dex key store fix Oct 7, 2019
release-notes cross-platform zip distribution added (checked, commented out. TODO: … Dec 6, 2018
sbin Add height monitor config for second testnet Jul 8, 2019
updater Fixed some bugs Oct 10, 2019
.gitignore Peer port honoring work in progress Apr 24, 2019
1.bin --no-shard-create cmdl line option added Jun 30, 2019
3RD-PARTY-LICENSES.txt Merge branch 'develop' into feature/APL-527-implement-sharding May 23, 2019
Dockerfile Dev to testnet. Updated branch Jun 15, 2018
LICENSE.txt Merge branch 'master' into dev Aug 3, 2018
README.md APL-778 integrated with new eth smart contract functions, generated n… Aug 26, 2019
VERSION Version Bump Oct 9, 2019
Wallet.url Dev to testnet. Updated branch Jun 15, 2018
favicon.ico some modifications to update scripts. Version escalate. Dec 18, 2018
log4j.xml pre-merge Feb 6, 2019
logback.xml pre-merge Feb 6, 2019
peers-1t.json Merge develop in to 1245 Sep 28, 2019
peers-2t.json Merge develop in to 1245 Sep 28, 2019
peers-3t.json Add height monitor for 3 testnet, minor code update for ShufflingObse… Jun 26, 2019
peers.json Remove nonexistent peer Jul 15, 2019
pom.xml Version Bump Oct 9, 2019
rq1.sh Trying to fix CDI deps in PeerServlet and handlersk Checking Inject a… Jul 2, 2019
run-integration-tests.sh Scripts moved. bin is user executables; updater - updater's scripts; … Jan 28, 2019
set_versions.sh Version dump for the exchange dev 1.38.5 Oct 4, 2019
update-attachment.json.example Rename update-attachment.json to update-attachment.json.example Apr 3, 2019

README.md

Apollo Blockchain Platform

Apollo is being developed by the Apollo Foundation and supporting members of the community.

Requirements

Java 11 is required to run the desktop clients.

Links

Specifications

Concensus: POS (Proof of Stake)

Total Supply: 21 Billion

Circulating: 15 Billion

Mining: Pre-Mined

Inflation: 0%

Build instruction

If you have already installed jdk 11 and maven, you can skip "Preparation steps" section, but its recommended to review your software versions using instructions from "Preparation steps" section

Preparation steps

  1. Download Java Development Kit (jdk), version 11
  2. Setup JAVA_HOME variable to point on unpacked jdk if not set
  3. Add to PATH variable path to java binaries -> JAVA_HOME/bin

    NOTE: if your computer has jdk 8, jdk 9 or jdk 10, you should remove it from PATH variable

  4. Open command line and execute: java -version.
Output example: 
  java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
  1. If version matches downloaded version, your java was installed successfully and you can proceed with next steps. If version does not match, delete old version, setup variables (JAVA_HOME, PATH) and try again. PATH should not contain few java bin directories!
  2. Download build tool for project - maven from official site
  3. Unpack maven binaries into convenient folder
  4. Create M2_HOME variable or update existing to point to unpacked maven folder
  5. Add to PATH variable path to maven binaries M2_HOME/bin
  6. Open command line and execute: mvn -v.
Output example:
  Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T21:41:47+03:00)
Maven home: /usr/local/maven Maven home: /usr/local/maven
Java version: 11.0.2, vendor: Oracle Corporation, runtime: /usr/java/jdk-11.0.2
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.20.16-200.fc29.x86_64", arch: "amd64", family: "unix"
  1. If maven version, javaHome and java_version matches your downloaded java and maven -> your maven was installed successfully and you are able to build and run wallet! Just choose your OS from the list below and perform specified steps.

Linux/MacOS

  • Clone repository using git command git clone or download archive file of source code
  • go to source directory
  • run mvn install
  • go to bin directory and run apl-run-desktop.sh
  • application should start in desktop mode
  • if you require command line mode -> use apl-run.sh instead of apl-run-desktop.sh

Windows

  • Clone repository using git command git clone or download archive file of source code
  • go to source directory
  • run mvn install
  • go to bin directory and run apl-run-desktop.bat
  • application should start in desktop mode
  • if you require command line mode -> use apl-run.bat instead of apl-run-desktop.bat

Command-line options

apl-exec.jar and all scripts accept command line options. To get list of available options, run with --help switch. Most important options:

    --net, -n index of network to run with. 0 is main net, 1 is 1st public test net with stable release,
    2 is 2nd testnet with development/staging code and 3 is 3rd test net with experimental features
    --testnet means run with 1st test net. Higher priority then --net switch

    --debug, -d  from 0 to 4. 0 is ERROR level of logs, 4 is TRACE

Example:

bin/apl-run.sh -d 4 -n 2

This command runs blockchain application with 2nd test net and debug level TRACE

IDE

Project is entirely on Maven v3 and could be loaded in any IDE that supports Maven.

DEX

Generate eth smart contract class.

$ web3j solidity generate --javaTypes -b dex.bin -a dex.abi -o $Path/Apollo/apl-core/src/main/java/com/apollocurrency/aplwallet/apl/eth/contracts/ -p com.apollocurrency.aplwallet.apl.eth.contracts

You can’t perform that action at this time.