npm install
node index.js
需要填写两个配置文件,可参考.example例子
watch_address.js 里填写要监听的地址 .env 填写钱包地址(PUBLIC_KEY),私钥,alchemy或其他节点服务的地址 默认0.01内的视为免费mint,可调节阈值maxPrice
其中bark是我使用的手机通知服务,ios可以在app store下载,会给一个调用url填入 如果没有ios可以把bark函数注释掉或添加其他通知服务
License: GNU General Public License v3.0
npm install
node index.js
需要填写两个配置文件,可参考.example例子
watch_address.js 里填写要监听的地址 .env 填写钱包地址(PUBLIC_KEY),私钥,alchemy或其他节点服务的地址 默认0.01内的视为免费mint,可调节阈值maxPrice
其中bark是我使用的手机通知服务,ios可以在app store下载,会给一个调用url填入 如果没有ios可以把bark函数注释掉或添加其他通知服务
运行程序提示:
Error: Transaction was not mined within 50 blocks, please make sure your transaction was properly sent. Be aware that it might still be mined!
at Object.TransactionError (/repo/follow_mint_bot/node_modules/web3-core-helpers/lib/errors.js:87:21)
at /repo/follow_mint_bot/node_modules/web3-core-method/lib/index.js:426:49
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
receipt: undefined
refer to https://web3js.readthedocs.io/en/v1.2.11/web3-eth.html#estimategas, web3.eth.estimateGas
will run tx in advance, if the tx is bound to fail, it will return an error. Otherwise, it will return an estimated gas.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.