Skip to content

Releases: kuegi/defichain_maxi

VaultMaxi 2.6.0

07 Oct 10:12
a0d081c
Compare
Choose a tag to compare

this is an mandatory update to correctly handle Id changes after the dToken restart.

Important note: Please stop your VaultMaxi before the restart and payback all positions from LM manually. During the dToken restart, all loans will be paid back by the chain. This payback ignores LM positions, so it would use your collateral and swap it to pay back.

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: 
sha256 hash hex: 

macOS:

sha256 hash base64: IqzuL9HZKoXSh8rT5sihKNyFfo/SG1+STwAS1hqrCAc=
sha256 hash hex: 22acee2fd1d92a85d287cad3e6c8a128dc857e8fd21b5f924f0012d61aab0807

Changes

  • fix handling of DUSD Id
  • added possibility to use for stablecoin pools (singlemint DUSD)

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

  • adaptions to real yield by @kuegi in #163
  • Add possibility to use stablecoin pools via vaultmaxi by @kuegi in #160

Full Changelog: v2.5.3...v2.6.0

Emergency update VaultMaxi 2.5.3

17 Nov 09:55
a04d0f4
Compare
Choose a tag to compare

this is an mandatory update to workaround the unexpected removal of ocean.defichain.io which is used as the main endpoint in default.

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: 
sha256 hash hex: 

macOS:

sha256 hash base64: 3n1jqAkS7ah94e4C7MLrYALetIpq7YYc951xoD7+cX4=
sha256 hash hex: de7d63a80912eda87de1ee02ecc2eb6002deb48a6aed861cf79d71a03efe717e

Changes

  • removed ocean.defichain.io as default url
  • added second round on unstable ocean even if vault is frozen

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

  • fix: remove .io which is no longer supported by @kuegi in #161

Full Changelog: v2.5.2...v2.5.3

VaultMaxi 2.5.2

27 Jul 19:13
b9f592f
Compare
Choose a tag to compare

this is an optional update with improvements to reinvest swap patterns and logs

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: eHcwgACoOeXSDPDzqFwmUvnox8jHaUQIiTnmirvwvpc=
sha256 hash hex: 7877308000a839e5d20cf0f3a85c2652f9e8c7c8c76944088939e68abbf0be97

macOS:

sha256 hash base64: uENdyLACWCeBG6Xqvve67vtdiqLKZDII04bOw9/h4xg=
sha256 hash hex: b8435dc8b0025827811ba5eabef7baeefb5d8aa2ca643208d386cec3dfe1e318

Changes

  • improved logging
  • updated testnet ocean url
  • added dockerized version (thx @RoMi1981 )

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

@RobertM81 : df1q9qhhlwg3qqetg2n9dnflh567me29ndyzmxwxh2

What's Changed

New Contributors

Full Changelog: v2.5.1...v2.5.2

VaultMaxi 2.5.1 & Reinvest 2.1.1 & Command center 1.2

11 Feb 21:55
e2715a6
Compare
Choose a tag to compare

this is an optional update with improvements to reinvest swap patterns and logs

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: ZnZ5UnNUGcJx5sLn0y6sQCn+W8lbpc4XfieoR8Yc6Ss=
sha256 hash hex: 66767952735419c271e6c2e7d32eac4029fe5bc95ba5ce177e27a847c61ce92b

macOS:

sha256 hash base64: XA6UuNckGN6kWw5Yq30S+htJ9lwLmubioEoSNK8ZJeE=
sha256 hash hex: 5c0e94b8d72418dea45b0e58ab7d12fa1b49f65c0b9ae6e2a04a1234af1925e1

Changes

  • reinvest:we now calculate the best swap path for reinvest ourselfs. cause ocean is not always giving the best path
  • added logs of block hashes for easier analysis in case of chain troubles.
  • increased threshold for chain-trouble warnings to 45 sec avg. blocktime (40 sec triggered too many false alarms)
  • increased min value threshold for the cleanup to $1. This can be overriden via the environment Variable VAULTMAXI_MINVALUE_CLEANUP

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

