Skip to content

amhed/infinite-attestation

Repository files navigation

Full-Stack Ethereum DApp

This project combines a Next.js frontend with Foundry-managed smart contracts.

Prerequisites

  • Node.js 16+ and Yarn
  • Foundry (forge, anvil, and cast)

Project Structure

├── src/                # Next.js frontend source code
├── contracts/          # Solidity smart contracts
│   ├── src/           # Contract source files
│   ├── test/          # Contract test files
│   └── script/        # Contract deployment scripts

Quick Start

  1. Install frontend dependencies:
yarn install
  1. Install Foundry dependencies:
cd contracts && forge install && cd ..
  1. Start local blockchain:
anvil
  1. In a new terminal, compile and deploy contracts:
cd contracts
forge build
forge script script/Counter.s.sol:CounterScript --rpc-url http://localhost:8545 --broadcast
  1. Start the frontend:
yarn dev

Visit http://localhost:3000 to see your app.

Development

  • Frontend: yarn dev - Starts Next.js development server
  • Contracts: forge test - Runs contract tests
  • Local blockchain: anvil - Starts local Ethereum node

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published