generated from scaffold-eth/scaffold-eth-2
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Konstantin Komelin edited this page Apr 22, 2024
·
3 revisions
// Tested on Linux/Ubuntu 22.04, node 20.11.1, pnpm 9.0.5
git clone https://github.com/kkomelin/create-fhenix-dapp.git && cd create-fhenix-dapp && pnpm i
-
pnpm build-and-cli:dev
- accept all default options cd my-fhenix-dapp-example
pnpm chain:start && pnpm deploy:contracts
pnpm start
- Open http://localhost:3000 in our browser.
- 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
- Connect your metamask wallet using the button in the right-hand corner of the app.
- Open the project in VSCode.
- Open
./my-fhenix-dapp-example/packages/frontend/components/fhenix/CounterForm.tsx
in VSCode and make changes. - Test the updated version in the browser.