Next.js viem TEE Simulator Template

Requirements

  • Node >= v18.18
  • yarn
  • Docker or Orbstack

Getting Started

First, run the TEE Attestation Simulator:

docker run --rm -p 8090:8090 phalanetwork/tappd-simulator:latest

Next, download the dependencies with yarn

yarn

Build the docker image

docker build -t your-dapp:latest .

After the build is successful, run your docker image to connect to the TEE Attestation Simulator

NOTE: Your docker image hash will be different than the one listed below.

docker run --rm -p 3000:3000 your-dapp:latest