White Paper Apollo - en .V1
White Paper Apollo - en .V1
APOLLO
White Paper Version 1.0
– December 5, 2017
Contents
Abstract............................................................................................................................................ 2
Realizing the Potential of Blockchain ............................................................................................ 2
What is Blockchain? ....................................................................................................................... 2
1. APOLLO Overview .................................................................................................................. 4
2. Core technologies ................................................................................................................... 5
2.1 Proof of Stake .................................................................................................................. 5
2.1.1 APOLLO’s Proof of Stake Model ................................................................................ 6
2.2 Tokens .............................................................................................................................. 7
2.3 Network Nodes ................................................................................................................ 7
2.4 Blocks ............................................................................................................................... 8
2.4.1 Block Creation (Forging) ............................................................................................. 8
2.4.2 Accounts..................................................................................................................... 11
2.4.3 Transactions............................................................................................................... 12
2.5 Cryptographic Foundations .......................................................................................... 15
3. Core Features........................................................................................................................ 17
3.1 Basic Payments ............................................................................................................. 17
3.2 Crypto Messaging.......................................................................................................... 17
3.3 Asset Exchange ............................................................................................................. 17
3.4 P2P Marketplace ........................................................................................................... 17
3.5 Device Portability ........................................................................................................... 17
4. Proof of Work vs Proof of Stake .......................................................................................... 18
4.1 Reward Model ................................................................................................................ 18
4.1.1 What is the APOLLO Forging Block Reward? ........................................................ 19
4.1.2 How is the Block Reward Determined? ................................................................... 19
4.1.3 Importance of the Block Reward .............................................................................. 19
Conclusion ..................................................................................................................................... 20
Page 1
APOLLO Blockchain White Paper
References .................................................................................................................................... 21
Abstract
The internet is entering a second era that’s based on blockchain. The last few
decades brought us the internet of information. We are now witnessing the rise of the
internet of value. Where the first era was sparked by a convergence of computing
and communications technologies, this second era will be powered by a clever
combination of cryptography, mathematics, software engineering and behavioural
economics.
What is Blockchain?
Each blockchain, like the one that uses bitcoin, is distributed: it runs on computers
provided by volunteers around the world; there is no central database to hack or shut
down. We can send money and soon any form of digitized value – from stocks and
bonds to intellectual property, art, music and even votes – directly and safely
between us without going through a bank, a credit-card company, PayPal or Western
Union, social network, government or other middleman.
In many cases, blockchain is public: anyone can view it at any time because it
resides on the network, not within a single institution charged with auditing
transactions and keeping records. No one can hide a transaction, and that makes
bitcoin more traceable than cash.
Blockchain is, for the most part, inclusive. The blockchain through what he called
“simplified payment verification” mode that can work on a mobile device. Now
anyone with a flip phone can participate in the global economy; no documentation is
required to be trusted.
Page 2
APOLLO Blockchain White Paper
Page 3
APOLLO Blockchain White Paper
1. APOLLO Overview
Blocks are generated every 60 seconds, on average, by accounts that are unlocked
on network nodes. Since the full token supply already exists, APOLLO is
redistributed through the inclusion of transaction fees which are awarded to an
account when it successfully creates a block. This process is known as forging, and
is akin to the “mining” concept employed by other cryptocurrencies. Transactions are
deemed safe after 10 block confirmations, and APOLLO’s current architecture and
block size cap allows for the processing of up to 367,200 transactions per day.
APOLLO transactions are based on a series of core transaction types that do not
require any script processing or transaction input/output processing on the part of
network nodes. These transaction primitives allow core support for:
• a fully-decentralized asset exchange
• alias creation, transfer and sale
• storage of small, optionally-encryptable strings of data on the blockchain
• a digital goods store
• account control features
• a voting system
• asset exchange dividend payments
• a monetary system for facilitating the creation of new cryptocurrencies
and associated services that are secured by the APOLLO blockchain
Page 4
APOLLO Blockchain White Paper
This version of the whitepaper documents features and algorithms that are
implemented in APOLLO of version 1.0. Future revisions will be made to reflect
additional planned features and algorithm changes.
2. Core technologies
Bitcoin’s creator, Satoshi Nakamoto, intended for the bitcoin network to be fully
decentralized, but nobody could have predicted that the incentives provided by Proof
of Work systems would result in the centralization of the mining process. This leads
to possible vulnerabilities. The GHash.io bitcoin pool has reached 51% of the bitcoin
mining power in the past, and the top five bitcoin mining pools make up 70% of the
Bitcoin network’s hashing power. The concept of decentralization is at risk of being
completely lost.
In the Proof of Stake model used by APOLLO, network security is governed by peers
having a stake in the network. The incentives provided by this algorithm do not
promote centralization in the same way that Proof of Work algorithms do, and data
shows that the APOLLO network has remained highly decentralized since its
inception.
Page 5
APOLLO Blockchain White Paper
APOLLO uses a system where each "coin" in an account can be thought of as a tiny
mining rig. The more tokens that are held in the account, the greater the chance that
account will earn the right to generate a block. The total "reward" received as a result
of block generation is the sum of the transaction fees located within the block.
APOLLO does not generate any new tokens as a result of block creation.
Redistribution of APOLLO takes place as a result of block generators receiving
transaction fees, so the term "forging" (meaning in this context "to create a
relationship or new conditions") is used instead of “mining”.
Today, the block reward model also incorporates into APOLLO blockchain design
(for details refer to 4.1 Reward Model).
The security of the blockchain is always of concern in Proof of Stake systems. The
following basic principles apply to APOLLO’s Proof of Stake algorithm:
• To prevent account holders from moving their stake from one account to another as
a means of manipulating their probability of block generation, tokens must be
stationary within an account for 1,440 blocks before they can contribute to the block
generation process. Tokens that meet this criterion contribute to an account’s
effective balance, and this balance is
used to determine forging probability.
• To keep an attacker from generating a new chain all the way from the genesis
block, the network only allows chain re-organization 720 blocks behind the current
block height. Any block submitted at a height lower than this threshold is rejected.
This moving threshold may be viewed as APOLLO’s only fixed checkpoint.
• Due to the extremely low probability of any account taking control of the blockchain
by generating its own chain of blocks, transactions are deemed safe once they are
encoded into a block that is 10 blocks behind the current block height.
Page 6
APOLLO Blockchain White Paper
2.2 Tokens
The total supply of APOLLO is 10 billion tokens, divisible to six decimal places.
The existence of anti-tokens in the genesis account has a couple of interesting side
effects:
• the genesis account cannot issue transactions of any kind, since its balance is
negative and it cannot pay transaction fees. As a result, the private passphrase for
the genesis account is free for anyone to use.
• any tokens sent to the genesis account are effectively destroyed, since that
account’s negative balance will cancel them out. Several thousand APOLLO tokens
have been burned in this manner.
• APOLLO assets may also be burned by transferring them to the genesis account.
The choice of the word tokens is intentional due to APOLLO’s intention to be used as
a base protocol that provides numerous other functions. APOLLO’s most basic
function is one of a traditional payment system, but it was designed to do far more.
Nodes can be subdivided into two types: hallmarked and normal. A hallmarked node
is simply a node that is tagged with an encrypted token derived from an account’s
private key; this token can be decoded to reveal a specific APOLLO account address
and balance that are associated with a node. The act of placing a hallmark on a
node adds a level of accountability and trust, so hallmarked nodes are more trusted
than non-hallmarked nodes on the network. The larger the balance of an account
tied to a hallmarked node, the more trust is given to that node. While an attacker
might wish to hallmark a node in order to gain trustworthiness within the network and
then use that trust for malicious purposes; the barrier to entry (cost of APOLLO
required to build adequate trust) discourages such abuse.
Each node on the APOLLO network has the ability to process and broadcast both
transactions and block information. Blocks are validated as they are received from
other nodes, and in cases where block validation fails, nodes may be “blacklisted”
temporarily to prevent the propagation of invalid block data.
Page 7
APOLLO Blockchain White Paper
2.4 Blocks
A block version
A block timestamp, expressed in seconds since the genesis block
The ID and hash of the previous block
The number of transactions stored in the block
The total amount of APO transaction volumes in the block
The total amount of transaction fees in the block
The payload length of the block
The hash value of the block payload
The account’s public key generated by the block
The block’s generation signature
A signature for the entire block
Three values are key to determining which account is eligible to generate a block,
which account earns the right to generate a block, and which block is taken to be the
authoritative one in times of conflict: base target value, target value and cumulative
difficulty.
Base Target Value In order to win the right to forge (generate) a block, all active
APOLLO accounts “compete” by attempting to generate a hash value that is lower
than a given base target value. This base target value varies from block to block, and
is derived from the previous block’s base target value multiplied by the amount of
time that was required to generate that block.
Target Value Each account calculates its own target value, based on its current
effective stake. This value is:
T = Tb x S x Be
where:
T is the new target value
Page 8
APOLLO Blockchain White Paper
As can be seen from the formula, the target value grows with each second that
passes since the timestamp of the previous block. The maximum target value is
and the minimum target value is one half of the previous block’s
base target value.
This target value and the base target value are the same for all accounts attempting
to forge on top of a specific block. The only account-specific parameter is the
effective balance parameter.
where:
Dcb is the difficulty of the current block
Dpb is the difficulty of the previous block
Tb is the base target value for the current block
The Hit is compared to the current target value. If the computed Hit is lower than the
target, then the next block can be generated. As noted in the target value formula,
the target value increases with each passing second. Even if there are only a few
active accounts on the network, one of them will eventually generate a block
because the target value will become very large. The corollary of this is that user can
estimate the time that will be required for any account to forge a block by comparing
that account’s Hit value to the target value.
The last point is significant. Since any node can query the effective balance for any
active account, it is possible to iterate through all active accounts in order t o
determine their individual Hit value. This means it is possible to predict, with
reasonable accuracy, which account will next win the right to forge a block.
A shuffling attack could be mounted by moving stake to an account that will generate
the next block, which is another reason why a APOLLO stake must be stationary for
1,440 blocks before it can contribute to forging (via the effective balance value).
Interestingly, the new base target value for the next block cannot be reasonably
predicted, so the nearly-deterministic process of determining who will forge the next
block becomes increasingly stochastic as attempts are made to predict future blocks.
Page 9
APOLLO Blockchain White Paper
This feature of the APOLLO forging algorithm helps form the basis for the
development and implementation of the Transparent Forging algorithm.
When an active account wins the right to generate a block, it bundles up to 255
available, unconfirmed transactions into a new block, and populates the block with all
of its required parameters. This block is then broadcast to the network as a
candidate for the blockchain.
The payload value, generating account, and all of the signatures on each block can
be verified by all network nodes who receive it. In a situation where multiple blocks
are generated, nodes will select the block with the highest cumulative difficulty value
as the authoritative block. As block data is shared between peers, forks (non-
authoritative chain fragments) are detected and dismantled by examining the chains’
cumulative difficulty values stored in each fork.
There are two conditions that an account needs to satisfy before it can start forging:
The account needs to have an effective balance of at least 1,000,000 APO. That is, it
needs to have had a balance of 1,000,000 APO (or more) over the last 1440 blocks /
24 hours. This is needed because the forging algorithm depends on the stake of the
user. The account needs to have at least one outgoing transaction, also confirmed
1440 times.
The passphrase is the the account's private key, a public key is obtained only after at
least one outgoing transaction is executed and confirmed. This can be done in
several ways, notably by sending 1 APO to your own account (or someone else's),
by sending message using the crypto messaging feature or by registering an alias.
When these two conditions are met, a 1,000,000 APO effective balance and public
key published, the account is eligible to forge.
Note that forging will stop if the effective balance drops below 1,000,000 APO.
Page 10
APOLLO Blockchain White Paper
Balance leasing
Since the ability for an account to forge is based on the effective balance parameter,
it is possible to “loan” forging power from one account to another without giving up
control of the tokens associated with the account. Using a transaction of the “account
control” type, an account owner may temporarily reduce an account’s effective
balance to zero, adding it to the effective balance of another account. The targeted
account’s forging power is increased until the end of a time period specified by the
original account owner, after which the effective balance is returned to the original
account.
Accounts with leased forging power generate blocks more often and earn more
transaction fees, but those fees are not automatically returned to lease accounts.
With a bit of coding, however, this system allows for the creation of nearlytrustless
forging pools that can make payouts to participants.
2.4.2 Accounts
APOLLO implements a brain wallet as part of its design: all accounts are stored on
the network, with private keys for each possible account address directly derived
from each account’s passphrase using a combination of SHA256 and Curve25519
operations.
When an account is accessed by a secret passphrase for the very first time, it
is not secured by a public key. When the first outgoing transaction from an account is
made, the 256-bit public key derived from the passphrase is stored on the blockchain,
and this secures the account. The address space for public keys (2^256) is larger
than the address space for account numbers (2^64), so there is no one-to-one
mapping of passphrases to account numbers and collisions are possible. These
Page 11
APOLLO Blockchain White Paper
collisions are detected and prevented in the following way: once a specific
passphrase is used to access an account, and that account is secured by a 256-bit
public key, no other public-private key pair is permitted to access that account
number.
Account Balance Properties. For each APOLLO account, several different types of
balances are available. Each type serves a different purpose, and many of these
values are checked as part of transaction validation and processing.
• The effective balance of an account is used as the basis for an account’s forging
calculations. An account’s effective balance consists of all tokens that have been
stationary in that account for 1,440 blocks. In addition, the Account Leasing feature
allows an account’s effective balance to be assigned to another account for a
temporary period.
• The guaranteed balance of an account consists of all tokens that have been
stationary in an account for 1,440 blocks. Unlike the effective balance, this balance
cannot be assigned to any other account.
• The basic balance of an account accounts for all transactions that have had at least
one confirmation.
• The forged balance of an account shows the total quantity of APOLLO that have
been earned as a result of successfully forging blocks.
• Guaranteed asset balances lists the guaranteed balances of all the assets
associated with a specific account.
• Unconfirmed asset balances lists the unconfirmed balances of all the assets
associated with a specific account.
2.4.3 Transactions
Transactions are the only means APOLLO accounts have of altering their state or
balance. Each transaction performs only one function, the record of which is
permanently stored on the network once that transaction has been included in a
block.
Transaction Fees. Transaction fees are the primary mechanism through which
APOLLO are recirculated back into the network. Every transaction requires a
minimum fee of 0.01 APOLLO; currently, the only exception is the fee for issuing an
asset on the APOLLO Asset Exchange, which is 5,000 APOLLO. When a APOLLO
account forges a block, all of the transaction fees included in that block are awarded
to the forging account as a reward.
Page 12
APOLLO Blockchain White Paper
Until the size of all the transactions in a block exceeds the current 256 kilobyte
block size limit, the minimum fee will be sufficient for all transactions to be included
in blocks. In situations where the number of unconfirmed transactions exceeds the
number that can be placed in a block, forging accounts will likely select transactions
with the highest fees. This suggests that transaction processing may be prioritized by
including a fee that is higher than the minimum.
If a transaction has not been included in a block before the transaction deadline
expires, the transaction is removed from the network.
The following five transaction types and associated subtypes are supported by
APOLLO. Each type dictates a given transaction’s required and optional parameters,
as well as its processing method.
1. Payment: used for sending APOLLO tokens from one account to another
• Ordinary payment
Page 13
APOLLO Blockchain White Paper
3. Colored coins: an implementation of the colored coins concept, which enables the
APOLLO Asset Exchange
• Asset issuance
• Asset transfer
• Ask order placement
• Bid order placement
• Ask order cancellation
• Bid order cancellation
4. Digital Goods: transactions that enable the APOLLO Digital Goods store
• Listing
• Delisting
• Price change
• Quantity change
• Purchase
• Delivery
• Feedback
• Refund
1. The sender specifies parameters for the transaction. Types of transactions vary18,
and the desired type is specified at transaction creation, but several parameters
must be specified for all transactions:
• the private key for the sending account
• a specified fee for the transaction
• a deadline for the transaction
• an optional referenced transaction
2. All values for the transaction inputs are checked. For example, mandatory
parameters must be specified; fees cannot be less than or equal to zero; a
transaction deadline cannot be less than one minute into the future; if a referenced
transaction is specified, then the current transaction cannot be processed until the
referenced transaction has been processed.
Page 14
APOLLO Blockchain White Paper
Page 15
APOLLO Blockchain White Paper
Encryption Algorithm
2. Calculates N seeds:
• seedn = SHA256(seedn-1), where seed0 = SHA256(shared_secret)
3. Calculates N keys:
• keyn = SHA256(Inv(seedn)), where Inv(X) is the inversion of all bits of X
Note: If someone guesses part of the plaintext, he can decode some part of
subsequent messages between Alice and Bob if they use the same key pairs. As a
result, it’s advised to generate a new pair of private/public keys for each
communication.
Page 16
APOLLO Blockchain White Paper
3. Core Features
The most fundamental feature of any cryptocurrency is the ability to transmit tokens
from one account to another. This is APOLLO’s most fundamental transaction type,
and it allows for basic payment functionality.
Crypto Messaging strings of data up to 1,000 bytes in length can be stored on the
APOLLO blockchain using the Crypto Messaging feature. These messages are
intended to be removable, in the future, when blockchain size needs to be reduced;
nonetheless, they form a critical building block for a number of next-generation
features. At the basic level, the system can be used to transmit human-readable
messages between accounts, creating a decentralized chat system.
By combining the features of the APOLLO Asset Exchange with other features such
as Crypto Messaging, value-added services can be created.
The APOLLO P2P Marketplace gives account owners the ability to list assets for
sale in an open, decentralized market place. Goods can be purchased, discounted,
delivered, refunded, and transferred, using a dedicated class of transaction types
that manage and secure store listings on the decentralized blockchain.
Due to its cross-platform, Java-based roots, its Proof of Stake hashing and its future
ability to reduce the size of the block chain, APOLLO is extremely well suited for use
on small, low-power, low-resource devices. Android and iPhone applications are
currently in development.
Page 17
APOLLO Blockchain White Paper
these devices significantly reduce network costs in comparison with traditional Proof
of Work cryptocurrencies.
Unlike the PoW however, with the Proof of Stake (PoS) model, the creator of each
block is determined by the wealth it holds, PoS is a different way to validate
transactions based and achieve the distributed consensus. PoS system is faster and
more economical than PoW, as it reduces energy costs and makes it possible to
forge using even an ordinary laptop.
Generally, there are no block rewards involved for PoS, so the forgers can only get
the transaction fees. Today, APOLLO has effectively combined the two factors into
considerations. A forger of APOLLO can now enjoy the chances to forge blocks that
contain transaction fees and also block rewards!
APOLLO blockchain, the first ever cryptocurrency based on a provably secure and
scalable blockchain design by incorporating the PoW concept into PoS mechanisms.
It is far more robust than that in a pure PoS based system where only transaction
fees be rewarded.
The APOLLO block reward incentive makes APOLLO a robust blockchain that attract
more nodes to become forgers as greater chances to be rewarded by securing the
network. Having more nodes in a blockchain indicates that more sec ure of APOLLO
network can be.
Page 18
APOLLO Blockchain White Paper
Forging is needed to make things secure but without an incentive to perform forging,
no one will do it. Therefore, when an APOLLO account forges a block, all of the
transaction fees included in that block will be awarded to the forging account
together with the block reward. By accumulating more APOLLO, it also increases the
chances to forge a block based on PoS mechanism.
The APOLLO block reward refers to the APOLLO distributed by the network to
forgers for each successfully solved block.
APOLLO Team, APO’s creator, set the block reward schedule when they created
APOLLO. It is one of APOLLO’s central rules and cannot be changed without
agreement between the entire APOLLO network.
The block reward started at 1,000 APO in block #1 and reduced by 10% for every
1,000,000 blocks. This means every block up until block #1,000,000 rewards 1,000
APO, while block 1,000,001 rewards 900, block 2,000,001 rewards 810, block
3,000,001 rewards 729 APO and so on. Since blocks are forged on average every
60 seconds, 1,440 blocks are forged per day on average. At 1,440 blocks per day,
1,000,000 blocks take on average 1.9 years to forge and approximately 16 years to
finish the overall “forging” process.
The block reward creates an incentive for forgers to add hash power to the network.
It is worth mentioning that, the block reward can now be forged by forgers using their
computer without incurred high electricity costs, which make up the entirety of the
APOLLO network hash rate. Also, forgers who successfully forge APOLLO can also
sell them for a profit in APOLLO decentralized exchange.
Page 19
APOLLO Blockchain White Paper
Conclusion
Now many people will ask such a question, bitcoin can only deal with 7 transactions
per second, so how can the low transaction efficiency bring about technical changes?
In fact, there is a big misunderstanding here. Remember during the early days of
internet, the speed of dial-up internet is only few kb per second, download a MP3
requires more than 10 minutes. However, you cannot say this is useless.
Today, APOLLO is an open source project with a core development team who are
doing various R & D and upgrade programs. An investment with 10 times or even
100 times return on investment opportunities is achievable so long as the investor is
able to spot on the valuable digital assets with good growth potential. APOLLO, with
its smart contract features and blockchain technology as an evolutionary version, is a
wakeup digital asset market.
Bitcoin is already a success proven model, except that its technology is still unable to
do smart contracts and smart transactions. At the time of writing this white paper, the
market value of Bitcoin has been as high as $186 billion. APOLLO, which is known
for its blockchain-based innovation platform, has a 10 billion limit. With the birth of
many innovative blockchain agreements, Bitcoin is no longer the single-only digital
asset. Innovation agreements and blockchain applications will be the next
investment theme.
Page 20
APOLLO Blockchain White Paper
References
Page 21