Reinvest

Reinvest is based on the vault-maxi code but only the reinvest without managing of any vault, It also got updated and now uses exactly the same reinvest logic as vault-maxi.

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. Reinvest Guide

release hashes

windows / debian:

sha256 hash base64: 9KDfaXCuvnxsDVim5OpOJFv+8+TR7Eo1XG+5PAnG6z4=
sha256 hash hex: f4a0df6970aebe7c6c0d58a6e4ea4e245bfef3e4d1ec4a355c6fb93c09c6eb3e

macOS:

sha256 hash base64: xABDGZGsP/LPicxVzl6DyRXwVaXJj80NiO1sM0amoWw=
sha256 hash hex: c400431991ac3ff2cf89cc55ce5e83c915f055a5c98fcd0d88ed6c3346a6a16c

Command Center

It is an optional addon, which can be installed to receive more functionality for your vault-maxi or lm-reinvest via Telegram. You can send commands to change existing parameters without the need of logging into AWS.

What it does

  • it executes certain commands to ease usage of vault-maxi without the need of logging into your AWS account and change some settings
  • it is being achieved by using your vault-maxis’ telegram bot to exchange information. This makes it secure, as you are not directly communicating via an API, which could be an additional attack vector for a hacker
  • it will check every minute through polling of new chat commands from you. Therefore chat id and your username are needed to make sure, the message which command center receives is from you and from nobody else
  • /help is your best friend. It will show you all commands, which the command center is able to execute
  • the command center has no access to your private key/seed. It can only change settings of vault-maxi.

Guide

We wrote a guide for the whole setup process in AWS. If you just want to install the addon, follow this guide and make sure to read the risk-warnings carefully. Command-Center Guide

release hashes

windows / debian:

sha256 hash base64: /+8KF8xFkuvNlGDU15iU/zFwj8RPcFP4YAws3T3XxMw=
sha256 hash hex: ffef0a17cc4592ebcd9460d4d79894ff31708fc44f7053f8600c2cdd3dd7c4cc

macOS:

sha256 hash base64: KTq7Y06h8hc1gxF6abu9qg9+sHHOtiF5h1hPsgOkG00=
sha256 hash hex: 293abb634ea1f2173583117a69bbbdaa0f7eb071ceb6217987584fb203a41b4d

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: use real best path also in maxi by @kuegi in #135
  • [markdown-fix] fixes issue with underscores by @Krysh90 in #139
  • Morelogs by @kuegi in #141
  • Real yield analysis by @kuegi in #136
  • Versionbump 2.5.1 by @kuegi in #142
  • maxi: increase minCleanUpValue to 1 and make overrideable via envVar by @kuegi in #143
  • [command-center] only send bot table as markdown by @Krysh90 in #144
  • [version] bump cc version to 1.2 by @Krysh90 in #145

Full Changelog: v2.5.0...v2.5.1

VaultMaxi 2.5.0 & Reinvest 2.1

21 Dec 18:01
ca51506
Compare
Choose a tag to compare

this is a recommend optional update with improvements to logging and reinvest pattern

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: uOGXRoa/S1RgqTNIYXIbAhoAPG/HNV0R1H9vzNaLS80=
sha256 hash hex: b8e1974686bf4b5460a9334861721b021a003c6fc7355d11d47f6fccd68b4bcd

macOS:
sha256 hash base64: -
sha256 hash hex: -

Changes

  • improved safety-level message
  • reinvest: threshold now blocks complete reinvest, not only auto donation
  • added loglevels, you can now define what part of the messages should go to the notifications channel and which to the log level. Default is "INFO and above goes to notifications, verbose out to logs". possible log levels are error, warning, info, verbose
  • additional safety check in case of onchain troubles
  • increase exposure as much as possible if 50% rule prevents full increase
  • reinvest: switch sending of DFI to "clean UTXOs" (not directly from AccountToUTXOs, but with extra step) to have full bitcoin compatibility on exchanges. Now reinvest directly to cake address also works

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

Reinvest

