Skip to content

Instantly share code, notes, and snippets.

@bonustrack
Last active April 23, 2019 20:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bonustrack/ba0202345808a1d1216c1ec02668c0b1 to your computer and use it in GitHub Desktop.
Save bonustrack/ba0202345808a1d1216c1ec02668c0b1 to your computer and use it in GitHub Desktop.
Generate secret hash for SteemConnect application
const crypto = require('crypto');
const secret = 'random string';
const secretHash = crypto.createHash('sha256').update(secret).digest('hex');
console.log('Secret hash', secretHash);
@bonustrack
Copy link
Author

Once you've generated the secret hash, you need to add it on your app account json_metadata field using this page: https://steemconnect.com/sign/profile-update?secret=SECRET_HASH

@shastasublime
Copy link

where do i put this code not working for me

@shastasublime
Copy link

do i need th link script to it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment