This repository is Particle Demo source code. It supports Solana and EVM-compatiable chains, more chains and more features coming soon! Learn more visit Particle Network.
🔥 Currently hosted here.
Add below config to ./packages/web-demo/.env
file, Replace 'xxx' with the new values created in the Particle Dashboard.
REACT_APP_PROJECT_ID=xxx
REACT_APP_CLIENT_KEY= xxx
REACT_APP_APP_ID=xxx
# if use waleltconnect, set walletconnect project id, created in https://walletconnect.com/
REACT_APP_WALLETCONNECT_PROJECT_ID=xxx
- Install Node.js.
- Install Yarn
- Install dotenv-cli
- Run
yarn
- Run
yarn start:web-demo
⚡️ For full documentation, visit Docs.
Particle Auth is a simple self-custodial auth infra for Web3 apps and wallets. We support mobile number and email login, providing users with a simple operating experience. Their login account is then associated with a blockchain wallet, which is secured with a "Threshold Signatures vault".
- Speedy logins: the log-in process is no different from that of a Web2.0 login, which greatly lowers the barriers to entry and improves user experience.
- Non-custodial private key infrastructure: Particle Network provides MPC (Multi-Party Computation)-based TSS (Threshold Signatures Scheme). With TSS, each party creates an independent key. They then forge the vault's lock together in a modular way, in which each party shapes a part of the lock that corresponds to its key. The user is always in control of ownership and access to their cryptographic key pair.
- Custom UI: customize Particle Auth's UI so that it blends directly into your application, you can brand in the Dashboard.
- Signature Service: a full signature service, including Send Transaction, Sign Message and so on. Your users can view the detailed data of each signature.
Modular wallet adapters and components for EVM & Solana chains. Manage wallet and custom RPC requests. Particle Connect is the best way to onboard any user for your dApp. Join our Discord community to give us feedback.
You can run these demos locally.
If you use RainbowKit connect wallet, you can add particle auth quickly. Refer to the following demo.
🌈 particle + rainbowkit + next
Visit Docs for more details.
Add particle to web3modal. Refer to the following demo.
Use Particle with web3-react. Refer to the following demo.
Please report bugs or issues to particle-web-demo/issues
You can also join our Discord.