Skip to content

VaultMaxi 2.3

Compare
Choose a tag to compare
@kuegi kuegi released this 16 Sep 20:39
· 80 commits to develop since this release
67bd18d

this is a recommended update to remove the workaround for defichain 2.10 bug. This version includes a check to disable the workaround after the FCE fork which will fix the bug.

Vault Maxi via Ocean API

This tool is made to optimize your defichain vault rewards by maximizing the amount of loans put into the liquidity mining of dTokens. You can define the thresholds for your collateralization ratio. if the collateral rises, the tool increases LM-exposure, if it falls it automatically decreases it.
If the parameter is set, it even reinvests the rewards into your vault for automatic compounding.

It is meant to be run as a lambda on AWS, using the ocean-api. Therefore it doesn't need a fullnode or any server maintenance (as opposed to the python version of this script).

release hashes

windows / debian:
sha256 hash base64: GEtY9K1zZGbr0PbfyGId2qOH7WzhGMyrtfMKTxPEuW4=
sha256 hash hex: 184b58f4ad736466ebd0f6dfc8621ddaa387ed6ce118ccabb5f30a4f13c4b96e
macOS:
sha256 hash base64: -
sha256 hash hex: -

Changes

  • added blockheight check when to activate the payback-bug workaround
  • made testnet possible
  • made use of collFactor everywhere to correctly handle the upcoming change of the DUSD value
  • added envVar VAULTMAXI_SWAP_REWARDS_TO_MAIN to prevent swapping to main collateral asset on reinvest

Guide

We wrote an extensive guide for the whole setup process in AWS. If you just want to run the bot, follow this guide and make sure to read the risk-warnings carefully. Vault-Maxi Guide

Disclaimer

This is not financial advice and anyone using this tool is doing so at their own risk. Never invest more than you are ok to lose. We are using it ourselves but can’t guarantee that it’s working flawlessly in every edge case. We are not responsible for any lost funds.

Donations

We are developing this thing in our free time. Noone is paying us for it. If you benefit from our work, it would be a nice gesture to give something back. Here are our DFI donation addresses:

@kuegi : df1qqtlz4uw9w5s4pupwgucv4shl6atqw7xlz2wn07

@Krysh90 : df1qw2yusvjqctn6p4esyfm5ajgsu5ek8zddvhv8jm

What's Changed

  • maxi: added VAULTMAXI_SWAP_REWARDS_TO_MAIN by @kuegi in #78
  • vaultMaxi: allow testnet based on address by @kuegi in #79
  • Fix/dusd coll value by @kuegi in #80
  • Feature/testnet bot by @kuegi in #81
  • Feature/use coll factor everywhere by @kuegi in #82

Full Changelog: v2.2...v2.3