Public keys and private keys are not strings. They are structured data with their own validation rules. However, the gem suffers from primitive obsession by treating them as simple strings. Implementing NIP-19 is an excellent opportunity to fix this.
Public keys and private keys are not strings. They are structured data with their own validation rules. However, the gem suffers from primitive obsession by treating them as simple strings. Implementing NIP-19 is an excellent opportunity to fix this.