Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.26 KB

File metadata and controls

31 lines (24 loc) · 1.26 KB

Decentralized Freelance Marketplace

Setting up

  1. Install the FireFly CLI here
  2. Create a FireFly stack by running:
    ff init devChallenge ethereum --block-period 2
    or if installed using homebrew
    firefly init devChallenge ethereum --block-period 2
    make sure to create 3 nodes
  3. Start the FireFly stack by running:
    firefly start devChallenge

Getting this repo up and running

This repo has three directories in it:

  • solidity: Two example solidity contracts that can be compiled, tested, and deployed with Hardhat. Go to the Readme
  • backend: A very simple TypeScript Node.js app that uses the FireFly SDK to interact with a custom smart contract. Go to the Readme
  • frontend: 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.

Backend Frontend