Skip to content

ka1ii/developer-challenge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Kaleido Developer Challenge Kaijun

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 95.1%
  • Solidity 3.1%
  • CSS 1.5%
  • JavaScript 0.3%