Skip to content

Proofifi allows everyone to create NFT Certificates for second hand items using Account Abstraction and ENS

Notifications You must be signed in to change notification settings

RosarioB/proofifi-mvp

Repository files navigation

proofifi-mvp

This is the source code of this Youtube video.

This project is a Next.js starter application that demonstrates the integration of Privy Smart Wallets for signing and executing transactions on the Base and Base Sepolia networks.

Features

  • Privy authentication and embedded wallets
  • Smart wallet integration
  • Signing messages
  • Sending USDC transactions
  • Chain switching between Base and Base Sepolia
  • Balance display for both embedded and smart wallets

Getting Started

  1. Clone the repository
  2. Install dependencies:
yarn install
  1. Set up your environment variables:

Create a .env.local file in the root directory and add your Privy App ID:

NEXT_PUBLIC_PRIVY_APP_ID=your_privy_app_id_here

Deploy the smart contract Proofifi.sol to be able to mint the NFTs.

  1. Run the development server:
npm run dev

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

Project Structure

  • app/: Contains the main application pages and layout
  • components/: Reusable React components
  • lib/: Utility functions and constants
  • public/: Static assets

Dependencies

Key dependencies include:

  • Next.js
  • React
  • Privy SDK (@privy-io/react-auth, @privy-io/wagmi)
  • Wagmi
  • Viem
  • NextUI

For a full list of dependencies, refer to the package.json file.

Learn More

To learn more about the technologies used in this starter:

Deployment

This project can be easily deployed on Vercel. For more details, check out the Next.js deployment documentation.

Contributing

About

Proofifi allows everyone to create NFT Certificates for second hand items using Account Abstraction and ENS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published