change photon to aphoton (#476)

* change photon to aphoton

* fix test

* photon docs

* update doc

Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
This commit is contained in:
Justin Thompson
2020-08-31 12:40:53 -04:00
committed by GitHub
co-authored by Federico Kunze
parent a6e152bbb6
commit 4344dc10c7
15 changed files with 52 additions and 18 deletions
+1
View File
@@ -11,5 +11,6 @@ This repository contains reference documentation on the basic concepts of Etherm
1. [Accounts](./accounts.md)
2. [Gas and Fees](./gas.md)
3. [Lifecycle of a transaction](./transactions.md)
4. [Photon](./photon.md)
After reading the basics, head on to the [Core Reference](../core/README.md) for more advanced material.
+1 -1
View File
@@ -26,4 +26,4 @@ The `AnteHandler` is a special `handler` that is run for every transaction durin
## Next {hide}
Learn about the [encoding](./../core/encoding.md) formats used on Ethermint {hide}
Learn about the [Photon](./photon.md) token {hide}
Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

+33
View File
@@ -0,0 +1,33 @@
<!--
order: 4
-->
# Photon
Learn about the Photon, Ethermint's staking token. {synopsis}
## Introduction
::: tip
The photon's initial distribution and supply is still TBD and will be announced in the future.
:::
The photon is the staking token used in Ethermint.
## Base Denomination
Ethermint uses [Atto](https://en.wikipedia.org/wiki/Atto-) Photon as the base denomination to maintain parity with Ethereum.
```
1 photon = 1×10⁻¹⁸ aphoton
```
This matches Ethereum denomination of:
```
1 ETH = 1x10⁻¹⁸ wei
```
## Next {hide}
Learn about the [encoding](./../core/encoding.md) formats used on Ethermint {hide}