刚接触Ethersjs 为什么一直连接超时呀 #463
Replies: 1 comment
-
getBalance 是 await 方法 const ethers = require('ethers')
const provider = new ethers.getDefaultProvider()
;(async () => {
const balance = await provider.getBalance(`vitalik.eth`)
console.log(balance)
})() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
弄了三天了 挂梯子 卸载重装 改环境 重装系统都试过了 ┭┮﹏┭┮
Beta Was this translation helpful? Give feedback.
All reactions