【发布时间】:2022-09-23 12:03:33
【问题描述】:
首先,什么是eth-auth图书馆及其用途?另外,如何安装它(ethauth-server npm 库) 在我的 node.js 项目上?
标签: node.js authentication npm ethereum
首先,什么是eth-auth图书馆及其用途?另外,如何安装它(ethauth-server npm 库) 在我的 node.js 项目上?
标签: node.js authentication npm ethereum
eth-auth(ethauth 服务器) 是安全的npm 库通过使用用户的以太坊私钥签署外部不可预测的动态 JWT 令牌,对 node.js 去中心化应用程序 (dApps) 进行无密码用户身份验证。
强调
- 去中心化 (Web3)
- 匿名 - 覆盖 dApp 管理者和世界其他地方的用户身份。
- 无密码 - 您的以太坊私钥就是您的密码,不会泄露给任何人。
- Breach-less - 根据 eth-auth 身份验证架构,无需在数据库中存储有意义的用户数据。
✅安装将 eth-auth 添加为项目的依赖项。
npm:
npm install ethauth-server纱
yarn add ethauth-server文档:https://sathnindu-kottage.gitbook.io/eth-auth/
GitHub:https://github.com/project-evilcodes/ethauth-server
npm:https://www.npmjs.com/package/ethauth-server
网址:https://eth-auth-beta.netlify.app
【讨论】:
【讨论】: