A platform for bootstrapping MVPs for side-projects with fair and sustainable incentive alignment. Project owners can summon flash organizations where members work towards pre-defined product milestones. Contributors who apply to a project / projects can receive puttable equity tokens for their work upon achieving the pre-defined product milestones, with an option of “exit to cash” that settles to pre-arranged strike price, exercisable within a limited timeframe.
- Clone the repo:
git clone https://github.com/carboclan/hip.git
- Install dependencies:
cd frontend && npm i
&cd server && npm i
- Run concurrently:
npm start
We created a webApp for our front-end user interface. Users with invitation tokens will be able to register on our webApp. Upon logging in, they will be able to see the dashboard with trending projects and options to either join a project or create a new project.
- If a user has funding or project ideas, he/she will be able to create a project. When creating the project, he/she is prompted to enter informations such as project deadline, number of contributors and their roles and project description. He/She also has the options to lend their collatroized fund to AAVE or borrow from Compound. He/She needs to collaterize DAI in exchange of puttable project tokens (equity). Upon creation, an option contract will be created on behalf of him/her and he/she will be able to invite contributors.
- If a user has specific skills and is willing to contribute to any projects, he/she will be able to join a project on the webApp. Once the project leaders accept his/her application, he/she will receive puttable tokens which will be locked in the project address.
Once the project passed its deadline, contributors have two options regarding their puttbale tokens: redeem them or cash-out. If they choose to cash-out, the option contract will calculate and take out the equivalent amount of DAI from the collateral pool and send them to the contributor's address. If they choose to redeem puttable tokens, the project token (equity) will be sent to their address.
The web service provides a REST API to the front-end interfact. It saves user information (name, password and etc.) in MongoDB. Regarding project information, it will sync the project json file to Sia Skynet and return the skynet address to the front-end.
We leverage Opyn Protocol when creating the option market and option contracts on behalf of our customer. Upon receiving project information, our proxy contract will mint project tokens and create option market by invoking the Opyn option factory contract. Once the creation of option market succeed, the proxy contract will create the option contract by invoking the opyn option contract.
Our Compound Borrow Contract will borrow DAI by supplying ETH as collateral. It also handles repay once the project ends.
TO-DO
TODO
We gives users options to use Portis wallet at the front-end.
- Backend: Nodejs, MongoDB, Express
- Frontend: Reactjs
- Contracts: Solidity
- Aave: Lending - deposit to earn interest on locked tokens.
- Compound: Borrow ERC20 tokens with ETH as collateral.
- Opyn: Puttable Equity tokens.
- Sia Skynet: Store flash org details on skynet.
- Portis: As a wallet provider.
$HIP Token deployed on Rinkeby here.
Jenil Thakker 💻 | Chuqiao Ren 💻 | Dragos Rotaru 💻 | Tina Zhen 🎨 |