This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
from web3 import Web3 | |
from getpass import getpass | |
from eth_hash.auto import keccak | |
from eth_account import Account | |
def b2i(bstr): | |
num = 0 | |
for index in range(len(bstr)): |