Skip to content

Commit 008ccf8

Browse files
committed
doc: give more description
1 parent 18915f9 commit 008ccf8

File tree

5 files changed

+11
-0
lines changed

5 files changed

+11
-0
lines changed

basic/15-nft-blindbox-chainlink-vrf/README-CN.md

+6
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ npx hardhat run scripts/transaction.js --network sepolia
7676
```
7777
RandomWords 随机数生成之后,通过合约传入。./scripts/deployment.json 中保存的 requestID,再次获取之前获取的随机数。可以自定义随机数使用场景,本例只作为调用参考。
7878

79+
随机数生成之后,可以在Ehterscan中查看
80+
<center><img src="./imgs/Consumer.png?raw=true" /></center>
81+
<center><img src="./imgs/Events.png?raw=true" /></center>
82+
<center><img src="./imgs/RequestAndResult.png?raw=true" /></center>
83+
84+
7985
## 参考链接
8086
github 样例代码: https://github.com/PatrickAlphaC/dungeons-and-dragons-nft
8187
Chainlink链下报告概览: https://learnblockchain.cn/article/2186

basic/15-nft-blindbox-chainlink-vrf/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ npx hardhat run scripts/transaction.js --network sepolia
7474
```
7575
RandomWords After the random number is generated, it is passed in through the contract. The requestID saved in ./scripts/deployment.json is used to obtain the random number obtained before. You can customize random number usage scenarios. This example is only used as a calling reference.
7676

77+
After the random number is generated, it can be viewed in Ehterscan
78+
<center><img src="./imgs/Consumer.png?raw=true" /></center>
79+
<center><img src="./imgs/Events.png?raw=true" /></center>
80+
<center><img src="./imgs/RequestAndResult.png?raw=true" /></center>
81+
7782

7883
## Refer to the link
7984
Github sample code: https://github.com/PatrickAlphaC/dungeons-and-dragons-nft
Loading
Loading
Loading

0 commit comments

Comments
 (0)