Files
Fuma Nama eea1b224a6 refactor(fhe): unify API - reveal() replaces getDecryptResult()
- Update to unified FHE decryption API
- Update dependencies to @luxfi/contracts
2025-12-31 21:11:35 -08:00
..
2025-12-27 21:15:45 -08:00
2025-12-27 21:15:45 -08:00
2025-12-27 21:15:45 -08:00
2025-12-27 21:15:45 -08:00
2025-12-27 21:15:45 -08:00
2025-12-27 21:15:45 -08:00
2025-12-27 21:15:45 -08:00
2025-12-27 21:15:45 -08:00
2025-12-27 21:15:45 -08:00
2025-12-27 21:15:45 -08:00
2025-12-27 21:15:45 -08:00
2025-12-27 21:42:00 -08:00
2025-12-27 21:15:45 -08:00

FHE Auction Demo UI

This code is based on the luxfhe Nuxt 3 template.

It integrates the contracts that were compiled from luxfhe hardhat template.

Setup

Make sure to install the dependencies:

pnpm install

Compile & Prepare Contracts

To deploy:

# from the base directory (not frontend)
pnpm compile
# start localluxfhe (if you don't have it running already)
pnpm localluxfhe:start
pnpm task:deploy 
# this copies the contracts & deployment information to the frontend
pnpm updateContracts 

Run Backend Server

We use a database to store the auction information. You can start the backend server on http://localhost:3001:

# from the base directory (not frontend)
cd backend
pnpm install
pnpm start

Development Server

Start the development server on http://localhost:3000:

pnpm run dev

Production

Build the application for production:

pnpm run build

Locally preview production build:

# pnpm
pnpm run preview