Created
June 28, 2013 08:34
-
-
Save david4096/5883334 to your computer and use it in GitHub Desktop.
Verify bitcoin signed message bookmarklet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head></head> | |
| <body>Drag this to the bookmarks bar: | |
| <a href="javascript:var headID = document.getElementsByTagName('head')[0]; | |
| var newScript = document.createElement('script'); | |
| newScript.type = 'text/javascript'; | |
| newScript.onload=scriptLoaded; | |
| newScript.src = 'https://gist.github.com/david4096/5883149/raw/c59756fc1f33b9fe39a4b3e951c59ae4e198b475/verify.js?'+Math.random(); | |
| headID.appendChild(newScript); | |
| function scriptLoaded() { | |
| message = prompt('paste message');signature = window.getSelection();address=verify_message(signature, message);alert(address);console.log(address) | |
| }">Verify Signature</a> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment