This example demonstrates how to create an account using Web3Auth with vechain in a React application using an RPC-Proxy.
To get started with the example, follow these steps:
- Configure Web3Auth Client:
Go to https://dashboard.web3auth.io/ and create a create a new project. - Add .env file:
Create
.env
file and add in your client ID generated in step 1. - Install dependencies:
cd web3Auth-vechain yarn
- Run RPC-Proxy:
- For the Testnet environment, use the following command:
yarn docker:start:testnet
- For the Mainnet environment, use the following command:
yarn docker:start:mainnet
- For the Testnet environment, use the following command:
- Start App
yarn start