Skip to content

Commit

Permalink
adjust details
Browse files Browse the repository at this point in the history
  • Loading branch information
beihaili committed Sep 4, 2022
1 parent d394c12 commit ee83da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 02_Provider/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

## `Provider`

`Provider`类是对以太坊网络连接的抽象,为标准以太坊节点功能提供简洁、一致的接口。在`ethers`中,`Provider`不接触用户私钥,只能读取链上信息,不能写入,这一点比`web3js`要安全。
`Provider`类是对以太坊网络连接的抽象,为标准以太坊节点功能提供简洁、一致的接口。在`ethers`中,`Provider`不接触用户私钥,只能读取链上信息,不能写入,这一点比`web3.js`要安全。

除了[之前](https://github.com/WTFAcademy/WTFEthers)介绍的默认提供者`defaultProvider`以外,`ethers`中最常用的是`jsonRpcProvider`,可以让用户连接到特定节点服务商的节点。

Expand Down

0 comments on commit ee83da9

Please sign in to comment.