Complete bitcoin cold wallet, address and secret, text & QR
Version 1.1.0 (18.1 KB) by
Marcelino Ferri
Script solving all the operations required for the generation of an offline BTC "cold wallet".
The main functions (BTCwallet and QuarkBTCwallet) perform all the operations required for the generation of a bitcoin "cold wallet", from a simple "entropy pump" dependent on mouse movement to the offline generation of QR codes for the bitcoin address and secret key. The included scripts, which can be invoked individually, perform the SHA256 and ripemd160 hashes, the ECDSA cryptography in the secp256k1 curve as well as the bi-directional hex to base58 conversion.
QuarkBTCwallet assigns, for each bitcoin address, three paper "Quark" wallets each containing two-thirds of the private key. This minimizes the risk, because even if one of the three paper wallets is lost or stolen, we don't lose our bitcoins as long as we keep two out of three cold wallets.
The inclusion of QRencoder.m and the detailed explanations in the "Entropy bomb" section of BTCwallet.m are intended to make everything transparent and secure, by not relying on third party applications or online connections.
Cite As
Marcelino Ferri (2026). Complete bitcoin cold wallet, address and secret, text & QR (https://www.mathworks.com/matlabcentral/fileexchange/76562-complete-bitcoin-cold-wallet-address-and-secret-text-qr), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014a
Compatible with R2010a and later releases
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.1.0 | We have added an extra layer of security, evaluating if your version of Matlab is running smoothly. If there is a version conflict, the execution is stopped. The mathematical linkage between your public/private wallets is guaranteed. |
||
| 1.0.2 | Adding an image, no changes in code |
||
| 1.0.1 | Small details affecting figure numbers, comments in the script, names of functions, etc. Equally functional than version 1.0.0 |
||
| 1.0.0 |
