以太铭文极速版源码
Blog icon0xcodinnnng
Nov 1
说明: 1、通过提前分地址,批量让地址打铭文以达成极速的诉求,所以想要极速效果,需要提前分地址+分钱,舍不得分很多号以及gas的盆友用自己一个号打就好了 2、接口用的是etch官网的接口,不知道未来还能不能用,且不保证百分百打到,但我一般命中率有70%以上,需要提前知悉 3、运行一次会打分地址数的铭文给接收地址,我一般是分100个号,预期打200个,就运行2-3次import json import concurrent.futures import time import requests from loguru import logger from web3 import Web3 from web3.middleware import geth_poa_middleware def transaction_base(from_address, contract_address, from_private_key, transaction_data='', nonce=None, gas_price=None, gas=None, eth_value=0, log=''): ...

Most popular by 0xcodinnnng

以太铭文极速版源码

以太铭文极速版源码

0xcodinnnng

Written by
0xcodinnnng

前字节战略data scientist | 做自己有优势的投资 | 致力于web3 coding推广 | 人人可以都是“科学家”

Subscribe

2025 Paragraph Technologies Inc

PopularTrendingPrivacyTermsHome
Search...Ctrl+K

0xcodinnnng

Subscribe
ft基本功能示例
Blog icon0xcodinnnng
Sep 14
from loguru import logger from web3 import Web3 import json def get_buy_price(shares_subject, amount): try: buy_price = contract.functions.getBuyPriceAfterFee(shares_subject, amount).call() return buy_price except Exception as e: logger.error(f'get buy price error:{e}') def trade(from_address, private_key, buy_price, amount): try: gas_price = w3.eth.gas_price * 1.1 gas_price = Web3.from_wei(int(gas_price), 'gwei') transaction = contract.functions.buyShares(shares_subject, amount).build_transa...
监控以太坊gas突增并发送钉钉通知
Blog icon0xcodinnnng
Sep 12
import logging from loguru import logger import time import hmac import hashlib import base64 import urllib.parse import requests, json def send_ding(access_token, text): timestamp = str(round(time.time() * 1000)) # 注册钉钉开发者平台获取私钥 secret = '' secret_enc = secret.encode('utf-8') string_to_sign = '{}\n{}'.format(timestamp, secret) string_to_sign_enc = string_to_sign.encode('utf-8') hmac_code = hmac.new(secret_enc, string_to_sign_enc, digestmod=hashlib.sha256).digest() sign = urllib.parse.quote_p...
Dumb Public Mint ERC 20代码update
Blog icon0xcodinnnng
Sep 11
import json import os import time from loguru import logger from web3 import Web3 from web3.middleware import geth_poa_middleware def transaction_maintain(from_address, contract_address, private_key, transaction_data='', nonce=None, gas_price=None, gas=None, eth_value=0, log=''): try: contract_address = w3.to_checksum_address(contract_address) from_address = w3.to_checksum_address(from_address) if nonce is None: nonce = w3.eth.get_transaction_count(from_address, 'pending') if gas_price is Non...
Dumb Public Mint ERC 20代码
Blog icon0xcodinnnng
Sep 7
import json import os import time from loguru import logger from web3 import Web3 from web3.middleware import geth_poa_middleware def transaction_maintain(from_address, contract_address, private_key, transaction_data='', nonce=None, gas_price=None, gas=None, eth_value=0, log=''): try: from_address = w3.to_checksum_address(from_address) contract_address = w3.to_checksum_address(contract_address) from_address = w3.to_checksum_address(from_address) if nonce is None: nonce = w3.eth.get_transactio...
5 Minutes:understanding Ethscription
Blog icon0xcodinnnng
Sep 4
Twitter@0xcodinnnng Before diving in, readers should be familiar with the ERC-20 protocol (commonly known as tokens) and the ERC-721 protocol (often referred to as NFTs or 'small images') on Ethereum. Those unfamiliar with these concepts should seek more basic web3 introductory materials. The reason why these two protocols are so widely used is consensus. It's a community's agreement to recognize data created under a specific protocol via smart contracts. In this context, ...