Giter Club home page Giter Club logo

eulith-curve-convex-manager's Introduction

Eulith Curve/Convex Manager

This repo contains an end to end example of using the Eulith python client to do position management on Curve and Convex. Using this software instead of managing your position on via the Curve & Convex UIs comes with several advantages:

  1. Compounding is automated. Calculate the optimal compound schedule and let it run on its own ad-infinitum
  2. Mitigate security pitfalls built into the UI such as "infinity approvals." This software only approves exactly how much is needed for each transaction. No cleanup required afterward.
  3. Manage multiple positions all from the same place

Run

The code contained in this repo is designed to be an example. Modifications will need to be made to put this in production.

1. ./setup.sh <EULITH_REFRESH_TOKEN>

If you don't know what your <EULITH_REFRESH_TOKEN> is, you can get it by logging into https://eulithclient.com. Note this should be the REFRESH token, NOT the access token.

This command sets up the appropriate configuration and creates a new wallet if you have not already specified one. Note that this will not overwrite the existing private key! So if you accidentally run this twice you can still recover the private key being used in utils/settings.py.

NOTE: to be clear, this commands creates a new wallet. We just want you to see the demo so we create a new wallet for you and ask you to send it a little ETH for experimentation.

WE DO NOT HAVE ACCESS TO THIS NEWLY CREATED WALLET UNLESS YOU SEND IT TO US

2. ./run.sh

Boom. That's it.

This will fail if you don't have sufficient balance in the wallet to run the example (it will be obvious and ask you to send some ETH).

Otherwise, you'll see the example position management working and you can view the transactions that it's executing on your behalf.

eulith-curve-convex-manager's People

Contributors

kristian1108 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.