如何使用 ethers.js 在 Rinkeby 上转移 ETH
有没有人可以帮助我使用 ethers.js
以编程方式转移 ETH?
我在 Rinkeby 上有一些 ETH,想以编程方式将其转移到任何地址。
请告诉我ETH合约的地址以及如何使用ethers.js
进行转账。
Is there anybody who can help me with transfer ETH programmatically using ethers.js
?
I have some ETH on Rinkeby and want to transfer it to any address programmatically.
Please let me know the address of ETH contract and how to transfer using ethers.js
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
首先,我建议阅读 ethers.js 库。这是一个用于使用 evm 网络的出色库。
然后我们考虑两种选择:
让我们从钱包选项开始。这个例子可以在 ethers.js 文档网站上找到:
如果我们没有像 Metamask 这样的钱包,但我们有私钥,现在可以选择:
First, I suggest reading about the ethers.js library. This is a great library for working with evm networks.
Then let's consider two options:
Let's start with the wallet option. This example can be found on the ethers.js documentation site:
Now an option if we don't have a wallet like Metamask, but we have a private key:
快速的 Google 搜索就可以完成这项工作,但请检查 这个出来
A quick Google search would've done the job, but check this out