使用 Metamask 登录

? Flutter 应用可以连接到 Metamask 账户。仅支持 Web 项目!

? 安装

只需将 metamask: ^0.0.2 添加到你的 pubspec.yaml 文件的 dependencies 中。

<script src="https://cdn.ethers.io/lib/ethers-5.6.umd.min.js" type="text/javascript"></script>

将脚本添加到你的 index.html

? 示例

Example

?‍♀️?‍♂️ 贡献

欢迎所有贡献!请确保这不是一个已经存在的 issue 或 pull request。

? 贡献者

GitHub

查看 Github