# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [2.5.0](https://github.com/crypto-meta/mines/compare/v2.4.0...v2.5.0) (2021-12-02)


### Bug Fixes

* 调整 ([2d91bf6](https://github.com/crypto-meta/mines/commit/2d91bf6380b75383137885fde225a7efcdf92056))

## [2.4.0](https://github.com/crypto-meta/mines/compare/v2.3.0...v2.4.0) (2021-12-02)


### Features

* 删除对 Linux 的支持 ([d187179](https://github.com/crypto-meta/mines/commit/d1871799e1326424b627c7147423942847659d61))

## [2.3.0](https://github.com/crypto-meta/mines/compare/v2.2.3...v2.3.0) (2021-12-02)


### Features

* 使用 web3 完全代替 ethers ([e786689](https://github.com/crypto-meta/mines/commit/e78668974a06da19c5f1a052b71a55ebc0542a6a))


### Bug Fixes

* queues.toNumber() ([9627c9a](https://github.com/crypto-meta/mines/commit/9627c9ac1b9b8ac1bb60cd39b44fca791379ded0))

### [2.2.3](https://github.com/crypto-meta/mines/compare/v2.2.2...v2.2.3) (2021-12-01)

### [2.2.2](https://github.com/crypto-meta/mines/compare/v2.2.1...v2.2.2) (2021-12-01)

### [2.2.1](https://github.com/crypto-meta/mines/compare/v2.2.0...v2.2.1) (2021-12-01)

## [2.2.0](https://github.com/crypto-meta/mines/compare/v2.1.0...v2.2.0) (2021-12-01)


### ⚠ BREAKING CHANGES

* 命令简化为 mines 了，之前的 cryptomines 过长，cm 这个简写也移除了

### Features

* 修改 changlog 地址 ([f7a110b](https://github.com/crypto-meta/mines/commit/f7a110b65d0b86906e79f5dfa71c9535de1b9ad7))
* 重构项目打包 ([3ead959](https://github.com/crypto-meta/mines/commit/3ead959d93c97ded1d1d3769244e3dc39209ad4d))

## [2.1.0](https://github.com/crypto-meta/mines/compare/v2.0.0...v2.1.0) (2021-12-01)


### Features

*  解决一下单命令加载可执行文件的问题 ([81fbf85](https://github.com/crypto-meta/mines/commit/81fbf85c8023719a0c4f76d5705a181a2d43ab18))
* 把地址和私钥存全局变量 ([27bfa45](https://github.com/crypto-meta/mines/commit/27bfa45fbb1595660f7c569a6788922d1ff8cce7))
* 全局管理 web3 ([a511977](https://github.com/crypto-meta/mines/commit/a511977a82cd966ac24a4a3062faecae0ef271fc))
* 如果重试两次还有失败的任务 ([250529a](https://github.com/crypto-meta/mines/commit/250529a60b8e26241069fa057fbcb95b6cb4287a))


### Bug Fixes

* 修复传多个参数 ([705dd92](https://github.com/crypto-meta/mines/commit/705dd928d1d686fb59625fad3696d8fdff22d524))
* 修复没有 await runAsyncTask 的错误 ([f9950ee](https://github.com/crypto-meta/mines/commit/f9950ee8a58d645a98a5057b756fc8631af17f08))
* 修复判断反的情况 ([ebb8cb3](https://github.com/crypto-meta/mines/commit/ebb8cb3f301402b2c270e5be825b16f231777887))
* 移除重复的 runAsynTask ([137f51c](https://github.com/crypto-meta/mines/commit/137f51cf0059753f68d912be5c5c8e67856829f2))

## [2.0.0](https://github.com/crypto-meta/mines/compare/v1.1.0...v2.0.0) (2021-11-30)


### ⚠ BREAKING CHANGES

* **utils:** 因为交易可能会被 EVM 回退，所以必须要等
* **utils:** 交易等待时间修改为 60 S，默认为 750 S

### Features

* 封装 runAsyncTask 并把买盒子的用户体验优化到极致 ([8c76565](https://github.com/crypto-meta/mines/commit/8c7656597205ea8684449adf839bb48dc3fc8e8c))
* 改包名 ([c4408aa](https://github.com/crypto-meta/mines/commit/c4408aaf47578a01f99d9890ecd2aa2425156a36))
* 将 utils 单独抽出去了 ([bc626dc](https://github.com/crypto-meta/mines/commit/bc626dc3895adf97d3b067b66f2eed8435c3bf4e))
* 全局处理异常 ([0b76d9f](https://github.com/crypto-meta/mines/commit/0b76d9f0ddd11be1b99a271d0429c030553355c6))
* 增加全局变量功能 ([74a8a45](https://github.com/crypto-meta/mines/commit/74a8a458299a4813fbf763ccdaf255526699953f))
* add @cryptox/utils ([a743285](https://github.com/crypto-meta/mines/commit/a74328549866e22ed410e1ef16ae62107a30952b))
* add `--only` options ([d71c23a](https://github.com/crypto-meta/mines/commit/d71c23ac1f223a37299a82a5ebe6cb85e027f0c7))
* use global spinner ([f3e48e6](https://github.com/crypto-meta/mines/commit/f3e48e67bb78d36649d83226706ce40f724c07ad))
* **utils:** 删除超 30 秒跳过获取交易收据的逻辑 ([e0ef359](https://github.com/crypto-meta/mines/commit/e0ef3590b5784f35a33cad6f7ecdf9aeb563f30b)), closes [#2](https://github.com/crypto-meta/mines/issues/2)
* **utils:** 自定义交易超时时间 ([243cab9](https://github.com/crypto-meta/mines/commit/243cab928258415e0e6ae4927a654170e44f8d81)), closes [#7](https://github.com/crypto-meta/mines/issues/7)


### Bug Fixes

* **utils:** 如果交易失败则抛出异常 ([71026eb](https://github.com/crypto-meta/mines/commit/71026eb9aefa6f02dc6563626c2ea25490f9ea37))
* **utils:** 在速度和花钱之间平衡 ([2da60d4](https://github.com/crypto-meta/mines/commit/2da60d4b3cb8cc337a2989c67f6d40be91753f49))
* **utils:** Warning: Label '✔ sendSignedTransaction' already exists for console.time() ([b0b7c96](https://github.com/crypto-meta/mines/commit/b0b7c9651cf8007689cab6708ce0d00496a278fa))

## [1.1.0](https://github.com/crypto-meta/mines/compare/v1.0.1...v1.1.0) (2021-11-28)


### Features

* 飞船支持传递 --star 来决定销毁多少星级以下的 ([2b45f19](https://github.com/crypto-meta/mines/commit/2b45f19f8620fcaed49bc50172889a784db5e66f))
* 添加五个地址 ([afb56a2](https://github.com/crypto-meta/mines/commit/afb56a20c31c4092f15e9e64d6092ed3a7790df6))

### [1.0.1](https://github.com/crypto-meta/mines/compare/v1.0.0...v1.0.1) (2021-11-28)


### Bug Fixes

* user getMyWorkers instead of getMySpaceships ([2e18cfa](https://github.com/crypto-meta/mines/commit/2e18cfa86dc0a8dd8039d1c2750acf1195871c48))

## [1.0.0](https://github.com/crypto-meta/mines/compare/v0.9.2...v1.0.0) (2021-11-28)


### ⚠ BREAKING CHANGES

* 不展示当前使用节点

### Features

* 【开盒子】如果循环进行中发现超时或余额不足，330s 后重试，如果不是 30s 后重试 ([e6e1dd7](https://github.com/crypto-meta/mines/commit/e6e1dd718d2d513a1cdf6488f3e5faa425bb8cc6))
* 不展示当前使用节点 ([28693b4](https://github.com/crypto-meta/mines/commit/28693b4a769eca07ffe9390e43339dd5ec62c264))
* 拆盒子实现重试机制 ([3a980ed](https://github.com/crypto-meta/mines/commit/3a980edd7a76f1c5a3f419a99986cbf5724e5184))
* 耗时加索引 ([6b5b00a](https://github.com/crypto-meta/mines/commit/6b5b00a3e4083f87d4b0e0b566b0b006d7aabf57))
* 开启 -> 拆 ([0ea6fe6](https://github.com/crypto-meta/mines/commit/0ea6fe6aaccae554c8f06a0dba9faff34fade30d))
* 买盒子实现重试机制 ([94e343c](https://github.com/crypto-meta/mines/commit/94e343c26b0d99be81eaf97ce3ec840623663a4e))
* 如果盲盒为 0，则直接跳到销毁 ([979e136](https://github.com/crypto-meta/mines/commit/979e136c7e266b3162542d40dacc30d0fe832f4f))
* 删除无用的配置文件 ([39c7913](https://github.com/crypto-meta/mines/commit/39c791389a7f2ef7b0c24dce36d05eaf4805ae21))
* 销毁飞船和工人支持百分百无人值守 ([adfcb45](https://github.com/crypto-meta/mines/commit/adfcb452a130158cc36f3eefe21a81aedf3a8408))
* 销毁算法几乎优化到了极致 ([eb9d043](https://github.com/crypto-meta/mines/commit/eb9d043668d5a78ab29088d3f6634a7c9d640bd9))
* 修改登录的文字 ([baadb16](https://github.com/crypto-meta/mines/commit/baadb165151cb73a2078476dce5cd6b11cfd605d))
* 一大波优化，有问题找我 ([6ce6a31](https://github.com/crypto-meta/mines/commit/6ce6a31c671912f323c82ce8adca0705ec9fc27a))
* 因为有重试机制在，所以  burnGasPrice 默认值减小没有问题 ([b4cccc2](https://github.com/crypto-meta/mines/commit/b4cccc208aae5d17a7724d8e6eb616bc1a97828e))
* 优化开盒子用户体验 ([d40a690](https://github.com/crypto-meta/mines/commit/d40a6908fa429d1c468839940533b5b24b1b0055))
* 优化星级数据统计算法 ([c687433](https://github.com/crypto-meta/mines/commit/c6874334899590aaad4b2bfed3618ec5758a0223))
* 优化用户体验 ([f0064b9](https://github.com/crypto-meta/mines/commit/f0064b9323fd0427c1d6af865c04a4085b7ca223))
* **utils:** 优化用户体验 ([0cb5995](https://github.com/crypto-meta/mines/commit/0cb5995c92eff0d548bcd1513f1c2fb294d221eb))


### Bug Fixes

* 打印当前使用节点改成用 spinner.info ([bd14334](https://github.com/crypto-meta/mines/commit/bd1433455262a9726734c4a2bbaa5a80ab5cea45))
* 开启修改为拆 ([326af84](https://github.com/crypto-meta/mines/commit/326af84b0584d8922079e7e87b723f4120129699))
* 移除 bsc-dataseed1.ninicoin.io 节点 ([d8af2e9](https://github.com/crypto-meta/mines/commit/d8af2e97c2ff7059956bea0bdc7807670a749de4))
* 优化 whoami 命令 ([14a15c6](https://github.com/crypto-meta/mines/commit/14a15c693c90a40e1ee636ce7d12fdbd4f2e4240))
* 优化代码结构 ([35ce177](https://github.com/crypto-meta/mines/commit/35ce177b347104ebef82210b420565f7486c4dfd))
* 优化代码结构 ([d00c943](https://github.com/crypto-meta/mines/commit/d00c9431135e865d1ef6b9bd04f59b857c91afdb))
* fix invalid BigNumber value ([b5656f4](https://github.com/crypto-meta/mines/commit/b5656f4e157101680cefd8c0205ceceddcb08b8a)), closes [#3](https://github.com/crypto-meta/mines/issues/3)

### [0.9.2](https://github.com/crypto-meta/mines/compare/v0.9.1...v0.9.2) (2021-11-27)


### Features

* 打印当前使用节点，供判断稳定性 ([6dedfbe](https://github.com/crypto-meta/mines/commit/6dedfbe99dc06d319006adac46c0ead2ae3fee60))


### Bug Fixes

* 优化 getTransactionReceipt 方法 ([d39c73e](https://github.com/crypto-meta/mines/commit/d39c73ea0ec4f1fee398ce764ffe3d0464820bc1))

### [0.9.1](https://github.com/crypto-meta/mines/compare/v0.9.0...v0.9.1) (2021-11-27)


### Features

* 开启动态切换节点并提示 ([c2241d8](https://github.com/crypto-meta/mines/commit/c2241d88fe1ee04e72c8421ea6f08c41729bd12e))


### Bug Fixes

* 删除 bsc-dataseed1.defibit.io 这个不稳定的节点 ([498ed46](https://github.com/crypto-meta/mines/commit/498ed46f7599c63c3f874d7fe38bfaa75c841667))
* 优化销毁跳过的文案 ([15fd7a4](https://github.com/crypto-meta/mines/commit/15fd7a4495ca96cbc680074ed55fc5397edaa290))

## [0.9.0](https://github.com/crypto-meta/mines/compare/v0.8.7...v0.9.0) (2021-11-27)


### Features

* 加大销毁低算力工人默认的 gasPrice，提高成功率 ([4deed77](https://github.com/crypto-meta/mines/commit/4deed775e169a4e20fdd7c5854248532f7be238b))
* 取消销毁确认的步骤 ([35a9ecc](https://github.com/crypto-meta/mines/commit/35a9ecc54cd1cacd354ad533ffb2af69e4a20719))
* 实现本地鉴权和线上鉴权相结合 ([f59c2b4](https://github.com/crypto-meta/mines/commit/f59c2b4b17240667b98a899411238a144aef49b3))
* 添加 7 种报错信息到 knownErrors ([1bfe498](https://github.com/crypto-meta/mines/commit/1bfe498cf4c8e849baa246ec0fff98367ad57e63))
* 添加 invalid BigNumber value 到 knownErrors ([05f3dc6](https://github.com/crypto-meta/mines/commit/05f3dc68de2cc27dc584f60f0b4aeec801c0223c))
* 优化任务执行中的提示 ([3b7fe9d](https://github.com/crypto-meta/mines/commit/3b7fe9d0f35b8579bb50c9e5674cb6438181e3a3))
* 重构完成飞船所有的命令 ([1aa6777](https://github.com/crypto-meta/mines/commit/1aa67774f2a5855dbbbce101defbffcbcf433751))
* **worker:** 优化倒计时，让用户等待不无聊 ([d959793](https://github.com/crypto-meta/mines/commit/d959793362b002e5b40733d4ea34406f3211c59e))
* **worker:** 增加倒计时，让用户等待不无聊 ([3f08e65](https://github.com/crypto-meta/mines/commit/3f08e6591b9bad9bd3e931bf251740578645f8ca))


### Bug Fixes

* 删除无用的提示 ([5f8dbac](https://github.com/crypto-meta/mines/commit/5f8dbac4497a1a724859eb1a10b61ae8a5559c94))
* 设置销毁工人的默认 gasPrice 为 6000000001 ([4f78b4f](https://github.com/crypto-meta/mines/commit/4f78b4fb94039096fe902d60e7d4809b623d3107))
* 修复买工人盒子失败率高的 bug ([fb61c3b](https://github.com/crypto-meta/mines/commit/fb61c3b57a47dfba7b217c9e13f6ee251d213b77))
* set nonce = await web3.eth.getTransactionCount(address, 'pending') ([9c5dac6](https://github.com/crypto-meta/mines/commit/9c5dac6a52d1ba9d0ba123b0132f8fc676c2d650))
* set nonce = await web3.eth.getTransactionCount(address, 'pending') ([c3d2dfd](https://github.com/crypto-meta/mines/commit/c3d2dfdf021c84ef0421004d60c3d8b882e48358))

### [0.8.7](https://github.com/crypto-meta/mines/compare/v0.8.6...v0.8.7) (2021-11-27)

### [0.8.6](https://github.com/crypto-meta/mines/compare/v0.8.5...v0.8.6) (2021-11-27)


### Features

* 删除文档的敏感信息 ([a6facd7](https://github.com/crypto-meta/mines/commit/a6facd727ca7955464dea95cd3433e1259f49e11))

### [0.8.5](https://github.com/crypto-meta/mines/compare/v0.8.0...v0.8.5) (2021-11-27)


### ⚠ BREAKING CHANGES

* 动态切换节点竟然还没有固定的快，简直凸(艹皿艹 )

* 移除动态切换节点的功能 ([2d7749e](https://github.com/crypto-meta/mines/commit/2d7749e5e05c6164b3c6c4bd4eebd895591d0b5c))

## [0.8.0](https://github.com/crypto-meta/mines/compare/v0.7.0...v0.8.0) (2021-11-27)


### ⚠ BREAKING CHANGES

* **account:** 不再使用远程鉴权，后边会定时同步

### Features

* **account:** 鉴权换成本地的 ([ee334c8](https://github.com/crypto-meta/mines/commit/ee334c8a4c7a2f6d10c233b0cfdc77a7d793b1fb))
* register 0x44C5daD696A2ECf3eC48A88fe35B833368dE461D ([646639e](https://github.com/crypto-meta/mines/commit/646639e0044e2881d346babd2f494ec7f71a8500))

## [0.7.0](https://github.com/crypto-meta/mines/compare/v0.6.0...v0.7.0) (2021-11-27)


### ⚠ BREAKING CHANGES

* **win:** 0.5.0 和 0.6.0 都因为配置问题没有把 win 打进 npm 包，请勿使用
* 更换压缩算法

### Features

* 调试环境注册一个测试命令 ([9fbbe6e](https://github.com/crypto-meta/mines/commit/9fbbe6e966d460b4728aed41e4397d5716edce8f))
* 加快打包速度 ([ebcf9d7](https://github.com/crypto-meta/mines/commit/ebcf9d7e87503bb37acaabe812ad3d03b9b89162))


### build

* **win:** 修复 win 的执行文件没有打进 npm 包的 bug ([10785a7](https://github.com/crypto-meta/mines/commit/10785a78f3fab896bd33bbb05d5031cdc22e46aa))

## [0.6.0](https://github.com/crypto-meta/mines/compare/v0.5.0...v0.6.0) (2021-11-27)


### Features

* 新增 windows 平台支持 ([583796f](https://github.com/crypto-meta/mines/commit/583796f7d514c5af7ea9425cf954049838c3aab1))

## [0.5.0](https://github.com/crypto-meta/mines/compare/v0.4.0...v0.5.0) (2021-11-26)


### Features

* 买完工人盒子间隔 330s 自动打开，再过 330s 自动销毁 60 算力以下的工人 ([19524c4](https://github.com/crypto-meta/mines/commit/19524c46d50ade52fbab0a4a0577452094053490))
* 添加本地验证地址的功能 ([8b1f7f3](https://github.com/crypto-meta/mines/commit/8b1f7f3058aa4eb806602a4cdde8d41eb46d77b3))


### Bug Fixes

* 凸(艹皿艹 )，差点把源码发出去，凸(艹皿艹 ) ([d57ee0f](https://github.com/crypto-meta/mines/commit/d57ee0fb8f495fc71f3e90ad81e50608d8802c2d))

## [0.4.0](https://github.com/crypto-meta/mines/compare/v0.3.0...v0.4.0) (2021-11-26)


### ⚠ BREAKING CHANGES

* **worker:** 删除 cm worker open 命令的 count 参数

### Features

* 所有交易的默认 gas 和 gasPrice 加一 ([dffea18](https://github.com/crypto-meta/mines/commit/dffea187de1b7caf77a7c8327aedba27586c1edc))
* 提供测试脚本给自己用 ([45c8afd](https://github.com/crypto-meta/mines/commit/45c8afd65bdae3be842a28e58641b7149c3bca25))
* 添加 insufficient funds for intrinsic transaction cost 到 knownErrors 并提高 gasPrice 的默认值 ([bd7310f](https://github.com/crypto-meta/mines/commit/bd7310f35fc2a0074f7813299fa7c852a95398d4))
* 添加 knownErrors 进行人性化管理错误 ([ce068d3](https://github.com/crypto-meta/mines/commit/ce068d30a48888e6a742deaac577fdb576cbccb5))
* 添加 nonce has already been used 和 replacement fee too low 到 knownErrors ([b85666c](https://github.com/crypto-meta/mines/commit/b85666c1f01dff7c8191e4d7098bcc6b6ecfcf14))
* 修改几个命令的描述 ([e8591df](https://github.com/crypto-meta/mines/commit/e8591df797e2b4d4191f867ba236002e3b7e4918))
* 优化 login、logout 和 whoami 命令 ([6461623](https://github.com/crypto-meta/mines/commit/646162395e924ac2f55dd1ba97c74e0adab214fb))
* 优化代码结构、提高稳定性和用户体验 ([dec3fc2](https://github.com/crypto-meta/mines/commit/dec3fc24893127a56e9d9a46f611508555b3bb2d))
* 优化开工人盒子的用户体验、优化买工人和开工人盒子代码可读性 ([8401856](https://github.com/crypto-meta/mines/commit/84018564ca194ecbfb6a81ca32faae5cf5c1e86f))
* 优化销毁工人的体验、提高销毁工人的稳定性 ([5552f73](https://github.com/crypto-meta/mines/commit/5552f7329dee65a6eec2995c78476d0e3e0062d4))
* 优化销毁工人的用户体验 ([fea6c02](https://github.com/crypto-meta/mines/commit/fea6c0287616fad73e2de4c3badf5936044cb54c))
* 余额描述增加 BNB ([8eab723](https://github.com/crypto-meta/mines/commit/8eab7234492e71328ae01d7590d8a228335206e9))
* 支持发布到 npm ([05de5fc](https://github.com/crypto-meta/mines/commit/05de5fc59dfa603454f759202df2db9e5be3abff))
* 支持通过 node 执行脚本 ([f1a9653](https://github.com/crypto-meta/mines/commit/f1a9653c7af14e8e0a1117146aff70e9935c46ef))
* add non-payable method cannot override value to knownErrors ([2cf3d8e](https://github.com/crypto-meta/mines/commit/2cf3d8e53acf8daaa099ff5adafd7d4cb69900f5))
* set nonce to await web3.eth.getTransactionCount(address, 'pending')) + 1 提供稳定性 ([5fea479](https://github.com/crypto-meta/mines/commit/5fea479a712010fbc57f1f49e7b7671d91290bb3))
* **worker:** 实现一键开启所有的盲盒 ([96f85b7](https://github.com/crypto-meta/mines/commit/96f85b73c6b64dffeef67be3a8cefb031b92c533))


### Bug Fixes

* 保持 ethers 和 web3 的一致，为以后迁移做准备 ([6d4aebf](https://github.com/crypto-meta/mines/commit/6d4aebffd6af6bee1ff5c8a24f3a761f9e7d814e))
* 地址改成账号 ([bfcb23c](https://github.com/crypto-meta/mines/commit/bfcb23c47cd171a67c237aec431ce01ab0036ce1))
* 简化命令注册方式 ([f94c75d](https://github.com/crypto-meta/mines/commit/f94c75db8c134dd270fb616b4a0e24679e46cf51))
* 删除验证成功提示 ([3fa354b](https://github.com/crypto-meta/mines/commit/3fa354bf8b01c8de9f242b0d922f0c224800c46a))
* 修改登录表单验证 ([92afbaa](https://github.com/crypto-meta/mines/commit/92afbaacdfb32cd9a557c5372082a307ec40dac7))
* 异常处理添加 5 分钟重试的提醒 ([b99cbb7](https://github.com/crypto-meta/mines/commit/b99cbb7c2e6da5f534936d3d3ebec14b16539c2e))
* use yarn pkg ([5d46182](https://github.com/crypto-meta/mines/commit/5d461826f2e695b4c59f7048bdc4bbeacee9ba68))
* **worker:** gas 和 gasPrice 不做转数字处理 ([e42909a](https://github.com/crypto-meta/mines/commit/e42909a5c516c0b7e9fbf7548806c89617266ef6))

## [0.3.0](https://github.com/crypto-meta/mines/compare/v0.2.0...v0.3.0) (2021-11-26)


### Features

* 开工人盒子支持每次发起交易选最快的节点 ([fb3094b](https://github.com/crypto-meta/mines/commit/fb3094b8b0ab94f5d2563c7b80eb5ddb91c68a71))
* 实现选最优链路创建 web3 对象 ([ed90e9f](https://github.com/crypto-meta/mines/commit/ed90e9f4083a21d5bc9bd9766995b4c97c59a5fb))
* 所有 worker 命令设置更好的办法 ([da36c4c](https://github.com/crypto-meta/mines/commit/da36c4c5695ac9b021153678ee28139eef8abd2f))
* 优化销毁工人的等待的用户体验 ([8672e9d](https://github.com/crypto-meta/mines/commit/8672e9d18b22a145c90994956b114b549a55730e))

## [0.2.0](https://github.com/crypto-meta/mines/compare/v0.1.3...v0.2.0) (2021-11-25)


### Features

* 开盒子支持切换 gasPrice ([6959d13](https://github.com/crypto-meta/mines/commit/6959d1371d49ad42d64f4efdbe5432d3ed0306a5))
* 买飞船、开飞船、买工人、开工人都支持修改 gas gasPrice ([a776cd6](https://github.com/crypto-meta/mines/commit/a776cd6c5128d09bb6955d8ca5d6233a6a5f3603))
* 优化所有的异常处理 ([fccc232](https://github.com/crypto-meta/mines/commit/fccc2325c5a8e336a3603f6522faa2fae3d3d45e))


### Bug Fixes

* 买和销毁命令等待区块确认的时间增长 ([2d6a8c2](https://github.com/crypto-meta/mines/commit/2d6a8c2f34ad740c46dd9cc688d9f8a8db313a6e))
* getTransactionReceipt duration 增加参数，默认值设为 300 ([2f256e3](https://github.com/crypto-meta/mines/commit/2f256e371b61c28c719147d4ae0a01828535b316))
* insufficient funds for intrinsic transaction cost 不是余额不足 ([536d130](https://github.com/crypto-meta/mines/commit/536d1303d8d1444ac2b3459bb6d0a6f6aaae06ea))

### [0.1.3](https://github.com/crypto-meta/mines/compare/v0.1.2...v0.1.3) (2021-11-25)


### Features

* 切换为比较稳定的  bsc 节点 ([1fc9d01](https://github.com/crypto-meta/mines/commit/1fc9d019ad691dd6640b2973ee556db05e776ef9))

### [0.1.2](https://github.com/crypto-meta/mines/compare/v0.1.1...v0.1.2) (2021-11-25)


### Bug Fixes

* 给所有命令添加 try catch ([c366ad4](https://github.com/crypto-meta/mines/commit/c366ad4c19703e88ccb8436632975362951ae280))
* 修复存的 key 不对的问题 ([6df9cb8](https://github.com/crypto-meta/mines/commit/6df9cb88ce170c6d6d9227579537d180297a355a))

### [0.1.1](https://github.com/crypto-meta/mines/compare/v0.1.0...v0.1.1) (2021-11-25)


### Features

* 登录命令的异常处理 ([d365c43](https://github.com/crypto-meta/mines/commit/d365c439ce8b79c75d765033f1f48b2c85eb3ebd))


### Bug Fixes

* 修复登录失败和登录成功同时出来的 bug ([3549f2c](https://github.com/crypto-meta/mines/commit/3549f2c4512fcc234d6bc478baafb795116466ce))

## [0.1.0](https://github.com/crypto-meta/mines/compare/v0.0.1...v0.1.0) (2021-11-25)


### ⚠ BREAKING CHANGES

* login 命令新增了输入地址

### Features

* address 本地化 ([3cf16ee](https://github.com/crypto-meta/mines/commit/3cf16eeef777ddcb359609f958cd5af75a862fd1))


* 重构账号体系，不在通过网络请求地址 ([228a85e](https://github.com/crypto-meta/mines/commit/228a85e45347f9390f5e1e51b4e3dcf7931a165a))

### 0.0.1 (2021-11-25)


### Features

* 拒绝等待，跳过异常 ([42fbb42](https://github.com/crypto-meta/mines/commit/42fbb42ad58bb36d86b20d3c56a38c43908bba70))
* 买飞船和买工人增加 -g/--gas ([9cf66ed](https://github.com/crypto-meta/mines/commit/9cf66ed0678a3b1da4021fb1aab7965245e9e3e3))
* 买每一个工人和买飞船之前校验余额 ([785ffea](https://github.com/crypto-meta/mines/commit/785ffea9d048df535cd5f8bcb2cbe5a05e433662))
* 实现鉴权功能 ([081b69f](https://github.com/crypto-meta/mines/commit/081b69f1c06dbf1bb08970f683b2aa2a560383bf))
* 添加批量销毁工人 ([31d1c1f](https://github.com/crypto-meta/mines/commit/31d1c1f4a0996c9d39b72a4e740dac65737565e0))
* 完成买飞船、开飞船 ([272540b](https://github.com/crypto-meta/mines/commit/272540ba39d968d0ab1d633ede00ec8c65496b3c))
* 完成销毁飞船和显示飞船星级统计的命令 ([1ff13a2](https://github.com/crypto-meta/mines/commit/1ff13a25dbcaddfb6b8a882a98d65e42c4f927bf))
* 增加 balance 命令 ([29e5f05](https://github.com/crypto-meta/mines/commit/29e5f0521792a319a428a63dcc5d4ad4174584da))
* 增加 cm whoami ([3d00a4c](https://github.com/crypto-meta/mines/commit/3d00a4ca192da84ebdead1f8db360bea6b27a481))
* 增加和飞船星级统计的命令 ([7cba514](https://github.com/crypto-meta/mines/commit/7cba514a96cbc31f6aea5cf4de0b34043407df14))
* 增加显示工人星级统计的命令 ([07ccd39](https://github.com/crypto-meta/mines/commit/07ccd39cd7534a49e824cf25dc6619dc295f2552))
* 支持打包成二进制文件 ([6246360](https://github.com/crypto-meta/mines/commit/62463601cf8ec8301388d589cd41d6dca362b825))
* 支持获取当前钱包信息 ([6bcedad](https://github.com/crypto-meta/mines/commit/6bcedad7d0ddf1956fdfd04011055e7139a518b3))
* add --power to worker list command ([e3eb131](https://github.com/crypto-meta/mines/commit/e3eb131e229108c701a29823f81fd14763737c62))


### Bug Fixes

* 解决 Returned error: already known 问题 ([d316589](https://github.com/crypto-meta/mines/commit/d316589defb35d3adb23a393caa1f58013e78eb7))
* 使用 getTransactionReceipt 代替 wait ([3258380](https://github.com/crypto-meta/mines/commit/3258380795654e1904ee8462be0a977d756c083e))
* 修复错误的引用 ([7719d8e](https://github.com/crypto-meta/mines/commit/7719d8e1b829da3ef2a803e52cee71b47b2f35a9))
* 修复异常情况跳出循环的情况 ([8d5c723](https://github.com/crypto-meta/mines/commit/8d5c723f5d0f8d3b85af0a28ba8fb4cad5f37db9))
* add nonce to ship commands ([554bf4e](https://github.com/crypto-meta/mines/commit/554bf4e223ecfc81012a6c0c2be07e59e4deee0e))
