ChristoferVikstroem / FaTS

An open-source repository for a smart contract implementation in the KTH course DD2485.
MIT License
1 stars 0 forks source link

General Solution Idea(s) #5

Closed vivi365 closed 9 months ago

vivi365 commented 9 months ago
  1. A contract is agreed on off-chain, retrieved from an API on-chain, and signed there. This verifies the salary. Salary can after that be displayed. Issue: Anonimity
  2. Just report a salary and verify. Issue: Adds another step to signing a contract, seems unnecessary if contract can be signed on chain per default.
  3. The Employer proposes some salary for some employee, on chain. Employee accepts this on chain. Retrieve info of employee based on public key via API. Issue: what does the employee really sign if they are not signing the contract itself. Alternative: whole contract goes in a transaction, issue: too much data -> ipfs.