Untitled
unknown
python
3 years ago
890 B
10
Indexable
import requests import names import time import secrets from eth_account import Account from web3.auto import w3 from eth_account.messages import encode_defunct from datetime import datetime from threading import Thread def mint(): priv = secrets.token_hex(32) private_key = "0x" + priv acct = Account.from_key(private_key) wallet = acct.address for i in range(2): json_data = { "address":wallet, "tokens":[ { "id":0, "amount":1 } ] } response = requests.put('https://www.oscarmayer.com/orchestrationservices/storefront/hypermint/mint?storeId=559', json=json_data, timeout=15).json() print(response) file = open('walletmayer.txt', 'a') file.write(wallet + '|' + private_key + '\n') file.close() mint()
Editor is loading...