Spark Dev Docs
Ask or search…
K
Links
Comment on page

Hackathon: ETHGlobal Istanbul

Welcome to everyone! Thank you for hacking with us :)
For most info, please go to the ETHGlobal dashboard.
If you have any questions or want to get feedback on your project please reach out to Tadeo at the booth or via Discord/Telegram at @tadeongmi.

Prizes

Best use of SparkConduits 🚇 🥇 4,000 🥈 2,000 🥉 1,000 ​
Best use of sDAI 💸 🥇 4,000 🥈 2,000 🥉 500 ​
Best use of SparkLend 🌳 🥇 4,000 🥈 2,000 🥉 500

Project Ideas

Theme
Description
Visual mementos
Build a image generation based on positions or protocol parameters. Sharing positions or parameters is usually done via text, simple but not really great when you are trying to catch people’s attention. Example: https://twitter.com/intent/follow?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1669193115486556160%7Ctwgr%5E%7Ctwcon%5Es1_&ref_url=notion%3A%2F%2Fwww.notion.so%2Fphoenix-labs%2F740cef9d248d44e0961167b76b499049%3Fv%3D8b7256f7d9a14be6a10b0430ba0e3056p%3D5b9baa8546e14ffa9c5a45f369375b1dpm%3Dc&screen_name=larrythecumber
Liquidation Bot
Liquidation bots are critical to ensure the soundness of the protocol. Given the highly competitive environment, there usually isn’t any incentive to publicly share methodologies or much less open source code for liquidation bots. We want to change that.
We have a couple of ideas for you to build upon:
  • Use a DEX aggregator (e.g. Cowswap, DefiLlama Swap)
  • Use a MEV protecting RPC (e.g. Flashbots or MEV Blocker)
  • Profit calculation to determine if it’s worth executing based on gas fees
  • Swap collateral penalty reward back to ETH for gas so it can run forever
  • Multi-chain support (e.g. Arbitrum, Optimism, Scroll…)
We also have open source bot frameworks for you to build upon:
User Analytics
Data analytics are critical to understanding the functioning of the system. We currently have two external analytics dashboards:
There’s areas where we’d love to have more granularity and have it open for all to better understand Spark.
  • User behaviour
    • How many are there? Are there any new ones?
    • Where are they coming from? What other protocols are they in?
    • What is the breakdown/distribution?
    • Is it possible to categorise them?
    • How many users supply without borrowing? How many users
    • How many users use an automation tool? (DefiSaver, Instadapp)
    • Where do users come from? Competing money market platforms, CEXs, new to the space?
  • Tooling
    • Build a google app script that wraps standard RPC calls so Google Sheet users can retrieve on-chain data without anything else apart from gSheet functions (and an RPC provider).
Feel free to use any stack that you prefer, we have a couple of ideas of what’s most interesting nowadays:
  • The Graph’s subgraphs
  • Dune Analytics’ Spellbook
Position Manager / High Level Actions
Automation & Account Abstraction
Build an automated position manager that takes care of the user position.
  • One way of going about it is using a Safe and ComposableCoW to create leverage long/short position.
  • Then using a stop loss order to set a custom liquidation price aiming to gracefully liquidate while avoiding the default protocol liquidation.
  • Then buying back the position (soft liquidations anyone?)
Build high level actions, abstracting away the complexities and multiple steps!
  • 1-click (recursive) Leverage
  • Unwind / Deleveraging
  • Post & Borrow
  • Stop loss / Take Profit
Alerting system
Alerts are the first step towards automation, manually monitoring your position or changes in parameters is not a fun way to spend your time. Build an alerting system that notifies users about the state changes of their positions or other important metrics.
  • State change alerts (e.g. Loan to Value (LTV) ratio, Health Factor (HF), value of your collateral(s), value of one of your collaterals)
  • Change in parameters (e.g. risk parameters for collaterals, the supply and/or borrow rate of a specific collateral)
  • Allow users to define the alert (level, time-based vs event-based)
  • Allow users to define how they receive the alert (e.g. telegram, discord, email, XMTP)

Past Hackathon projects

Name
URL
zkPaymaster
https://ethglobal.com/showcase/zkpaymaster-dbooj
RWA Yield
https://ethglobal.com/showcase/rwa-yield-529u5
NAL - Now Any Loans
https://ethglobal.com/showcase/nal-now-any-loans-un8ed
Dynamo Rates
https://ethglobal.com/showcase/dynamo-rates-a6idq
DustConduit
,https://ethglobal.com/showcase/dustconduit-s2py7
TeleSafe
https://ethglobal.com/showcase/telesafe-q20fy
Uniswap V4 Hooks - Stop Loss Orders
https://ethglobal.com/showcase/uniswap-v4-hooks-stop-loss-orders-efx2d
Sparklers
https://ethglobal.com/showcase/sparklers-dvkyi
SquirrelPay
https://ethglobal.com/showcase/squirrelpay-44uow