Skip to content
Konstantin Komelin edited this page Apr 22, 2024 · 3 revisions

How to extend/develop this project

// Tested on Linux/Ubuntu 22.04, node 20.11.1, pnpm 9.0.5

  1. git clone https://github.com/kkomelin/create-fhenix-dapp.git && cd create-fhenix-dapp && pnpm i
  2. pnpm build-and-cli:dev - accept all default options
  3. cd my-fhenix-dapp-example
  4. pnpm chain:start && pnpm deploy:contracts
  5. pnpm start
  6. Open http://localhost:3000 in our browser.
  7. Add the following network to the Metamask wallet:
Network name: Fhenix Local
New RPC URL: http://127.0.0.1:42069
Chain ID: 412346
Currency symbol: tFHE
Block explorer: http://localhost:3000/blockexplorer
  1. Connect your metamask wallet using the button in the right-hand corner of the app.
  2. Open the project in VSCode.
  3. Open ./my-fhenix-dapp-example/packages/frontend/components/fhenix/CounterForm.tsx in VSCode and make changes.
  4. Test the updated version in the browser.
Clone this wiki locally