The project is a blockchain platform where users can post paid tasks and get paid by executing tasks they applied to. This is a training project for Dacade NEAR blockchain course. The contract is written in AssemblyScript and deployed to the testnet. The frontend is written on React.
You can find the working demo here: https://vadkutsen.github.io/near-freelance
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The contract contains of the next functions:
accepts a project object as a parameter and saves the project on blockchain.
accepts a project id as a parameter and returns the project object or null if the project is not found.
returns a list of existing projects.
accepts a project id as a parameter and sets the sender id as the project assignee.
accepts a project id and a result string as a parameters and sets the project's completed field to true and saves the result.
accepts a project id and as a parameter and sets the project's paid field to true and transfers the price amount to assignee.