Accounts and Addresses
Blockchain accounts are quite different thing from what we use for web2 accounts. They don't necessarily have any server data. Basically, the account consists of these things:
- A private key (the seed phrase allows to generate one) is stored by a user in secret.
- Address (usually it is some hash or encoding of the public key) - publicly known.
- Chain data associated with the address - in the case of Unique, it is all public.
The private key owner can change chain data only by signing a transaction with the private key and publishing it to the blockchain. This data is stored inside the blockchain, and it is read-only for all other users.
A Substrate address contains of:
- Chain prefix;
- Public key;
⚠️ The default Substrate address format (starting from 5) also has the prefix equals 42.
The concatenation result of the mentioned above parts is encoded via the base58 algorithm. The result of these operations is a Substrate address. This is the reason why different addresses for the same parachain (i.e. with the same prefix) have the same first one or two symbols.
The prefixes that Unique Network uses:
- For Unique - 7391, gives "un" at the beginning of the encoded address.
- For Quartz - 255, gives "yG" at the beginning of the encoded address.
- For Opal - 42, gives default "5" at the beginning of the encoded address.
Live address encoder
Normalized format (prefix 42):
Quartz format (prefix 255):
Unique format (prefix 7391):
Substrate address public key: