Skip to content

findonflow/blocto-decode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Blocto Wallet Decrypt Helper

A tiny, static web page to decrypt an encrypted Blocto keystore and show the private key locally in your browser.

What it does

  • Accepts either:
    • An encrypted keystore JSON file, or
    • A recovery PDF that contains the keystore JSON as text.
  • Extracts the JSON (using pdf.js for PDFs).
  • Uses ethers in the browser to run:
    • Wallet.fromEncryptedJson(json, password)
  • Displays the wallet private key without the leading 0x.

No data is sent to any server; everything happens in the browser.

Requirements

  • A modern browser (Chrome, Firefox, Edge, Safari).
  • The repo files on disk (no build step needed).

Usage

  1. Open index.html directly in your browser
    • On macOS you can usually just double-click it in Finder.
  2. In the Encrypted wallet file (JSON or PDF) field, choose either:
    • Your encrypted keystore JSON file, or
    • Your recovery PDF (e.g. exported/emailed recovery document).
  3. Enter the wallet password in the password field.
  4. Click Decrypt Wallet.
  5. If decryption is successful, the Private key textarea will show the private key (hex string without 0x).

If decryption fails, a status message is shown with the error message from ethers.

Security notes

  • This tool is intended for local, one-off recovery.
  • Only run it on a machine and browser you trust.
  • Close the page and clear the private key once you are done.
  • Never share the decrypted private key with anyone.

About

Small single html page that will take a pdf or json and decode your private key

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages