ritual/toChecksumAddress.py

6 lines
132 B
Python

import sys
from web3 import Web3
address = sys.argv[1]
checksum_address = Web3.to_checksum_address(address)
print(checksum_address)