Skip to content

A Swap Router for all Curve pools in all of its networks, written in python and vyper.

License

Notifications You must be signed in to change notification settings

bout3fiddy/curve-router

Repository files navigation

Curve Router

A work in progress pythonic dex router for assets in a Curve pool. The current implementation is a simple depth-first search.

TODO:

  1. re-do Swap object so it has all info for Swaps.vy.
  2. Prefer eth swaps instead of weth.
  3. write tests for all chains. include as many corner cases.
  4. gas estimates for each swap (some sort of probability distribution or some sort of fit with swap amounts and pool states as inputs should do the trick).
  5. api-zation of the router suite: make it so that it can be queried by anyone using an endpoint that accepts pairs, amounts, network name.

About

A Swap Router for all Curve pools in all of its networks, written in python and vyper.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published