Giter VIP home page Giter VIP logo

evm's Introduction

Batch mint EVM full chain inscription script The rules for batch generating wallets, batch printing addresses, and batch printing private keys in this script are exactly the same as metamask. You can import mnemonics into metamask and create multiple accounts in the same order as generated by the script.

Install Install nodejs https://nodejs.org/en/download/

Install yarn First enter the root directory and then execute

npm install -g yarn
yarn install

Configure environment variables Modify the .env file and fill in all information

Generate mnemonic words

node genMnemonic.js

The generated mnemonic words will be saved in the mnemonic.json file

Print addresses in batches based on mnemonic phrases

node printAddressByMnemonic.js

Print private keys in batches based on mnemonic phrases

node printPrivateKeyByMnemonic.js

Wallet batch generation The mnemonic phrase based on which the wallet is generated in batches is configured in the .env file. If you want to use the code-generated mnemonic phrase, please find it in the mnemonic.json file and configure it in the .env file.

node genWallet.js

The generated information will be saved in the evm_wallets.json file

Batch transfer Transfer money to all addresses in the evm_wallets.json file. If you don’t want to use the generated address, just change the format to the address you want to transfer. Just change the address in the evm_wallets.json file.

node transfer.js

Batch mint Use all addresses in evm_wallets.json to mint. You can add and modify them according to the format. The address and privateKey in the file must be configured correctly.

node mint.js

Quick batch mint Without actual testing, it is not recommended to use it easily. It is easy to burn gas quickly and the success of mint is not guaranteed.

It does not wait for the transaction results, does not request gas every time, and directly sends the mint request to accumulate nonce. Because the request is too fast and can easily be blocked by the node, causing the script to stop running, it is recommended to build a self-built full node and use this script.

Use all addresses in evm_wallets.json to mint. You can add and modify them according to the format. The address and privateKey in the file must be configured correctly.

node fastMint.js

evm's People

Contributors

xtgz avatar zyxtoworld 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.