Skip to content

Conversation

@mullroy
Copy link

@mullroy mullroy commented Dec 14, 2023

[dero-wallet-cli]
[All functionality was tested and creates no crashes]
These patches allow the split of your wallet into an online part and an offline (cold storage) part.
The offline wallet only holds your secret key. The offline wallet creates a 'viewing key' and the 'registration transaction' which are used to setup its online counterpart wallet.
The online wallet contains your public Dero address and public key. It can display your account balance and transaction history. It can also create a transaction but not authorise (sign) it.
The assistance of the offline wallet is required to decrypt blockchain data, in order to reconstruct the transaction history and account balance, as well as to sign transactions that were created on the online (viewing) wallet.
This code forms a stepping stone towards integration with the Pirate+ hardware wallet, but can run completely independent as is.
Since the data files has to be exchanged between the online (viewing) and offline (signing) wallet for every transaction in your wallet, this can become quite impractical in a production environment where the offline wallet is disconnected & remote from the online wallet.
For testing purposes the online & offline wallet can be run on the same machine, where they'll exchange data with one another locally.
The command line help was expanded to document the new commandline options to setup the 2 wallet roles (online & offline).
A detailed help file is located in the top level of the project: README_offline_transaction_signing.md that takes you through al the steps to setup and use the split wallet topology.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant