This file contains hidden or 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
| """ | |
| python3 -m pip install web3 requests | |
| """ | |
| import subprocess | |
| import socket | |
| from web3 import Web3, HTTPProvider | |
| from web3.types import Wei | |
| import time | |
| import requests | |
| import traceback |
This file contains hidden or 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
| # Author: Alpine, @alpinevm | |
| # python3 -m pip install eth_account ecdsa | |
| # Inspired by: https://yondon.blog/2019/01/01/how-not-to-use-ecdsa/ | |
| import random | |
| from eth_account import Account | |
| from ecdsa import SECP256k1, VerifyingKey | |
| from ecdsa.util import number_to_string |