Giter Site home page Giter Site logo

baturalpguvenc / dappify Goto Github PK

View Code? Open in Web Editor NEW

This project forked from srinivasjoshi/dappify

0.0 0.0 0.0 247 KB

Nextjs.13 dApp Development Kit

Home Page: https://dappify.vercel.app

Shell 0.47% JavaScript 3.60% TypeScript 92.38% CSS 0.78% Solidity 2.77%

dappify's Introduction

Dappify

Dappify is a Nextjs.13 dApp Development Kit, an advanced template designed to simplify the development of decentralized applications (dApps) using Next.js 13.

Info If you are not comfortable with Next.js, consider exploring Reactify

Why Use This :

  • Next.js 13 Advantage: Stay ahead of the curve by utilizing the latest Next.js features.The integrated App Router simplifies navigation

  • Tailwind CSS Integration: Enjoy the benefits of Tailwind CSS, a highly customizable utility-first CSS framework.

  • User-Friendly Wallet Access: RainbowKit provides a fast, easy and highly customizable way for developers to add a great wallet experience to their application.

  • Effortless Contract Integration: Wagmi simplifies smart contract integration, reducing the complexity of Ethereum interactions and allowing you to focus on building your dApp's core functionality.

  • Ethers.js Compatibility: We employ Ethers for converting values from the blockchain, like BigInt, and parsing inputs.

  • TypeScript Support: Take advantage of TypeScript for enhanced code quality, better tooling, and improved developer experience.

Setup and use

  1. Clone the Repository:

     git clone https://github.com/SrinivasJoshi/Dappify.git
    
  2. Change Directory:

     cd Dappify
    
  3. Install Dependencies:

     npm install
    
  4. Configure WalletConnect Cloud:

  • Obtain a projectId from WalletConnect Cloud.

  • Open utils/providers.tsx in your code editor.

  • Add the obtained projectId and the desired appName in the provided space in the code.

  • Optionally also configure the chain as shown in utils/providers.tsx.

  1. Start dev server :

     npm run dev
    
  2. Format code :

     npm run format
    

Folder structure

๐Ÿ“ root

โ”œโ”€โ”€ ๐Ÿ“ app

โ”œโ”€โ”€ ๐Ÿ“ components

โ”œโ”€โ”€ ๐Ÿ“ contracts

โ”œโ”€โ”€ ๐Ÿ“ utils

โ”œโ”€โ”€ ๐Ÿ“ public

โ”œโ”€โ”€ ๐Ÿ“„ tailwind.config.js

โ”œโ”€โ”€ ๐Ÿ“„ tsconfig.js

โ”œโ”€โ”€ ๐Ÿ“„ package.json

โ”œโ”€โ”€ ๐Ÿ“„ package-lock.json

โ”œโ”€โ”€ ๐Ÿ“„ .gitignore

โ”œโ”€โ”€ ๐Ÿ“„ README.md

โ””โ”€โ”€ ๐Ÿ“ .husky

app : Next.js App router for web pages.

components : Reusable React components for the app.

contracts : Store for smart contract references.

utils : Utilities like contract info, client-side rendering, and app configuration

  • contractInfo.ts : smart contract address and ABI

  • clientOnly.tsx : help you work with client-side rendering components.

  • providers.tsx : config (wallet, chains, wagmi, react-toast notifications).

public : assets folder.

Additional reads

If you're working with Next.js 13, you're likely to encounter various challenges. This template has been carefully crafted to help you navigate those hurdles based on my personal experience.

  1. This article helped me a lot - Link.

  2. Next.js (v13) docs - Link

dappify's People

Contributors

srinivasjoshi 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.