- Install the FireFly CLI here
- Create a FireFly stack by running:
or if installed using homebrew
ff init devChallenge ethereum --block-period 2
make sure to create 3 nodesfirefly init devChallenge ethereum --block-period 2
- Start the FireFly stack by running:
firefly start devChallenge
This repo has three directories in it:
solidity: Two example solidity contracts that can be compiled, tested, and deployed with Hardhat. Go to the Readmebackend: A very simple TypeScript Node.js app that uses the FireFly SDK to interact with a custom smart contract. Go to the Readmefrontend: A TypeScript Next.js bootstrapped with tailwindcss that calls the API in the backend. Go to the Readme
You will need to first deploy the example smart contracts with Hardhat to FireFly. Once the backend/frontend are started, the frontend will interact with the blockchain.

