py-substrate-interface
py-substrate-interface copied to clipboard
Polkadot. js createFromJson function corresponds to which python SDK function?
And unlock methods
I'm not familiar with all functionality of Polkadot.js, so you have to give more context what exactly your question is..
https://github.com/polkadot-js/common/blob/master/packages/keyring/src/pair/decode.ts Decryption of Pkcs8
@arjanz In fact, it is about
- Pksc8 decryption.
- and ss58 address -> publickey
We need this to implement the createFromJson
method in the JS library.
So if I get it right it's to import the JSON file that can be exported in for example https://polkadot.js.org/apps/#/accounts and convert that format (which is using Pksc8
) to a Keypair
object?
That would be an interesting addition to the library. I'm working on something else right now but I'll look into it when I have the time.
And of course a PR to get me a head start is always appreciated :)
And of course a PR to get me a head start is always appreciated :)
I think this is very important, so i suggest setting this issue as TODO
Functionality released in https://github.com/polkascan/py-substrate-interface/releases/tag/v1.3.4