Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO #1

Open
8 of 33 tasks
mpizenberg opened this issue Oct 5, 2023 · 0 comments
Open
8 of 33 tasks

TODO #1

mpizenberg opened this issue Oct 5, 2023 · 0 comments

Comments

@mpizenberg
Copy link
Owner

mpizenberg commented Oct 5, 2023

Smart contracts + emulation

  • Simple vault contract
  • Simple mint contract
  • Liquidity bin
  • Limit order
  • Partial limit order
  • Grid order
  • Sliding order (dutch auction)
  • Keeping Ada stake
  • Sliding liquidity (not sure if good idea ...)
  • Atomic composition
  • Cost/convenience study of parameterized validator VS parameters inline datum VS parameters referenced datum VS parameters hash + witness

Server (use Rust)

  • Listen for all transactions interacting with one (or more) contracts
  • Search (history) for transactions related to a few smart contracts
  • Handle rollbacks
  • Interpret correctly utxo datums of liquidity and orders
  • Estimate "market price" and spread
  • Identify arbitrage opportunities
  • Provide market orders
  • Create and submit transactions (handle rollbacks too)
  • Create a channel for cooperation (utxo consuming notifications)

Frontend (use Elm)

  • Interface with wallets via CIP 30
  • Interface with wallets via CIP 45 (preferred)
  • Visualize liquidity bins
  • Visualize limit orders
  • Visualize grid orders
  • Visualize sliding orders
  • Visualize volume
  • Direct market order UI
  • Dutch auction market order UI
  • Limit order UI
  • Grid order UI
  • Unrealized balance for grid orders
  • Unrealized balance for liquidity bins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant