Skip to content

0xOneiros/evm-inscription-x-20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EVM Chain Compatible Inscription Automation Mint Scripts

🛠 Instructions for use

Step 1: Install nodejs first.

First, go to the official Nodejs website to download and install the corresponding version for your computer's operating system.

https://nodejs.org/en

Then check the installed version to see if the installation was successful.

node -v
npm -v

If you prefer to use yarn, install yarn

npm i -g yarn

Step 2: Downloading the script source code

First, use git to clone the source code locally.

git clone https://github.com/sfter/evm-inscription-mint.git

cd evm-inscription-mint

If you don't have git installed on your Windows computer, go to the following website to download and install the git software

https://gitforwindows.org

Step 3: Rename config.js.example in the current directory to config.js.

cp config.js.example config.js

Step 4: Modify the config.js configuration file in the current directory.

const config = {
    // Set the number of hits you want to make here. It's recommended that you don't make more than 50 hits at a time, or else you'll be unlinked.
    repeatCount: 1,

    // How many times you want to increase the current gas.
    increaseGas: 1.2,

    // Your wallet's private key
    privateKey: "", 


    // Inscription json data (replace it with the json format data of the inscription you want to play)
    tokenJson: 'data:,{"p": "fair-20", "op": "mint", "tick": "fair", "amt": "1000"}', 

    // RPC nodes (evm-compatible chains are fine) use the node address of whichever chain you're playing on
    // eth => https://mainnet.infura.io/v3
    // arb => https://arb1.arbitrum.io/rpc
    // polygon => https://polygon-rpc.com
    // op => https://mainnet.optimism.io
    // linea => https://mainnet.infura.io/v3
    // scroll => https://rpc.scroll.io
    // zks => https://mainnet.era.zksync.io
    rpcUrl: "https://arb1.arbitrum.io/rpc"
}

Step 5: Install the dependencies

npm i

or

yarn install

Step 6: Run the Mint script program

node index.js

or

yarn start

or

npm run start