Reinvest is based on the vault-maxi code but only the reinvest without managing of any vault, It also got updated and now uses exactly the same reinvest logic as vault-maxi.

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. Reinvest Guide

release hashes

windows / debian:

sha256 hash base64: srvwfDNMmtYeqT4HgQbO0+gfFonvzYMa7W6VZIcfhMI=
sha256 hash hex: b2bbf07c334c9ad61ea93e078106ced3e81f1689efcd831aed6e9564871f84c2

macOS:
sha256 hash base64: -
sha256 hash hex: -

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

  • Feature/vault analysis by @kuegi in #121
  • maxi: improved safety-level message by @kuegi in #122
  • reinvest: threshold now blocks complete reinvest, not only auto donation by @kuegi in #123
  • reinvest-threshold-override only applies to reinvest, not donation guard by @kuegi in #125
  • improved vault-analysis by @kuegi in #128
  • Feature/loglevel by @kuegi in #126
  • maxi: additional safety check in case of onchain troubles by @kuegi in #127
  • Feature/increase whats possible by @kuegi in #130
  • reinvest: extra step to send as clean UTXOs by @kuegi in #133
  • version bump 2.5.0 by @kuegi in #131

Full Changelog: v2.4.1...v2.5.0

VaultMaxi 2.4.1 & Reinvest 2.0.1

22 Nov 21:11
3480a2d
Compare
Choose a tag to compare

this is a optional update with minor improvements to logging and small fixes

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: kIq8VYCvB7uUTbFwpIPWJSJ2RQvrXPZ9IYnJT7AXmvY=
sha256 hash hex: 908abc5580af07bb944db170a483d6252276450beb5cf67d2189c94fb0179af6

macOS:
sha256 hash base64: -
sha256 hash hex: -

Changes

  • fixed heartbeat
  • improved telegram messages (warnings and infos)
  • improved handling of errors during cleanup

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

Reinvest

Reinvest is based on the vault-maxi code but only the reinvest without managing of any vault, It also got updated and now uses exactly the same reinvest logic as vault-maxi.

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. Reinvest Guide

release hashes

windows / debian:

sha256 hash base64: GvM5x8lTRlxkUbZwEqopj5lKQPKc2W8bcRZMgepjVSc=
sha256 hash hex: 1af339c7c953465c6451b67012aa298f994a40f29cd96f1b71164c81ea635527

macOS:
sha256 hash base64: -
sha256 hash hex: -

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

  • VM template: added condition to reinvestPattern creation by @kuegi in #113
  • reinvest: improve message (add LP token parts) by @kuegi in #116
  • Fix/heartbeat by @kuegi in #115
  • Feature/improve messages by @kuegi in #117
  • maxi: improved errorhandling by @kuegi in #119

Full Changelog: v2.4.0...v2.4.1

Vault-Maxi 2.4.0, Reinvest 2.0 & Command Center 1.1

07 Nov 20:36
889c89a
Compare
Choose a tag to compare

this is a optional update including major improvements in the reinvest logic

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).

new reinvest logic

With the new reinvest logic, you can highly customize how vault-maxi (and also lm-reinvest) uses the DFI rewards that come into your wallet.

Everything is defined via a reinvest-pattern which is a string of (comma or space) separated reinvest-targets. each target can contain 3 parts:

  • the target token (can be any token with a possible swap path from DFI, or any LM-token)
  • the percentage (0-100) from the reinvested amount that should be used for this target
  • a target address or vaultId (vaultId is only valid if the token is a collateralToken). you can use wallet and vault as shortcut for your own address and vault

if you leave the percentage empty (for all or some targets) the remaining percentage (after filling all defined percentage targets) is split equally over all targets without a specified percentage.

if you leave the address/vaultId empty, collateralTokens are deposited to your own vault. All other tokens stay in your address.

If the whole parameter is empty, it falls back to the pattern <mainCollateralAsset> which effectively deposits the amount as DFI or DUSD into your vault. so exactly the same behavior as before (means no action needed if you do not want to use the new functionality)

examples

