UNDELEGATE Steem Power Using The LINUX CLI - Post #34
Foodtrip galore!!! Head-over to @hippiemom for my wife’s recipe for this jackfruit-banana yummy……...
THIS IS MY SIMPLE TO FOLLOW TUTORIAL ON HOW TO UNDELEGATE STEEM POWER
It may be beneficial if you head over to my post regarding adding STEEMIT users thru the linux cli, link below.
I have to dig really deeper on this approach to UNDELEGATE (after delegating of course!) Steem Power. Methods thru Web sites and some fuzzy python approach that even I found to be insufficient are the very first to appear during a Google search for the said undelegation procedure.
Really, this is vague here, I will try my best to make it very clear in this post.
In my past post on how to add STEEMIT users thru the linux cli, immediately after the successful execution of adding a user, the STEEM POWER of the delegator (the one who gave the SP) is automatically deducted 25 SP in favor of the delegatee (the one who was given the SP). This amount is already huge for a STEEMIAN who just wants to add new users.
One way to at least reset the delegator’s SP count is to undelegate the SP as deducted automatically. Why undelegate in the first place? To add more users of course!!! Haha. No problem undelegating really because the method to delegate is now as easy as type and enter on the keyboard because the account is already created.
I would like to remind again that my post in creating new users will be very important before moving on at this point.
UNDELEGATING SP: A VERY CLEAR HOWTO
OK, here we go, I will do this step by step:
-1. Read my past post regarding adding new users (link below). Open the linux terminal and make sure you are the root user by issuing the command:
*su -
Be sure to input your root password to be able to successfully enter the console as root (red username on the left).
--
-2. Enter the python environment by issuing this command:
*python3
You will know that you are at the python console because the character on the left will turn into 3x greater than symbol (>>>).
--
-3. Issue the command below to import the Steem libraries:
*from steem import Steem
The above command will make sure that any python command pertaining to the STEEM blockchain will be parsed and understood by the python environment.
--
-4. Supply your private posting key and private active key by issuing the below command:
*s=Steem(keys=['YOUR-PRIVATE-POSTING-KEY','YOUR-PRIVATE-ACTIVE-KEY'])
In the above command, be sure to replace the keys as described (CAPITALS), do not remove any other characters.
--
-5. This next command will undelegate the SP as auto-delegated earlier when one creates a new user:
*s.delegate_vesting_shares('DELEGATEE-HERE','0.000000 VESTS','DELEGATOR-HERE')
*quit()
Replace the usernames as described (in caps) and the VESTS value are all zeros, with 6x zeros after the decimal point. When this command is executed after you press “Enter”, some results are displayed indicating a successful operation on the STEEM blockchain. Be sure to quit on the python console after the undelegation.
I will say this last to add to the clarity of this tutorial:
“DELEGATING 0.000000 VESTS WILL CANCEL ANY SP DELEGATED TO AN ACCOUNT AS PREVIOUSLY TRANSFERRED”
Ahhhh, how nice it will be to swim in the clear waters!
Happy STEEMING to everyone!
Previous Post URL:
https://steemit.com/knowledge/@lightingmacsteem/2sesfi-i-t-spices-the-linux-way