I know there is a wallet called MyEtherWallet can sign with private key offline, and there seems to be javascript library that can also do this, but is there a python library or any code that can sign the raw transaction provided that I have private key string?
[Ethereum] how to sign raw transaction with python
pythontransactions
Best Answer
There are a few options.
Account.signTransaction
inweb3.py
is one such option: https://github.com/ethereum/web3.py/blob/master/docs/web3.eth.account.rst.