Skip to content

No-loss Podding game system to win interest on Crypto token using Chainlink and AAVE

Notifications You must be signed in to change notification settings

sunnyRK/chainlinkExternal

Repository files navigation

Alarm-POD

Alarm-POD is no-loss and crypto saving platform to win interest using trustless blockchain technology. Using chainlink alarm clock, chainlink VRF function and AAVE protocol

When Contract owner will create POD, it trigger the chainlink alarm clock to wait until to finish time-period.

During this time period it accures interest on deposited crypto token which is deposited by participants(staker). And during this time period any one can see live interest generate on dashboard.

Once Time-period complete the chainlink-alarm-clock recognize it. and then using callback function of chainlink-alarm-clock, it triggers the chainlink VRF function to get the winner among participant using randomness functionality of VRF.

once Chainlink VRF decide the winner, admin needs to disburse all the original tokens to all users and "original token + interest" to winner

Let's see demo below....

Video Demo

https://www.youtube.com/watch?v=IurN0H7ef-8
Chainlink+AAVE

How to run

  1. Clone repo https://github.com/sunnyRK/chainlinkExternal.git
  2. cd chainlinkExternal
  3. npm install
  4. node server.js
  5. Currently deployed on Kovan Network

Screenhots

1. Create POD by contract owner

createpod

2. You can see Pod is created and Chainlink Alarm clock is triggered and timer is running

Chainlink-alarm-clock

3. One of the participant is joining the pod with DAI token

participate

4. You can see in pod,

- totalcontract balance generated from all of the paricipant
- Your Investment from total pod balalnce
- and Joining amount required to join in pod
- And Even live interest is accuring from AAVE protocol

Poddetails

5. After Chainlink alarm clock recognized that timer is finish, then chainlink VRF declared winner

winnerDeclare

6. New pod is created and that old pod comes right side with winning and prize details. And COntract owner can disburse amount to all participant.

old-pod

7. Disburse amount by contract owner

disburse

8. You can check winner total prize in right side top - "YOUR TOTAL WINNING"

totalwinning

Current Future Task in mind

  1. Use ENS(Ethreum name service) to give more flexibilty to user.

Tech stack

Ethereum
Solidity
Web3.js
Chainink Decentralized Oracles
- Chainlink Alarm Clock - To wait for particular time-period to finish POD
- Chainlink VRF - To choose winner
AAVE - To Earn interest
Next.Js
Semantic UI React

About

No-loss Podding game system to win interest on Crypto token using Chainlink and AAVE

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published