wallet-connect-web-examples/advanced/wallets/react-wallet-auth
renovate[bot] 82e0d288b7
fix(deps): update dependency @polkadot/keyring to v12 (#370)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-31 20:19:13 -03:00
..
public restructure (#345) 2023-12-13 15:36:25 -03:00
src restructure (#345) 2023-12-13 15:36:25 -03:00
.env.local.example restructure (#345) 2023-12-13 15:36:25 -03:00
.eslintrc.json restructure (#345) 2023-12-13 15:36:25 -03:00
.gitignore restructure (#345) 2023-12-13 15:36:25 -03:00
.prettierrc.json restructure (#345) 2023-12-13 15:36:25 -03:00
next-env.d.ts restructure (#345) 2023-12-13 15:36:25 -03:00
next.config.js restructure (#345) 2023-12-13 15:36:25 -03:00
package-lock.json fix(deps): update dependency @polkadot/keyring to v12 (#370) 2023-12-31 20:19:13 -03:00
package.json fix(deps): update dependency @polkadot/keyring to v12 (#370) 2023-12-31 20:19:13 -03:00
README.md restructure (#345) 2023-12-13 15:36:25 -03:00
tsconfig.json restructure (#345) 2023-12-13 15:36:25 -03:00

Auth Wallet Example (React, Typescript, Ethers, NextJS)

This example aims to demonstrate wallet-facing use cases enabled by WalletConnect Auth Alpha. Please only use this for reference and development purposes, otherwise you are at risk of losing your funds.

Useful links

🔗 Live wallet app - https://react-auth-wallet.walletconnect.com/
🔗 Live dapp - https://react-auth-dapp.walletconnect.com/
📚 WalletConnect docs - https://docs.walletconnect.com/2.0

Getting started

Example is built atop of NextJS in order to abstract complexity of setting up bundlers, routing etc. So there are few steps you need to follow in order to set everything up

  1. Go to WalletConnect Cloud and obtain a project id

  2. Add your project details in WalletConnectUtil.ts file

  3. Install dependencies via npm install

  4. Setup your environment variables

cp .env.local.example .env.local

Your .env.local now contains the following environment variables:

  1. Run npm run dev to start local development