Skip to content

pleszkowicz/web3-wallet-connect

Repository files navigation

This is a Next.js project bootstrapped with create-next-app. It connects with injected web3 wallet from the browser and allows to:

  • switch networks (chains)
  • read balance
  • send transaction

Getting Started

This project utilizes next.js API routing to connect with Etherscan. THe key is stored locally in the .env file. See .env for more details and how to obtain a key.

Create .env.local and add required key(s) to it.

First, run the development server:

pnpm install
pnpm dev

Open http://localhost:3000 with your browser to see the result.

App

Once the application is running, you should see the following login screen:

login

Then, use selected web3 wallet from the browser and allow read-only access to your account.

balance

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

Next.js project - wallet connect

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published