Code Monkey home page Code Monkey logo

avalmint's Introduction

avalMint(EIP1559_fixed)

asc-20 aval automated minting script. Building upon the original version, this script addresses and resolves issues caused by EIP1559, specifically eliminating the error message: "err: max fee per gas less than block base fee." This enhancement significantly improves efficiency. Previously, there might be a 90% failure rate out of 100 attempts, but now it's 100% successful.

This script is also compatible with other EVM chains and requires modification in three places.

  • Change RPC: Find the rpc_url = "https://avalanche.drpc.org" in the code, open chainlist.org to view available RPC nodes, and replace it accordingly.
  • Modify chainId: Locate 'chainId': 43114 in the code, and replace it with the chainId corresponding to the chain from chainlist.org.
  • Modify tx data: Find 'data':'0x646174613a2c7b2270223a226173632d3230222c226f70223a226d696e74222c227469636b223a226176616c222c22616d74223a22313030303030303030227d' in the code. Use utf8-hex.py to convert the mint string and replace it.

Before Fix

snap_screen_1

After Fix

snap_screen_2

About aval (asc-20)

aval, the asc-20 token, has a total supply of 21 trillion, with the same number of tokens as pols (21 million). The AVAX chain infrastructure is complete, outperforming both the OK chain and the Huobi HT chain. There is the potential to create another miracle like pols. The next time you see this paragraph, it will be in the archived records of some group chat. Cost: 0.0xu-0.1x.

aval (asc-20) Data Dashboard (for reference only): Data format: data:,{"p":"asc-20","op":"mint","tick":"aval","amt":"100000000"}

Hexadecimal: 0x646174613a2c7b2270223a226173632d3230222c226f70223a226d696e74222c227469636b223a226176616c222c22616d74223a22313030303030303030227d

Refer to more RPC nodes: https://chainlist.org/?search=val, to find faster RPC nodes in your region. Of course, you can also ignore this and use the nodes directly in the code, as I have already configured them.

Block Explorer: https://snowtrace.io, to check the quantity of minted tokens at your address and the current gas fees.

Initial Preparation

  1. Transfer ETH to a CEX (Binance, Mexc, OKX, etc.).
  2. Sell ETH for USDT.
  3. Buy AVAX, and after 64 confirmations, withdraw to the MetaMask wallet.
  4. Configure the required number of bots.
  5. Then, proceed with the script below.

Installation Process

Step 1 Download python 3.10.6

https://www.python.org/downloads/windows/

Open the webpage and scroll down to:

โ€‹ Download Windows installer (32-bit)

โ€‹ Download Windows installer (64-bit)

Download the version that matches your computer's system (64-bit for 64-bit systems, 32-bit for 32-bit systems).

Step Double-click to execute the installation, and make sure to check the option to add Python to the system environment variables.

Verify the installation:

E:\avalMint\bot1>python --version
Python 3.10.6

Step Update pip

E:\avalMint\bot1>python -m pip install --upgrade pip

Step Install the required packages

E:\avalMint\bot1>pip install web3==5.31.1
E:\avalMint\bot1>pip install python-dotenv

Step Write the wallet address and private key to .env

account_address = 'wallet address'
account_private_key = 'private key'

Step Run the script

E:\avalMint\bot1>python mint.py

avalmint's People

Contributors

dreamerate avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.