Skip to content

A template for using wagmi, NextJS and web3auth to connect to a frontend of an application created on SettleMint.

Notifications You must be signed in to change notification settings

settlemint/settlemint-eas-coffee

 
 

Repository files navigation

Coffee Track and Trace App

A Next.js-based application for tracking and tracing coffee, built on the SettleMint platform. This app integrates Web3Auth for secure authentication, features an AI-powered search functionality, and uses the Ethereum Attestation Service (EAS) as its smart contract backend.

alt text

Demo

Check out the live demo of the application: Coffee Track and Trace Demo

Features

  • Coffee tracking and tracing system
  • Web3Auth integration for blockchain-based authentication
  • AI-powered search feature for efficient data retrieval
  • Ethereum Attestation Service (EAS) as the smart contract backend
  • Built with Next.js for optimal performance and SEO

Prerequisites

  • Bun installed on your system
  • SettleMint platform access
  • Web3Auth credentials

Getting Started

  1. Clone the repository:

    git clone https://github.com/your-repo/coffee-track-and-trace.git
    cd coffee-track-and-trace
    
  2. Install dependencies:

    bun install
    
  3. Set up environment variables: Copy the .env.example file to .env.local and fill in the required values:

    cp .env.example .env.local
    
  4. Run the development server:

    bun dev
    
  5. Open http://localhost:3000 in your browser to see the application.

Available Commands

  • bun dev: Start the local development server
  • bun build: Build the application for production
  • bun start: Start the production server
  • bun docker: Build and push a new Docker image

Development

You can start editing the app by modifying src/app/page.tsx. The page auto-updates as you edit the file.

Deployment

To deploy the application using Docker:

  1. Ensure you have Docker installed and configured on your system.
  2. Run the following command to build and push a new Docker image:
    bun docker
    

For more detailed deployment instructions, refer to the project's deployment documentation.

Learn More

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.

About

A template for using wagmi, NextJS and web3auth to connect to a frontend of an application created on SettleMint.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.0%
  • Other 2.0%