keosariel

Generating eth addresses using eth_account (python)

This is quite straight forward…

$ pip install eth-account

from eth_account import Account

acc = Account.create("EXTRA RANDOMNESS")
print(acc.address) # Account address
print(acc.key.hex()) # Account private key