@web3auth/node-sdk SDK is a simple and easy to use SDK in your Node.js backend to get the same experience of Web3Auth frontend SDKs.
@web3auth/node SDK gives you the simplest flow for onboarding a user with Web3Auth. The user just needs to click on the login button, connect to
their favourite social account (OAuth) or any passwordless flow, like email passwordless, biometric authentication etc., and a private key is
generated for them. This flow has a 1/1 Key Share setup and the whole key via Web3Auth Auth Network key shares is provided directly to your app, and
reconstructed within it.
This flow is still non custodial since the nodes in the Web3Auth network have a 5/9 consensus mechanism to generate the key shares. However, one can claim that this flow is custodial to the OAuth Login provider, since this is directly generated using credentials provided by them.
Hence we can call this flow a semi-custodial flow, and encourage users to enable MFA to have a 2/3 Key Share setup, which is a fully non custodial.
This Documentation is based on
2.0.1 SDK Version.
- This is a backend SDK and can in any node environment
- Basic knowledge of NodeJS
Quick Start: Integrate Web3Auth in 4 Simple Steps.
Example Applications: Explore our example applications and try the SDK yourself.
Troubleshooting: Find quick solutions to common issues faced by developers.
Source Code: Web3Auth is open sourced. You can find the source code on our GitHub repository.
Community Portal: Join our community to get support from our team and other developers.