Inspiration
Modern IT rely heavily on Open Source but often communities of hackers and coders are left on their own budget in maintaining projects. Open innovation and knowloedge is put under pressure by requests for maintenance, bug fixes and new features.
What it does
OssFun provides a gateway for ERC20 compatible token to be sent to GitHub developers and organizations in change of a dedicated OssFun token. The exchange is based on a score calculated from the repository data such as number of contributions, activity frequency, interest on stack overflow and overall trends on the topic. Check the repository for more references
How we built it
Development is based on a Typescript/Nest.js backend and React/Ant design frontend. Contracts are built on solidity with Hardhat and deployment is based on Aurora. OssFun creates an ERC20 token "OSSFUN" to be shared with investors. Developers and Organizations can mint an NFT for a repository that enables the oracle updates and open up to the funding opportunities.
Challenges we ran into
Support for Chainlink in Aurora is not yet complete and this forced us to use a fake oracle contract with the same interface that return a constant score. Once support is available, we will be able to finalize the deployment and update the oracle address in the OssFun main contract
Accomplishments that we're proud of
The overall system works and is the first step to propose a solution adressing OSS funding and sustainabiltiy.
What we learned
Connecting to an oracle is a key component for a DeFi project looking to have an impact. This experience allowed us to better learn about the options available and techniques to ensure oracle data is not tampered.
What's next for OssFun
Currently investor can provide USDT token as no exchange is in place for other tokens. Integrating to a price oracle will enable wider currency support. The integration is GitHub-compatible but we are considering to extend to other GIT hosting providers and eventually support also plain GIT repos. The score algorithm can be improved based on feedback and usage data to provide a valuable snapshot of value of a repository or organization.
Built With
- ant-design
- aurora
- ethereum
- hardhat
- near
- nest.js
- react.js
- solidity
- typescript
Log in or sign up for Devpost to join the conversation.