> For the complete documentation index, see [llms.txt](https://docs.lilypad.tech/lilypad/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lilypad.tech/lilypad/use-cases-agents-and-projects/project-showcase/defikicks.md).

# DefiKicks (HackFS Winner 2023)

DefiKicks is a decentralized, community-governed Data DAO on Filecoin that democratizes DeFi data aggregation and TVL calculations

{% embed url="<https://stream.mux.com/qyFKcIg2FRHpuy5DQ3d9xgzZFWSe8aXSsEwra3meIpg/high.mp4>" fullWidth="false" %}
DefI Kicks Video
{% endembed %}

{% hint style="info" %}
See the Lilypad Example at [Drand Off-chain Voting](/lilypad/archive/older-versions/lilypad-v0-deprecated/examples/drand-off-chain-voting.md)
{% endhint %}

DefiKicks is a decentralized, community-governed Data DAO (Decentralized Autonomous Organization) that operates on the Filecoin network, with the goal of democratizing DeFi data aggregation and TVL (Total Value Locked) calculations. It seeks to improve transparency and foster collaboration through a system of on-chain adapter proposals, off-chain voting, and interoperable token rewards.

<div data-full-width="true"><img src="https://58337262-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtadiyoOe4nTUoSulEVOV%2Fuploads%2Fgit-blob-0447f6f1048b581499f568ee38c0c8a2bdea027f%2Fdefi-kicks-dashboard.png?alt=media" alt="Defi Kicks Dashboard" width="41%"> <img src="https://58337262-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtadiyoOe4nTUoSulEVOV%2Fuploads%2Fgit-blob-c0149941476a58d5b65fd6a721929cb5bebf70a7%2Fdefi-kicks-propose.png?alt=media" alt="Defi Kicks Propose" width="40%"></div>

At its core, DefiKicks is a counter to the centralization issues prevalent in traditional DeFi data aggregators such as DefiLlama. By shifting the TVL calculations to be performed on-chain, DefiKicks ensures data authenticity and transparency. In essence, it functions similarly to a version control system like 'Git,' allowing anyone to propose a new TVL adapter for a project.

Adapter proposals are initiated on-chain via an IPFS hash, with the adapter code hosted on IPFS. Voting is conducted off-chain using the time-lock encryption of Drand, with results brought back on-chain through Bacalhau Lilypad, a trusted oracle. Upon community approval, adapters are registered on-chain in the 'Registry' contract, which maintains a transparent and immutable record of approved adapters.

Active participants in the voting process who align with the majority are rewarded with KICK tokens. The issuance of these tokens is governed by a smart contract, incentivizing participation and wise decision-making.

Following adapter registration, the decentralized backend begins calculating data points using the code hosted on IPFS. This process employs Lit's Programmable Key Pairs and Lit Actions, with all TVL results hosted on a Ceramic Stream. The results are then viewable by users on the frontend, further promoting an open and transparent DeFi ecosystem.

DefiKicks uses a suite of modern technologies to power its platform, including smart contracts for governance, the LIT protocol for decentralized data governance calculation, Ceramic for decentralized data storage, libp2p for secure peer-to-peer network connections, ApeCoin for alternative voting options, Bacalhau for off-chain jobs execution, Filecoin FEVM for contract interactions, IPFS for decentralized data storage, Web3.Storage for reliable data transfer, and Drand for unbiased off-chain voting.

In essence, DefiKicks, with its combination of technologies, proposes a novel, transparent, and decentralized approach to DeFi data. It is a testament to the possibilities of decentralized governance and data analytics, aiming to usher in a new era of trust and accessibility in DeFi analytics.

## Architecture

![](https://58337262-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtadiyoOe4nTUoSulEVOV%2Fuploads%2Fgit-blob-bb1e478f5143f0631f51a44cb437462d733747b2%2Fimage.png?alt=media)

DefiKicks operates on a foundation of decentralized technologies and protocols to ensure transparent, accessible DeFi data.

It uses smart contracts on Filecoin's FEVM for governance, including adapter proposal, voting, and registration.

The LIT protocol allows for secure, decentralized data calculations, while Ceramic facilitates decentralized data storage.

Lilypad + Bacalhau carries out off-chain jobs such as reward computation and vote tallying.

IPFS and Web3.Storage ensure secure and efficient data storage and transfer, while Drand provides unbiased off-chain voting through time-lock encryption.

## Find out more about DefiKicks.xyz

<table data-view="cards"><thead><tr><th></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td>DefiKicks Live Site</td><td><a href="https://defikicks.xyz/">https://defikicks.xyz/</a></td><td><a href="https://defikicks.on.fleek.co/">https://defikicks.on.fleek.co/</a></td><td><a href="https://58337262-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtadiyoOe4nTUoSulEVOV%2Fuploads%2Fgit-blob-706b42402d59ad094e3ef5f567f87bb6537d52df%2FScreenshot%202023-06-27%20at%207.58.56%20pm.png?alt=media">Screenshot 2023-06-27 at 7.58.56 pm.png</a></td></tr><tr><td>DefiKicks Github</td><td></td><td><a href="https://github.com/md0x/defikicks">https://github.com/md0x/defikicks</a></td><td><a href="https://58337262-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtadiyoOe4nTUoSulEVOV%2Fuploads%2Fgit-blob-71064313abe492e0afce7853cfc4288fcccf5f64%2Fgithub.png?alt=media">github.png</a></td></tr><tr><td>HackFS Submission</td><td></td><td><a href="https://ethglobal.com/showcase/defikicks-b1wo0">https://ethglobal.com/showcase/defikicks-b1wo0</a></td><td><a href="https://58337262-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtadiyoOe4nTUoSulEVOV%2Fuploads%2Fgit-blob-263b3e69009ef9e05a672d535425364937cdf850%2FFwMoaTuWIAch8j1.png?alt=media">FwMoaTuWIAch8j1.png</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lilypad.tech/lilypad/use-cases-agents-and-projects/project-showcase/defikicks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
