octra-labs/webcli — reverse-engineered prompt
Reverse engineered prompt
Build me a lightweight local web wallet for the Octra network. It should run as a small C++17 program that starts a local server, then I can open it in my browser at localhost and manage my wallet from there.
I want the app to work with Octra devnet and mainnet alpha. From the web interface I should be able to create a new wallet or import a private key, protect it with a 6 digit PIN, and save the encrypted wallet locally. On every startup it should ask for the PIN to unlock. The wallet should support sending transactions, showing and encrypting or decrypting balances, and stealth transactions if the network supports them.
Please keep it simple and security focused. Avoid unnecessary third party dependencies, use OpenSSL for wallet encryption, and make the setup easy on Linux, macOS, and Windows. Include scripts or clear commands so a normal user can build it, run it, choose a custom port if needed, and open the browser UI.
Want more depth? Deep Reverse