Lancer Protocol
Inspiration
We all know that DAO’s are difficult to operate, especially when it comes to scouting and hiring new talents for up and coming tasks. We believe that most vibrant DAO’s have a drove of skilled members who should be contributing to the daily operations of the DAO and in return rewarded for offering their skills to the ecosystem. We imagine a world where skilled craftsmen, whether they be artists or developers, roam across the metaverse to hunt for jobs on the “Bounty hunt” of tasks and make waves as they participate in DAO after DAO.
What it does
Lancer Protocol is a set of smart contracts designed to ensure that the entire process of having a client-freelancer relationship be permissionless and trustless, meaning that it requires no trust. New users must mint a soulbound NFT to start building their portfolio as a lancer or a client. Once you have a ‘Client’ soulbound NFT, you can create job listings. New job listings will create a smart contract on which people with ‘Lancer’ soulbound NFT can start bidding. The bidding is a way of ‘Staking’ to ensure that the job will be delivered, like in the PoS algorithm. Once the bidding is complete, the Client chooses a Lancer to work with, where all the Staked amounts other than that of the chosen Lancer will be refunded. Lancer’s stake will then be locked in a smart contract along with the Pay of the job listed. These funds will be released based on milestones where the Client and Lancer both must sign to increase the increment of the milestone. Once all the milestones have been completed, the funds are released to the Lancer.
How we built it
Built with Vite, MUI, Tailwind, Ethers.JS on the frontend and HardHat + Solidity for the development of the smart contract.
Challenges we ran into
Figuring out the incentive system for all parties to ensure that the system works trustlessly was the most difficult part of this project. Without a solid example to learn from, building a protocol of smart contracts that fulfill this trustless nature was the second most difficult part of the project. Due to this, we had to start over and refactor our contracts numerous times.
Accomplishments that we're proud of
We are proud to have completed this project and hope that it will help the DAO communities on EVMOS to grow and build a more intimate relationship with prized members of their community.
What we learned
Writing smart contracts for a large protocol taught me to see things at a bigger scale - that everything is interconnected. We learned that when building a protocol with multiple smart contracts that do different things, it is important to build a certain standard in order to reduce the amount of time required for refactoring and other cleaning up of the code.
What's next for the Lancer Protocol
• Create NFT certificates for completed jobs and other requirements • Build a certificate system in collaboration with other Web 3.0 protocol, such as Project Galaxy • Build a trustless arbitration system in the case of disputes • Build a discord bot and server to allow DAO’s and Lancers to find areas of opportunity more easily.
Built With
- ethers.js
- hardhat
- mui
- solidity
- tailwind
- vite
Log in or sign up for Devpost to join the conversation.