Skip to content

Commit f2cb0cc

Browse files
committed
Merge remote-tracking branch 'upstream/main' into dev
2 parents 587a4a2 + 53ca887 commit f2cb0cc

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

basic/01-web3js-deploy/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
- 本样例发送交易到 Infura , 需要创建相应的 Infura Project, 可以参考如下资料进行创建
55
https://ithelp.ithome.com.tw/articles/10202794
6-
6+
77
- 为方便代码测试, 在 .env 中放入的私钥,格式为 "PRIVATE_KEY=xxxx", 然后代码自动从中读取, 样例文件可参考 .env.example
8-
8+
99
- 同时在 BiliBili 上有上传本样例代码的讲解演示:
1010
https://www.bilibili.com/video/BV1Y44y1r7E6/
1111

basic/06-ethersjs-waffle/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ yarn test
4545
node index.js
4646
```
4747
## 说明
48+
在使用命yarn install命令,提示无法找到yarn命令时(比如在VMware上跑),可以尝试执行:
49+
1. $ sudo wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.rep
50+
2. $ sudo yum install yarn
51+
52+
之后查看yarn 版本:
53+
$ yarn --versionyarn --version
54+
55+
4856
- 如果在windows上跑yarn test命令时,要把package.json文件中script脚本中test命令中的export命令修改为set命令,否则会报找不到命令。
4957

5058
修改前:
@@ -64,7 +72,8 @@ node index.js
6472
"test": "set NODE_ENV=test && mocha --timeout 10000"
6573
},
6674
```
67-
75+
76+
6877
## 参考文档
6978

7079
- waffle 官方文档: <https://ethereum-waffle.readthedocs.io/en/latest/getting-started.html>

docs/books.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- [《第四次转折》](http://m.ishare.iask.sina.com.cn/f/9679610.html)
1414
- [《乌合之众》](https://book.douban.com/subject/6966569/)
1515
- [《娱乐至死》](https://book.douban.com/subject/1062193/)
16+
- [《聪明的投资者》](https://book.douban.com/subject/5243775/)
1617

1718

1819
## 文章推荐

0 commit comments

Comments
 (0)