From 4b14b6d51b4b5e777ea1ceab03bcfb60ed6f9c93 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Sat, 8 Jun 2024 23:55:36 +0300 Subject: [PATCH] Add 'toChecksumAddress.py' --- toChecksumAddress.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 toChecksumAddress.py diff --git a/toChecksumAddress.py b/toChecksumAddress.py new file mode 100644 index 0000000..3c6a11a --- /dev/null +++ b/toChecksumAddress.py @@ -0,0 +1,6 @@ +import sys +from web3 import Web3 + +address = sys.argv[1] +checksum_address = Web3.to_checksum_address(address) +print(checksum_address) \ No newline at end of file