Replies: 2 comments
-
The Pactus address is made of 21 bytes. It includes the type of encryption used and the public key hash. You can learn more about it here. Right now, the address doesn't show what it's used for. I find this PIP (Proposal) an interesting idea. If we use it, the address can show its correct use. Like, we can stop a payment if it's going to the wrong type of address. Remember, the basic address stays the same (21 bytes), but how it looks can change based on its use. WalletOur wallet will also need an update. Currently, we set up addresses similar to this method EIP-2334. Our current structure for creating addresses is:
For now, the "use" section is always zero. We can change it to:
So, when someone makes a new address, they need to pick its use. |
Beta Was this translation helpful? Give feedback.
-
The issue with this PIP is that the address doesn't communicate its type. Consequently, any given 21-byte sequence could represent both a validator and an account. |
Beta Was this translation helpful? Give feedback.
-
PIP-5: address prefix
Beta Was this translation helpful? Give feedback.
All reactions