Giter Club home page Giter Club logo

pedrojok01 / next-web3-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
25.0 2.0 14.0 5.15 MB

Nextjs web3 boilerplate built on Viem, Wagmi, Rainbowkit and Chakra UI. The perfect starting point for your next web3 project.

Home Page: https://www.next-web3-boilerplate.com/

License: MIT License

Shell 0.36% JavaScript 1.25% TypeScript 93.50% CSS 4.89%
boilerplate chakra-ui ethereum-boilerplate ethereum-dapp ethereum-dapp-boilerplate nextjs rainbowkit viem wagmi web3

next-web3-boilerplate's Introduction



Next Web3 Boilerplate

Stargazers Forks Issues MIT License LinkedIn Vercel



Preview

Table of Contents

Update:

2024-02:

  • Switched to Next.js v14;
  • Switched to Viem & Wagmi v2;
  • Add support for Linea, lineaTestnet, Bsc & bscTestnet networks;
  • Bump all dependencies to the latest versions;

Description

Simple and minimalist Web3 boilerplate to boost your Dapp development. Built using the latest tech out there: Next.js, Viem, Wagmi, RainbowKit, ChakraUI, and Typescript. Eslint, Prettier, and Husky are already configured. The perfect starting point for your next web3 project.

Try it yourself: https://next-web3-boilerplate.com/

Built With

  • nextjs
  • typescript
  • chakraui
  • viem
  • wagmi
  • Rainbowkit
  • prettier
  • ESLint

Installation

Make sure you have the following ready:

Once your config is ready, create a new repo, open your favorite code editor, and clone the repo with the following cmd:

git clone https://github.com/Pedrojok01/Next-Web3-Boilerplate.git .

Install all package dependencies by running:

bun install
# or
pnpm install
# or
yarn install
# or
npm install

Add your API keys in the .env file:

Remove the .example from the .env.example file name at the root of the project and add your API keys inside. The WalletConnect project ID is now required since the v2 update. You can create one easily on the WalletConnect dashboard.

NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID = "Project ID needed for WalletConnect v2 here";

To start the Next-Web3-Boilerplate:

First, run the development server:

bun dev
# or
pnpm dev
# or
yarn dev
# or
npm run dev

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

Features:

  • Web3 Wallet Status (MetaMask / Rainbow / Coinbase Wallet / WalletConnect)
  • Chain selector
  • Block Number / Chain ID & Name
  • Wallet balance
  • Sign Messages & Transfer Native
  • Dark mode support
  • Hook to query user's Token Balances



Enjoy!!!


⭐️ ... and don't forget to leave a star if you like it! ⭐️

(back to top)

next-web3-boilerplate's People

Contributors

pedrojok01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.