Polkadot Protocol Overview
This page serves as a high-level introduction to the Polkadot protocol with terminology that may be specific to Polkadot, notable differences to other chains that you may have worked with, and practical information for dealing with the chain.
If the below does not offer a sufficient amount of information regarding the Polkadot protocol, be sure to visit the Polkadot Spec, which is more verbose than this Wiki page.
Tokens
- Token decimals:
- Polkadot (DOT): 10
- Kusama (KSM): 12
- Base unit: "Planck"
- Balance type:
u128
Redenomination
Polkadot conducted a poll, which ended on 27 July 2020 (block 888_888), in which the stakeholders decided to redenominate the DOT token. The redenomination does not change the number of base units (called "plancks" in Polkadot) in the network. The only change is that a single DOT token will be 1e10 plancks instead of the original 1e12 plancks. See the Polkadot blog posts explaining the details and the results of the vote.
The redenomination took effect 72 hours after transfers were enabled, at block 1_248_326, which occurred at approximately 16:50 UTC on 21 Aug 2020. You can find more information about the redenomination here.
Addresses
In Polkadot (and most Substrate chains), user accounts are identified by a 32-byte (256-bit)
AccountId
. This is often, but not always, the public key of a cryptographic key pair.
Polkadot (and Substrate) use the SS58 address format. This is a broad "meta-format" designed to handle many different cryptographic schemes and chains. It has much in common with Bitcoin's Base58Check format such as a version prefix, a hash-based checksum suffix, and base-58 encoding.
See the SS58 page in the Substrate documentation for encoding information and a more comprehensive list of network prefixes.
Always verify using the prefix and checksum of the address. Substrate API Sidecar provides an
accounts/{accountId}/validate
path that returns a boolean isValid
response for a provided
address.
Relevant SS58 prefixes for this guide:
- Polkadot: 0
- Kusama: 2
- Westend: 42