What
TypeScript exports a signerFromPrivateKey factory function; Python has no equivalent.
TypeScript (sdks/typescript/pmxt/signers.ts:84-86):
export async function signerFromPrivateKey(privateKey: string): Promise<Signer>
Python: sdks/python/pmxt/signers.py has no signer_from_private_key function. sdks/python/pmxt/__init__.py exports no signer factory.
Impact
TypeScript users have a canonical one-liner to construct a Signer from a private key: const signer = await signerFromPrivateKey(key). Python users must know to import EthAccountSigner from the non-public pmxt.signers submodule and call EthAccountSigner(key) directly. There is no signer_from_private_key convenience function.
What
TypeScript exports a
signerFromPrivateKeyfactory function; Python has no equivalent.TypeScript (
sdks/typescript/pmxt/signers.ts:84-86):Python:
sdks/python/pmxt/signers.pyhas nosigner_from_private_keyfunction.sdks/python/pmxt/__init__.pyexports no signer factory.Impact
TypeScript users have a canonical one-liner to construct a
Signerfrom a private key:const signer = await signerFromPrivateKey(key). Python users must know to importEthAccountSignerfrom the non-publicpmxt.signerssubmodule and callEthAccountSigner(key)directly. There is nosigner_from_private_keyconvenience function.