This proposal suggests adding a specific prefix to different address types in Pactus, such as validator and account, to make their roles more understandable.
Motivation
Currently, Pactus addresses are identified by a pc prefix, regardless of their type. This makes it hard for both humans and machines to identify the role of each address, whether it belongs to an account, validator, or contract. By adding appropriate prefixes, we can quickly and easily identify the purpose of each address. For example:
Specification
To achieve this, we can define 3 prefix options for the current address types: pv for validators, pc for contracts, and pa for accounts. All addresses must have the correct prefix to be considered valid in Pactus. Additionally, we should consider the version number after the prefix to be related to the specific address type.