this pattern can be super simple in the usage, but is extremly powerful for those who need it. here are some examples:

  • just reinvest the DFI into the vault: DFI (1 target: coin = DFI, no percentage = split equally over targets, no address/vault= reinvest to own vault cause collateral Token
  • split equally between DFI and DUSD and reinvest: DFI,DUSD
  • swap 20% to USDT and keep in wallet, split remaining to DFI and BTC, send the BTC to df1address1: USDT:20:wallet,DFI,BTC::df1address1
  • swap 10% to BTC-DFI, 15% to SPY-DUSD, 10% reinvest in other vault as DFI, 20% send as TLT-DUSD to address2, rest as DFI in own vault: BTC-DFI:10,SPY-DUSD:15,DFI:10:vaultIdOfOther,TLT-DUSD:20:address2,DFI

release hashes

windows / debian:
sha256 hash base64: AKgKuawMMndViyHYhZARDPPf6akruZU4rLYJ4YXJ1pY=
sha256 hash hex: 00a80ab9ac0c3277558b21d88590110cf3dfe9a92bb99538acb609e185c9d696
macOS:
sha256 hash base64: BF0XhYlqgAU/0by/Q7watAy2eGl8d0/SI1OgLPO01ZM=
sha256 hash hex: 045d1785896a80053fd1bcbf43bc1ab40cb678697c774fd22353a02cf3b4d593

Changes

  • major upgrade to reinvest functionality
  • moved main used environmentVariables to parameters (envVars are still overriding parameter values)
  • auto-donation now splits the donation directly between kuegi and krysh (till now we had to rebalance manually). Nothing changes in the amounts etc. Also still done in one transaction.

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

Reinvest

Reinvest is based on the vault-maxi code but only the reinvest without managing of any vault, It also got updated and now uses exactly the same reinvest logic as vault-maxi.

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. Reinvest Guide

release hashes

windows / debian:
sha256 hash base64: V9p7yNOW5taSekJfK6tMlNuEdNLgP0bwAwF4IyuCs9I=
sha256 hash hex: 57da7bc8d396e6d6927a425f2bab4c94db8474d2e03f46f0030178232b82b3d2
macOS:
sha256 hash base64: EMuN5pu+9NdLBjD0NCJcmLJxW/Z8w81Mi2+HBeaKf+o=
sha256 hash hex: 10cb8de69bbef4d74b0630f434225c98b2715bf67cc3cd4c8b6f8705e68a7fea

Command Center

It is an optional addon, which can be installed to receive more functionality for your vault-maxi or lm-reinvest via Telegram. You can send commands to change existing parameters without the need of logging into AWS.

What it does

  • it executes certain commands to ease usage of vault-maxi without the need of logging into your AWS account and change some settings
  • it is being achieved by using your vault-maxis’ telegram bot to exchange information. This makes it secure, as you are not directly communicating via an API, which could be an additional attack vector for a hacker
  • it will check every minute through polling of new chat commands from you. Therefore chat id and your username are needed to make sure, the message which command center receives is from you and from nobody else
  • /help is your best friend. It will show you all commands, which the command center is able to execute
  • the command center has no access to your private key/seed. It can only change settings of vault-maxi.

Guide

We wrote a guide for the whole setup process in AWS. If you just want to install the addon, follow this guide and make sure to read the risk-warnings carefully. Command-Center Guide

release hashes

windows / debian:
sha256 hash base64: vhvdwGDYSlPbvLq0cggK2JBjS5WOx1JVDOcGu603ThI=
sha256 hash hex: be1bddc060d84a53dbbcbab472080ad890634b958ec752550ce706bbad374e12
macOS:
sha256 hash base64: 2Sf0JVtg6OKnDJkPco9aS8hksBCSmLpowstsHRQJN04=
sha256 hash hex: d927f4255b60e8e2a70c990f728f5a4bc864b0109298ba68c2cb6c1d1409374e

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

Full Changelog: v2.3.2...v2.4.0

Command center v1.0

29 Oct 12:02
Compare
Choose a tag to compare

It is an optional addon, which can be installed to receive more functionality for your vault-maxi or lm-reinvest via Telegram. You can send commands to change existing parameters without the need of logging into AWS.

What it does

  • it executes certain commands to ease usage of vault-maxi without the need of logging into your AWS account and change some settings
  • it is being achieved by using your vault-maxis’ telegram bot to exchange information. This makes it secure, as you are not directly communicating via an API, which could be an additional attack vector for a hacker
  • it will check every minute through polling of new chat commands from you. Therefore chat id and your username are needed to make sure, the message which command center receives is from you and from nobody else
  • /help is your best friend. It will show you all commands, which the command center is able to execute
  • the command center has no access to your private key/seed. It can only change settings of vault-maxi.

Guide

We wrote a guide for the whole setup process in AWS. If you just want to install the addon, follow this guide and make sure to read the risk-warnings carefully. Command-Center Guide

release hashes

windows / debian:
sha256 hash base64: -
sha256 hash hex: -
macOS:
sha256 hash base64: QE3kN1GUSSVD6wc6mRHVImrVARnml/L33IVsfRQx8bs=
sha256 hash hex: 404de4375194492543eb073a9911d5226ad50119e697f2f7dc856c7d1431f1bb

Tag

command-center/v1.0-rc

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

Full Changelog: v2.3.2...command-center/v1.0

VaultMaxi 2.3.2 incl. command-center RC

24 Sep 15:29
e735b4a
Compare
Choose a tag to compare

this is a optional update including additional safety measure to prevent errors due to ocean inconsistencies.

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: OZCjItHmddyOmZe5qK1XHzofFibHm5nB/wiaJankXBs=
sha256 hash hex: 3990a322d1e675dc8e9997b9a8ad571f3a1f1626c79b99c1ff089a25a9e45c1b
macOS:
sha256 hash base64: -
sha256 hash hex: -

Changes

  • added consistency checks
  • always remove exposure if chain thinks the vault may liquidate, but maxi doesn't reduce exposure

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

Addon command-center

It is an optional addon, which can be installed to receive more functionality for your vault-maxi or lm-reinvest via Telegram. You can send commands to change existing parameters without the need of logging into AWS.

What it does

  • it executes certain commands to ease usage of vault-maxi without the need of logging into your AWS account and change some settings
  • it is being achieved by using your vault-maxis’ telegram bot to exchange information. This makes it secure, as you are not directly communicating via an API, which could be an additional attack vector for a hacker
  • it will check every minute through polling of new chat commands from you. Therefore chat id and your username are needed to make sure, the message which command center receives is from you and from nobody else
  • /help is your best friend. It will show you all commands, which the command center is able to execute
  • the command center has no access to your private key/seed. It can only change settings of vault-maxi.

Guide

We wrote a guide for the whole setup process in AWS. If you just want to install the addon, follow this guide and make sure to read the risk-warnings carefully. Command-Center Guide

release hashes

windows / debian:
sha256 hash base64: -
sha256 hash hex: -
macOS:
sha256 hash base64: 9jvAhWGO8Ed1SBrrR5z9xAH0n4g9DXgBgzfZJaub5sM=
sha256 hash hex: f63bc085618ef04775481aeb479cfdc401f49f883d0d78018337d925ab9be6c3

Tag

command-center/v1.0-rc

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

  • Feature/command center fixes by @Krysh90 in #73
  • [command-center] added set pair command for lm-reinvest by @Krysh90 in #83
  • maxi: added logs for state of vault and consistency checks @kuegi in #84
  • [command-center] version bump by @Krysh90 in #85
  • Fix/reduced cleanup and betterconsistency buffer by @kuegi in #86
  • [command center] feedback by @Krysh90 in #87
  • command-center rc update by @Krysh90 in #88
  • Fix/consistency on empty vault by @kuegi in #89
  • pump template version by @kuegi in #91

Full Changelog: v2.3...v2.3.2

VaultMaxi 2.3

16 Sep 20:39
67bd18d
Compare
Choose a tag to compare

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