GithubHelp home page GithubHelp logo

zoon-battle's Introduction

zoon-battle

CryptoZoon 自动打怪工具

Automatic monster fighting tool for CryptoZoon

风险和免责

本工具为社区开发,与CryptoZoon项目方无关。

本工具可无偿使用,使用过程中的所有收益和亏损均由用户自己承担。

本工具代码和第三方包均为开源产品,请认真查阅代码,并自行承担使用过程中的一切风险。

教程

Windows详细部署教程【待完善】

MacOS/Linux详细部署教程【待完善】

环境准备

node.js 10+

安装

# clone代码
git clone https://github.com/MaoYanFi/zoon-battle.git

# 进入目录
cd zoon-battle

# 安装依赖包
npm install

配置


# 根据模板创建.env文件
cp .env.example .env

# 根据.env文件内注释配置.env文件

直接运行


# 直接运行程序
node app.js

pm2守护进程运行


# 安装pm2
npm install -g pm2

# 启动进程
pm2 start app.js --name zoon-battle

# 查看进程
pm2 ls

# 查看进程日志
pm2 log zoon-battle

# 重启进程
pm2 restart zoon-battle

# 停止进程
pm2 stop zoon-battle

# 删除进程
pm2 delete zoon-battle

猫眼社区社群答疑

加微信(WeChat)进群: shuaizhen668

捐赠

0x66be3bF47bD7f08D812aA6aA34724aCc84642DBa

zoon-battle's People

Contributors

dying5566 avatar steeleader avatar ylic2022 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zoon-battle's Issues

合约 abi 查询

谢谢开源分享,但是我很好奇,你们是如何查询到战斗合约的 abi 的?我再 bscscan 上无法查到这个合约的真正 abi,基础信息 abi 可以通过 read proxy 查询到真正的合约以后找到。
谢谢指教

感谢开源,在运行过程中遇到如下异常后,程序不在执行

希望可以在遇到异常后继续重复执行

\zoon-battle\node_modules\web3-core-helpers\lib\errors.js:87
        var error = new Error(message);
                    ^

Error: Transaction has been reverted by the EVM:
{
  "blockHash": "0x7347861878126216a7e1f270050d3e7a09bdddc86d92d225a2825ad0fde29817",
  "blockNumber": 10216456,
  "contractAddress": null,
  "cumulativeGasUsed": 8421943,
  "from": "0xbc06ab9d4994b182bfb0ea51ae97fd2549eb5856",
  "gasUsed": 91080,
  "logs": [],
  "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
  "status": false,
  "to": "0xf70c08a428f300c7f3e3f09217211d21f7a50410",
  "transactionHash": "0x76fbaf19b42fabcae956296ed7519858d2a1035df6a7a43d219ab5c61598ee59",
  "transactionIndex": 60,
  "type": "0x0"
}
    at Object.TransactionError (\zoon-battle\node_modules\web3-core-helpers\lib\errors.js:87:21)
    at Object.TransactionRevertedWithoutReasonError (\zoon-battle\node_modules\web3-core-helpers\lib\errors.js:98:21)
    at \zoon-battle\node_modules\web3-core-method\lib\index.js:393:57
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  receipt: {
    blockHash: '0x7347861878126216a7e1f270050d3e7a09bdddc86d92d225a2825ad0fde29817',
    blockNumber: 10216456,
    contractAddress: null,
    cumulativeGasUsed: 8421943,
    from: '0xbc06ab9d4994b182bfb0ea51ae97fd2549eb5856',
    gasUsed: 91080,
    logs: [],
    logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
    status: false,
    to: '0xf70c08a428f300c7f3e3f09217211d21f7a50410',
    transactionHash: '0x76fbaf19b42fabcae956296ed7519858d2a1035df6a7a43d219ab5c61598ee59',
    transactionIndex: 60,
    type: '0x0'
  }
}

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.