Virtual Hackathon

Automated Market Maker (AMM) Challenge

Midnight's next virtual hackathon challenge is here, and it’s all about DeFi! Thank you to our event sponsor OpenZeppelin.

OpenZeppelin

Hackathon Details

Fresh off the heels of the previous identity hackathon, Midnight has partnered with OpenZeppelin to present a DeFi hackathon, based around building an AMM (Automated Market Maker). ZK circuits allow for privacy-enhanced AMM protocols that balance transparency with confidentiality, showcasing how Midnight can bring innovation to the DeFi space.

Key Dates:

Registration opens: March 10

Kickoff Call: March 13

Support Call #1: March 19

Sponsor Support Call: March 26 with OpenZeppelin rep

Support Call #2: April 2

Registration close: April 1

Submissions Due: April 7

Project Presentation: April 11

Prizes:

1st: US$4,000

2nd: US$2,000

3rd: US$1,000

(all prizes will be awarded in $ADA equating to the US dollar value as of the date they are issued)

See the AMM Midnight Hackathon Official Rules for more information about eligibility to participate, judging criteria and more.

Challenge Requirements

All submissions that contain an AMM and ZK circuits will be accepted. All mathematical algorithms are welcome in the AMM.

The DApp must:

  • Connect to a Lace Wallet: Register for a Lace wallet here: https://www.lace.io/.
  • Use Midnight’s Compact language to build smart contract(s) that generate zero-knowledge proofs to create an algorithm that balances the price of assets using their supply.
  • Include a UI alongside the smart contract(s): You may use any front-end framework or tech stack to build the UI.
  • Mock the assets that utilise the AMM. Transactions must not have any real-world value.
  • Acceptable DApp types: Any DApp that uses ZK circuits and :
    • AMM: uses algorithms to balance the price of tokens
    • Privacy: Uses ZK circuits to hide aspects of the data in:
      • Trades
      • Liquidity pools

Resources for participants

Releases and Examples

APIs

Test Faucet

DApp Tutorial

Compact Reference Guide