feat: add wipe command

This commit is contained in:
Vlad Stan
2022-08-03 13:50:01 +03:00
parent 5f7537f600
commit 9cbd01d514
3 changed files with 90 additions and 1 deletions
@@ -4,6 +4,7 @@ const COMMAND_PASSWORD_CLEAR = '/password-clear'
const COMMAND_SEND_PSBT = '/psbt'
const COMMAND_SIGN_PSBT = '/sign'
const COMMAND_HELP = '/help'
const COMMAND_WIPE = '/wipe'
const blockTimeToDate = blockTime =>
blockTime ? moment(blockTime * 1000).format('LLL') : ''