ritual/toChecksumAddress.py

6 lines
132 B
Python
Raw Normal View History

2024-06-08 23:55:36 +03:00
import sys
from web3 import Web3
address = sys.argv[1]
checksum_address = Web3.to_checksum_address(address)
print(checksum_address)