Inspiration

I'm a huge believer in DeFi and super passionate about Chainlink's products and wanted to build a product that regular defi users can use to experience the power of Chainlink's products first-hand. Predix provides a decentralized and transparent way for users to express and leverage their knowledge or predictions using chainlink data feeds.

What it does

Predix leverages Chainlink's data feeds using the Chainlink Feed Registry as the core product that positions are made. Chainlink Feed Registry allowed us to fetch any data feed dynamically using only a single Oracle contract. Users choose a specific feed they want to open a position on, set a deadline period and deposit an amount then the contract creates the position and other users can propose(agree) or oppose(disagree) while also staking on said position. Using chainlink automation contracts once the deadline or price threshold is reached the position is closed and the winning participants receive back their stake and the loser's stake is divided based on the share of the position's pool the user has.

How we built it

Predix is built using solidity for smart contracts, hardhat as the development framework, nodejs/javascript for the web server and executing contract logic

Challenges we ran into

Integrating the Chainlink Feed Registry was a bit challenging but I believe it was core to provide a seamless experience for users and allow as many feeds as possible to be available with minimal development.

Accomplishments that we're proud of

Integrating the automation and upkeep contracts from Chainlink

What we learned

Chainlink has amazing tools that provide much-needed trust, data integrity and execution to smart contracts that are perfect for building core utility in web3.

What's next for Predix

Integrate Proof Of Reserve Feeds and other data sources into Predix to give users more markets to participate in

Built With

Share this project:

Updates