Giter VIP home page Giter VIP logo

polsmint's Introduction

更新了脚本使用文档—马蹄POLY铭文脚本使用教程(来自社区).pdf

polsMint

PRC-20 POLS 自动化mint脚本

该脚本同时也兼容其他EVM链,需要修改3处代码。

  • 换rpc地址:找到代码中的rpc_url = "https://1rpc.io/matic",打开chainlist.org查看可用的rpc节点进行替换
  • 修改chainId:找到代码中'chainId': 137,根据chainlist.org查看对应链的chainId进行替换
  • 修改交易的data:找到代码中的'data':'0x646174613a2c7b2270223a227072632d3230222c226f70223a226d696e74222c227469636b223a22706f6c73222c22616d74223a22313030303030303030227d',使用utf8-hex.py把mint字符串转换后替换

效果图

image

依赖环境

  • Python3环境
  • Git命令

使用说明(新版)

1. 下载项目源码

git clone https://github.com/chriscczhou/polsMint.git

2. 创建Python虚拟环境(非必需步骤)

cd polsMint
python -m venv venv
source venv/bin/activate

3. 安装依赖

pip install web3==6.11.3
pip install python-dotenv==1.0.0

4. 在.env文件中写入地址和私钥

5. 运行脚本

python polsMint.py

polsmint's People

Contributors

chriscczhou avatar yaoyaoio 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.