HOW TO: get Your Private Posting Key (the easy way)steemCreated with Sketch.

in #steemiteducation7 years ago

PPK.png

Private Posting Key (PPK) is part of role delegation toolkit of Steemit. PPK authority over your account is limited to posting action, unlike your WIF key, which grants unrestricted access to your account and which you use to access Steemit site. Whoever has your WIF has full control over your account. For this reason, please do not use your WIF key outside of Steemit platform.

By using PPK however you get to enjoy the benefits of growing number of sites, such as

dtube.video
dsound.audio
dmania.lol

which enrich Steemit ecosystem, while maintaining control of your account.

In this short article, I’ll show you how to get your Private Posting Key in under 20 seconds.

Disclaimer: Please note that this article is for educational purposes, designed to show the use of steem Js official library and this code is provided "as is" and any expressed or implied warranties , are disclaimed. In no event shall I, or any of their contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption). Please store and use your access keys in a secure environment!

We’ll be using an official steem js library CDN link and online Js sandbox environment called Fiddle to generate the Private Posting Key.

  • Step 1: Go to https://jsfiddle.net/
  • Step 2: In the First Quadrant (the one which says HTML) paste Steem CDN link in script tags:
<script src="//cdn.steemjs.com/lib/latest/steem.min.js"></script>
  • Step 3: Right underneath the First Quadrant, you will see another one named Javascript, post this code in there:
function print (callback){
var res = steem.auth.getPrivateKeys('yourSteemitUsername', 'yourWIF');
    callback(res);
};

print(function(keys){
    alert("Your Private Key: "+keys.postingPubkey);
});

  • Step 4: Now substitute 'yourSteemitUsername' and 'yourWIF', to your real credentials, keep the commas in place like so:
function print (callback){
var res = steem.auth.getPrivateKeys('testo', 
'WEqRKWvZNY723Kla2JptLvWPFMiJrH7yVMDFGdWRRcKbZW29sXh7BgymR');
    callback(res);
};

print(function(keys){
    alert("Your Private Key: "+keys.postingPubkey);
});

  • Step 5: Finally, at the top right locate the “Run” button and click it. After a short while, you will see a popup with your Private Posting Key. That’s it!

Here is a small shortclip of steps taken:
PPK-min.gif

follow-min.png

Sort:  

This seems like a scam to get people's Steemit login credentials?