Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
E

ethers-tutorial

> 编程语言
Open source

Ethers.js web3快速入门教程;Ethers.js web3 Beginner's Tutorial

193 stars0 likes1 views
WebsiteGitHub

About

Ethers.js web3快速入门教程;Ethers.js web3 Beginner's Tutorial

Ethers.js v6 快速入门教程

概述

本教程是基于 Ethers.js v6 编写的,旨在帮助开发者快速掌握 Ethers.js 的使用方法。

你不一定要学习 Ethers.js,你也可以了解 WEB3 和 如何与以太坊进行交互。

https://ethersv6.netlify.app 在线阅读教程可以直接运行与以太坊进行交互,方便你 零 代码编写学习。

目录

快速入门

第一章: 基础概念了解 - Ethers.js

第二章: 准备工作 - 获取配置以方便后续快速学习

第三章: Provider 类 - 连接到以太坊

第四章: Contract 类 - 读取合约信息

第五章: Utils - 常用工具合集

第六章: 钱包 - 创建随机钱包

第七章: 钱包 - 将钱包连接到网络

第八章: 转账 - 使用 ETH 进行转账

第九章: 转账 - 使用 ERC-20 进行转账

第十章: 事件监听与过滤

第十一章: 异常处理

第十二章: 连接 MetaMask 钱包

第十三章: 连接 MetaMask 钱包 - 获取 Signer

进阶

第一章: Interface 类 - Interface 常用操作

第二章: Multicall3 批量查询

第三章: ENS - 注册属于自己的 ENS 域名

第四章: 流行钱包 - 判断安装与授权

第五章: 处理输入安全

实战

第一章: dApp - 编写简易 dApp 应用

第二章: 部署合约 - 部署自己的合约代币

其他

水龙头

Gas 手续费

在线阅读

https://ethersv6.netlify.app

WEB3 相关资源可以从这里找到

运行

bash
$ git clone --depth=1 https://github.com/liuzi6612/ethers-tutorial.git
$ pnpm i
$ npm run start

支持

编写不易,如果觉得本教程对您有用,可以请作者喝杯咖啡。

LICENSE

只要保持原作者署名,您可以自由地阅读、分享、修改。

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptdocusaurusethereumethersethersjs

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言