A simple fullstack dapp that shows how a frontend interacts with a smart contract.
-
Install Node.js
Download and install from the official site.
-
Clone Repository into your local terminal
git clone https://github.com/PhantomOz/FFT.git cd FFT
-
install the node libraries
npm install
-
Open two additional terminals in your VS code
-
In the second terminal type:
npx hardhat node
-
In the third terminal, type:
npx hardhat run --network localhost scripts/deploy.js
-
Back in the first terminal, type:
npm run dev to launch the front-end.
After this, the project will be running on your localhost. Typically at http://localhost:3000/