Skip to content

Commit

Permalink
Update bech32 human readable spec to simply "cosmos" (#2103)
Browse files Browse the repository at this point in the history
Update bech32 human readable to simply "cosmos"
  • Loading branch information
jaekwon authored Aug 26, 2018
1 parent 46176aa commit 305589f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/spec/other/bech32.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ In the Cosmos network, keys and addresses may refer to a number of different rol

## HRP table

| HRP | Definition |
| HRP | Definition |
| ------------- |:-------------:|
| `cosmosaccaddr` | Cosmos Account Address |
| `cosmosaccpub` | Cosmos Account Public Key |
| `cosmosvaladdr` | Cosmos Consensus Address |
| `cosmosvalpub` | Cosmos Consensus Public Key|
| `cosmos` | Cosmos Account Address |
| `cosmospub` | Cosmos Account Public Key |
| `cosmosval` | Cosmos Validator Consensus Address |
| `cosmosval` | Cosmos Validator Consensus Public Key|

## Encoding

Expand All @@ -22,4 +22,4 @@ To covert between other binary reprsentation of addresses and keys, it is import

A complete implementation of the Amino serialization format is unncessary in most cases. Simply prepending bytes from this [table](https://github.com/tendermint/tendermint/blob/master/docs/spec/blockchain/encoding.md#public-key-cryptography) to the bytestring payload before bech32 encoding will sufficient for compatible representation.



0 comments on commit 305589f

Please sign in to comment.