You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deezy tools helps manage the users' liquidity. Deezy-auto-earn is a way for users to monetize excess liquidity or profit from arbitrage on the network. This solution will align deezy to cater to both users. I am looking to add some flexibility for the users when opening a channel. Currently, the config.json has limitations that restrict the user's options:
The current config.json requires the user to have exactly the amount specified in DEEZY_CHANNEL_SIZE_SATS to open a channel, which doesn't allow for flexibility.
The current config.json can be optimized to better accommodate users who wish to maximize profits by opening the largest possible channel, taking into account onchain fees, as bigger channels can be more profitable.
The current config.json doesn't give the user the flexibility to manage their funds as they see fit, as they might want to sell excess liquidity while keeping a certain amount of funds onchain. They might want to avoid unwanted channel openings when they have funds below the ”OPEN_CHANNEL_WHEN_LOCAL_SATS_BELOW" and above "DEEZY_CHANNEL_SIZE_SATS”.
Solution:
Make the following edits to the config.json to allow some flexibility
Add: "MAX_CHANNEL_SIZE_SATS":
Add: "MIN_CHANNEL_SIZE_SATS":
Add: "RESERVE_ON_CHAIN_SATS":
remove: "OPEN_CHANNEL_WHEN_LOCAL_SATS_BELOW"
remove: "DEEZY_CHANNEL_SIZE_SATS"
By adding the above to the config.json, a user of Deezy-auto-earn can utilize the "MIN" and "MAX" channel size settings it allow more flexibility around opening a channel and utilizing the upper bound. If "MAX" is left blank it should open the largest possible (Keeping in mind the reserves and if the "MIN" is not met no channel will open). It is similar to Deezy's auto-channel-opener where you can open a channel that maximizes oncain funds, however you are adding a range component that allows for a little more control of the channel's size. Other users can also keep more on-chain funds as reserves, and use what's left over to open to Deezy, thus draining any excess liquidity.
The text was updated successfully, but these errors were encountered:
This has been implemented on my fork here https://github.com/jtymoszczuk/deezy-auto-earn. Issue/feature request can be closed. I can submit a pull request if you like. Either way, I was happy to get this done.
Deezy tools helps manage the users' liquidity. Deezy-auto-earn is a way for users to monetize excess liquidity or profit from arbitrage on the network. This solution will align deezy to cater to both users. I am looking to add some flexibility for the users when opening a channel. Currently, the config.json has limitations that restrict the user's options:
The current config.json requires the user to have exactly the amount specified in DEEZY_CHANNEL_SIZE_SATS to open a channel, which doesn't allow for flexibility.
The current config.json can be optimized to better accommodate users who wish to maximize profits by opening the largest possible channel, taking into account onchain fees, as bigger channels can be more profitable.
The current config.json doesn't give the user the flexibility to manage their funds as they see fit, as they might want to sell excess liquidity while keeping a certain amount of funds onchain. They might want to avoid unwanted channel openings when they have funds below the ”OPEN_CHANNEL_WHEN_LOCAL_SATS_BELOW" and above "DEEZY_CHANNEL_SIZE_SATS”.
Solution:
Make the following edits to the config.json to allow some flexibility
Add: "MAX_CHANNEL_SIZE_SATS":
Add: "MIN_CHANNEL_SIZE_SATS":
Add: "RESERVE_ON_CHAIN_SATS":
remove: "OPEN_CHANNEL_WHEN_LOCAL_SATS_BELOW"
remove: "DEEZY_CHANNEL_SIZE_SATS"
By adding the above to the config.json, a user of Deezy-auto-earn can utilize the "MIN" and "MAX" channel size settings it allow more flexibility around opening a channel and utilizing the upper bound. If "MAX" is left blank it should open the largest possible (Keeping in mind the reserves and if the "MIN" is not met no channel will open). It is similar to Deezy's auto-channel-opener where you can open a channel that maximizes oncain funds, however you are adding a range component that allows for a little more control of the channel's size. Other users can also keep more on-chain funds as reserves, and use what's left over to open to Deezy, thus draining any excess liquidity.
The text was updated successfully, but these errors were encountered: