Not all accounts support encryption/decryption
BjrInt opened this issue · comments
Bonjour Internet commented
Some accounts do support encryption/decryption, some do not. These are the accounts that support it as of now:
- Avalanche
- Cosmos
- Ethereum (through Keypair and Provider)
- NULS2
- Solana*
*Waiting for the Provider signing methods
It is however not recommended to use the same keypair for signing and encryption (as observed by @MHHukiewitz ), so an update might be needed for some of the accounts.
An update of the BaseAccount abstract class to include encryption/decryption would be necessary to close this issue.