Hi all,
I wrote a simple tool for expanding
minikeys.
Given the minikey, it outputs the corresponding address, and private key in wallet import format.
Example:
iex> Minikey.expand("S4b3N3oGqDqR5jNuxEvDwf")
[
mode: :uncompressed,
minikey: "S4b3N3oGqDqR5jNuxEvDwf",
address: "1GAehh7TsJAHuUAeKZcXf5CnwuGuGgyX2S",
private_key: "5HueCGU8rMjxEXxiPuD5BDku4MkFqeZyd4dZ1jvhTVqvbTLvyTJ",
raw_public_key: "04d0de0aaeaefad02b8bdc8a01a1b8b11c696bd3d66a2c5f10780d95b7df42645cd85228a6fb29940e858e7e55842ae2bd115d1ed7cc0e82d934e929c97648cb0a",
raw_private_key: "0c28fca386c7a227600b2fe50b7cae11ec86d3bf1fbe471be89827e19d72aa1d"
]
This tool is only 100 lines of code, has no dependencies other than the programming language, and can be run completely offline.
https://codeberg.org/objectinspace/minikey