Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic bond transfer using Livepeer proxy bonding manager #130

Closed
Pon-node opened this issue Feb 7, 2023 · 12 comments
Closed

Automatic bond transfer using Livepeer proxy bonding manager #130

Pon-node opened this issue Feb 7, 2023 · 12 comments

Comments

@Pon-node
Copy link

Pon-node commented Feb 7, 2023

Give a 3 sentence description for your proposal.
Create a script that would transfer staked LPT from main orchestrator to secure wallet using Livepeer Proxy Bonding Manager.Script always leaves 1 LPT staked to keep orchestrator in top 100. Script would eliminate manual calculation and keep everything automated and secure.

Describe the problem you are solving.
Moving staked LPT can be complicated and where is a possibility to make a mistake, more stake you got in your main orchestrator wallet more chances of someone trying to get in to your wallet and move your stake and eth fees away.
Describe the solution you are proposing and how it will have a positive impact on the Livepeer developer ecosystem.
Python script will move your staked LPT tokens to wallet of your choice automatically as soon as you hit threshold that you can set it to whatever you want leaving 1 LPT still bonded in orchestrator's wallet and not dropping out of top 100. Script will move bonded LPT as soon as the round becomes locked reducing your chances to miss out on ETH rewards.
Describe why you are the right team with the capability to build this.
Python Script is already written and in testing stage with my main orchestrator.
Describe the scope of the project including a 3 month timeline and milestones.
Find a way to secure private key in a script.
Modify script to automatically call eth fees and transfer them to wallet address of your selection.
Please estimate hours spent on project based on the above and how much funding you will need.
20 hours, $100 an hour
image 1
image

@hansy
Copy link
Collaborator

hansy commented Feb 8, 2023

Hi @Pon-node! Thanks for applying for a grant! Have you by any chance gotten feedback from the orchestrator community about this script? If there's an existing discussion somewhere on this, let me know and I'll be happy to take a look.

@Pon-node
Copy link
Author

Pon-node commented Feb 9, 2023

Hi Hansy,
I've started a conversation on discrod.
https://discord.com/channels/423160867534929930/429350403272998913/1072951087725817927

@hansy
Copy link
Collaborator

hansy commented Feb 15, 2023

@Pon-node Just catching up with this. Is the project already completed? I see the Github repo for the script: https://github.com/Pon-node/Lpt-bond-transfer. Are you looking for a retroactive grant?

@Pon-node
Copy link
Author

Hi @hansy ,
Thanks for your reply. Yes script is live and some of livepeer user already using. I'll be working on it and adding couple more features in near future.
Retroactive grant would be great if that's ok with you ?

@hansy
Copy link
Collaborator

hansy commented Feb 15, 2023

@Pon-node I see. I don't believe we do retroactive grants, but let me ping the rest of the committee about this and see what they say. Do you by any chance have a record anywhere of us approving this grant (perhaps in Discord or somewhere)? Will be able to make a stronger case for your work.

@Pon-node
Copy link
Author

@hansy i know multiple grants has been submitted and approved after work has been completed and tested.

@Pon-node
Copy link
Author

Pon-node commented Mar 1, 2023

Hi @hansy , do we have any update?

@hansy
Copy link
Collaborator

hansy commented Mar 1, 2023

@Pon-node Sorry for the delay on this. Are any of the orchestrators using your script? I'd be able to make a stronger case for a retroactive grant if there's usage from the orchestrator community.

@papabear99
Copy link

I've been using the script since Pon had the first version done. It's great not having to manually transfer stake to my hardware wallet, no more stress worrying did I put everything in the right place and no more trying to time the transfer when a round is locked and missing out on rewards for my externally delegated wallet. I know several other Orchs are use it as well.

@RyanC92
Copy link

RyanC92 commented Mar 1, 2023

I've been transferring my stake manually for months and doing it through the contract or the python script I had before was stressful. I've been using his script for about a month, I have my threshold a little high so it will run every few weeks but it takes the load off and since it does the conversion for me from Wei I don't have to worry about messing up! Big win in my opinion! Thanks pon!

@AuthorityNull
Copy link

This is an extremely useful script that adds hands-off security to our nodes. Moving stake away from our main orchestrator wallet is important for keeping targets off our backs and the script handles that for us. I love it 👌

@ad-astra-video
Copy link

Implemented this script and appreciate how it automates this task to secure the LPT my orchestrator node earns. This enhances the livepeer orchestrator by allowing the orchestrator wallet to be a hot wallet that is used to operate the node and allows safe storage of LPT on a hardware wallet without manual contract interaction.

@Pon-node helped me work through some python related install issues with and will be updated on the readme. Issues were related to python web3 version incompatibilities.

@hansy hansy closed this as completed Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants