# Ethers.js极简入门 **Published by:** [WODECHE](https://paragraph.com/@wodeche-2/) **Published on:** 2023-02-16 **URL:** https://paragraph.com/@wodeche-2/ethers-js ## Content 运行环境 playcode HelloVitalik.js 查询V神的钱包ETH余额import {ethers} from "ethers"; const provider = ethers.getDefaultProvider(); const main = async() =>{ const balance = await provider.getBalance(`vitalik.eth`); console.log(`V神的钱包余额为:${ethers.utils.formatEther(balance)}ETH`); } main() ## Publication Information - [WODECHE](https://paragraph.com/@wodeche-2/): Publication homepage - [All Posts](https://paragraph.com/@wodeche-2/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@wodeche-2): Subscribe to updates