Authentication file format for v2 ecosystem?

For v1 ecosystem, Silkaj v0.12 promote (E)WIF authentication format defined in the RFC #13.

Which authentication file format is implemented in your v2 client or which one are you planning the implementation?

With py-polkadot-sdk Python library, Keypair - Python Substrate Interface Docs I can create the encrypted JSON authentication file format supported by PolkadotJS web browser extension.

I can not generate the encrypted JSON authentication file format from v1 seed, since it’s not supported by this library, so I still have to support (E)WIF to some extend.

Where (E)WIF format can only be created from v1 authentication methods. I haven’t found a way to get the seed out of a mnemonic.

I am considering using the encrypted JSON format from PolkadotJS as a default authentication method in Silkaj. (E)WIF would still be supported for backward compatibility. Therefore the accounts would be promoted to migrate to mnemonic/JSON authfile usage.

What do you think should be the promoted authentication file format used for v2 ecosystem?

4 Likes